Add iszero.
[glibc.git] / ChangeLog
blob6cbe4303d72469d44aa35249590b8ab58b4e4558
1 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
4         macro.
5         * math/libm-test.inc (iszero_test_data): New array.
6         (iszero_test): New function.
7         (main): Call iszero_test.
8         * manual/arith.texi (Floating Point Classes): Document iszero.
9         * manual/libm-err-tab.pl: Update comment on interfaces without
10         ulps tabulated.
12 2016-09-23  Zack Weinberg  <zackw@panix.com>
14         * scripts/check-installed-headers.sh: New script.
15         * Rules: In each directory that defines header files to be installed,
16         run check-installed-headers.sh on them as a special test.
17         * Makefile: Likewise for the headers installed at top level.
19         * include/aliases.h, include/alloca.h, include/argz.h
20         * include/arpa/nameser.h, include/arpa/nameser_compat.h
21         * include/elf.h, include/envz.h, include/err.h
22         * include/execinfo.h, include/fpu_control.h, include/getopt.h
23         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
24         * include/link.h, include/malloc.h, include/mcheck.h
25         * include/mntent.h, include/netinet/ether.h
26         * include/nss.h, include/obstack.h, include/printf.h
27         * include/pty.h, include/resolv.h, include/rpc/auth.h
28         * include/rpc/auth_des.h, include/rpc/auth_unix.h
29         * include/rpc/clnt.h, include/rpc/des_crypt.h
30         * include/rpc/key_prot.h, include/rpc/netdb.h
31         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
32         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
33         * include/rpc/rpc_msg.h, include/rpc/svc.h
34         * include/rpc/svc_auth.h, include/rpc/xdr.h
35         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
36         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
37         * include/rpcsvc/ypupd.h, include/shadow.h
38         * include/stdio_ext.h, include/sys/epoll.h
39         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
40         * include/sys/prctl.h, include/sys/profil.h
41         * include/sys/statfs.h, include/sys/sysctl.h
42         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
43         * sysdeps/arm/nacl/include/bits/setjmp.h
44         * sysdeps/mips/include/sys/asm.h
45         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
46         * sysdeps/unix/sysv/linux/include/sys/timex.h
47         * sysdeps/x86/fpu/include/bits/fenv.h:
48         Add #ifndef _ISOMAC guard around internal declarations.
49         Add multiple-inclusion guard if not already present.
51 2016-09-23  Zack Weinberg  <zackw@panix.com>
53         * sysdeps/generic/sys/ucontext.h
54         * sysdeps/arm/sys/ucontext.h
55         * sysdeps/i386/sys/ucontext.h
56         * sysdeps/m68k/sys/ucontext.h
57         * sysdeps/mips/sys/ucontext.h
58         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
59         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
60         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
61         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
62         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
63         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
64         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
65         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
66         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
67         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
68         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
69         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
70         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
71         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
72         Include both bits/sigcontext.h and bits/sigstack.h.
73         Fix grammar error in comment, if present.
75         * bits/sigstack.h
76         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
77         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
78         * sysdeps/unix/sysv/linux/bits/sigstack.h
79         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
80         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
81         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
82         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
83         * bits/sigcontext.h
84         * sysdeps/mach/hurd/i386/bits/sigcontext.h
85         * sysdeps/unix/sysv/linux/bits/sigcontext.h
86         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
87         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
88         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
89         as well as signal.h, if this was not already allowed.  Request
90         definition of size_t if necessary.  Minimize semantically-null
91         differences across files.
93 2016-09-23  Zack Weinberg  <zackw@panix.com>
95         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
96         Remove all logic conditional on __need macros.  Move all the
97         conditionally defined types to their own headers...
98         * time/bits/types/clock_t.h: Define clock_t here.
99         * time/bits/types/clockid_t.h: Define clockid_t here.
100         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
101         * time/bits/types/struct_timespec.h: Define struct timespec here.
102         * time/bits/types/struct_timeval.h: Define struct timeval here.
103         * time/bits/types/struct_tm.h: Define struct tm here.
104         * time/bits/types/time_t.h: Define time_t here.
105         * time/bits/types/timer_t.h: Define timer_t here.
106         * time/Makefile: Install the new headers.
108         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
109         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
110         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
111         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
112         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
113         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
114         * sysdeps/unix/sysv/linux/bits/resource.h
115         * sysdeps/unix/sysv/linux/bits/timex.h
116         * sysdeps/unix/sysv/linux/mips/bits/resource.h
117         * sysdeps/unix/sysv/linux/net/ppp_defs.h
118         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
119         * sysdeps/unix/sysv/linux/sys/acct.h
120         * sysdeps/unix/sysv/linux/sys/timerfd.h
121         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
122         * time/sys/time.h, time/sys/timeb.h
123         Use the new bits/types headers.
125         * include/time.h: Remove __need logic.
126         * include/bits/time.h
127         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
128         * include/bits/types/time_t.h, include/bits/types/timer_t.h
129         * include/bits/types/struct_itimerspec.h
130         * include/bits/types/struct_timespec.h
131         * include/bits/types/struct_timeval.h
132         * include/bits/types/struct_tm.h:
133         New wrapper headers.
135 2016-09-23  Zack Weinberg  <zackw@panix.com>
137         * sysdeps/mach/hurd/net/if_ppp.h
138         * sysdeps/unix/sysv/linux/net/if_ppp.h:
139         Only define struct ifpppstatsreq and struct ifpppcstatsreq
140         if __USE_MISC is defined, to ensure struct ifreq is declared.
142         * inet/netinet/ether.h: Condition all function prototypes
143         on __USE_MISC, to ensure struct ether_addr is declared.
145         * socket/bits/types/struct_osockaddr.h: New header.
146         * include/bits/types/struct_osockaddr.h: New wrapper.
147         * socket/Makefile: Install the new header.
148         * socket/sys/socket.h, inet/protocols/talkd.h:
149         Refer to bits/types/struct_osockaddr.h for the definition of
150         struct osockaddr.
152 2016-09-23  Zack Weinberg  <zackw@panix.com>
154         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
155         * inet/protocols/routed.h, inet/protocols/talkd.h
156         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
157         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
158         * sysdeps/generic/netinet/if_ether.h
159         * sysdeps/generic/netinet/in_systm.h
160         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
161         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
162         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
163         * sysdeps/mach/hurd/net/if_arp.h
164         * sysdeps/mach/hurd/net/if_ppp.h
165         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
166         * sysdeps/unix/sysv/linux/bits/in.h
167         * sysdeps/unix/sysv/linux/net/ethernet.h
168         * sysdeps/unix/sysv/linux/net/if_arp.h
169         * sysdeps/unix/sysv/linux/net/if_ppp.h
170         * sysdeps/unix/sysv/linux/net/if_shaper.h
171         * sysdeps/unix/sysv/linux/net/route.h
172         * sysdeps/unix/sysv/linux/netinet/if_ether.h
173         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
174         * sysdeps/unix/sysv/linux/netinet/if_tr.h
175         * sysdeps/unix/sysv/linux/netipx/ipx.h
176         * sysdeps/unix/sysv/linux/sys/acct.h
177         * include/arpa/nameser.h, include/resolv.h:
178         Change all uses of u_char to unsigned char,
179         u_short and ushort to unsigned short, u_int and uint to unsigned int,
180         u_long and ulong to unsigned long, u_int8_t to uint8_t,
181         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
182         and u_int64_t and u_quad_t to uint64_t.
184         * mach/sys/reboot.h: Remove two casts of integer literals
185         to the types they already have.
187         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
188         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
189         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
190         from referring to 'unsigned char' to 'uint8_t' for consistency with
191         the macro definition below.
193         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
194         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
195         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
196         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
197         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
198         * sysdeps/unix/sysv/linux/sys/acct.h
199         * include/arpa/nameser.h, include/resolv.h:
200         Fix indentation disrupted by mechanical edits.
202         * inet/protocols/talkd.h, resolv/arpa/nameser.h
203         * sysdeps/generic/netinet/in_systm.h
204         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
205         * sysdeps/gnu/netinet/udp.h
206         * sysdeps/unix/sysv/linux/net/ethernet.h
207         * sysdeps/unix/sysv/linux/net/if_arp.h
208         * sysdeps/unix/sysv/linux/net/if_ppp.h
209         * sysdeps/unix/sysv/linux/net/if_shaper.h
210         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
211         * sysdeps/unix/sysv/linux/netinet/if_tr.h
212         * sysdeps/unix/sysv/linux/netipx/ipx.h
213         * sysdeps/unix/sysv/linux/sys/acct.h
214         Include stdint.h for uintNN_t definitions.
215         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
217 2016-09-23  Zack Weinberg  <zackw@panix.com>
219         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
220         * sysdeps/unix/sysv/linux/netrose/rose.h:
221         Include sys/socket.h and netax25/ax25.h.
223         * inet/netinet/icmp6.h, inet/netinet/ip6.h
224         * resolv/arpa/nameser_compat.h:
225         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
227         * sysdeps/unix/sysv/linux/sys/quota.h:
228         Use __caddr_t instead of caddr_t.
229         * sysdeps/unix/sysv/linux/sys/timerfd.h:
230         Use __clockid_t instead of clockid_t.
232         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
234         * argp/argp.h: Check whether _LIBC is defined before expanding it.
235         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
236         expanding it.
238         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
239         Define __glibc_c99_flexarr_available to 1 when the compiler
240         supports C99-compatible flexible array members, 0 otherwise.
241         * sysdeps/unix/sysv/linux/bits/socket.h
242         * sysdeps/mach/hurd/bits/socket.h
243         * bits/socket.h: Use __glibc_c99_flexarr_available in
244         definitions of struct cmsghdr and CMSG_DATA.
246 2016-09-23  Florian Weimer  <fweimer@redhat.com>
248         * manual/nss.texi (NSS Modules Interface): Adjust function return
249         type to enum nss_status.  Document errnop argument.  Clarify
250         h_errnop semantics.  Fix cross-reference formatting.
251         (NSS Module Function Internals): Mention that *errnop needs to be
252         set on failure, but not to zero.
254 2016-09-23  Florian Weimer  <fweimer@redhat.com>
256         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
257         (get_random_name): New functions.
258         (check_wrapper_flags_mode): Use linkat to give the new file a name
259         determined by get_random_name.
260         (do_test): Add calls to test open64 and openat64.
262 2016-09-23  Florian Weimer  <fweimer@redhat.com>
264         * test-skeleton.c: Remove #include <stdarg.h>.
266 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
268         [BZ #19826]
269         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
270         initialization of static TLS entries.
271         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
272         * nptl/allocatestack.c (init_one_static_tls): Likewise.
274 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
276         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
277         _hurd_malloc_fork_prepare.
278         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
279         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
280         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
281         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
282         (_hurd_fork_child_hook): Drop malloc_fork_child.
283         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
284         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
285         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
286         after locking locks (notably hurd_dtable_lock). Call
287         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
288         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
289         __malloc_fork_unlock_child.
290         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
292 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
294         * soft-fp/extendhftf2.c: New.
295         * soft-fp/fixhfti.c: Likewise.
296         * soft-fp/fixunshfti.c: Likewise.
297         * soft-fp/floattihf.c: Likewise.
298         * soft-fp/floatuntihf.c: Likewise.
299         * soft-fp/half.h: Likewise.
300         * soft-fp/trunctfhf2.c: Likewise.
302 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
304         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
305         macro.
306         * math/libm-test.inc (issubnormal_test_data): New array.
307         (issubnormal_test): New function.
308         * manual/arith.texi (Floating Point Classes): Document
309         issubnormal.
310         * manual/libm-err-tab.pl: Update comment on interfaces without
311         ulps tabulated.
313         * sysdeps/generic/stdint.h: Define
314         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
315         <bits/libc-header-start.h> instead of including <features.h>.
316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
349         * manual/arith.texi (Integers): Document these macros for types
350         specified by width properties.
351         * manual/lang.texi (Width of Type): Document these macros for
352         other standard typedefs.
353         * stdlib/tst-width-stdint.c: New file.
354         * stdlib/Makefile (tests): Add tst-width-stdint.
356 2016-09-21  Florian Weimer  <fweimer@redhat.com>
358         [BZ #20016]
359         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
360         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
361         Move ...
362         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
363         ... here, as compatibility symbols in a new file.
364         * resolv/Makefile (libresolv-routines): Add compat-hooks.
365         * resolv/res_init.c (__res_vinit): Adjust member names.
366         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
367         * resolv/resolv.h (res_sendhookact, res_send_qhook)
368         (res_send_rhook): Remove.
369         (struct __res_state): Rename qhook, rhook members.
371 2016-09-21  Florian Weimer  <fweimer@redhat.com>
373         malloc: Use __libc_lock wrappers.
374         * malloc/arena.c (list_lock, free_list_lock): Define using
375         __libc_lock_define_initialized.
376         (arena_lock): Adjust formatting.
377         * malloc/malloc.c (struct malloc_state): Define mutex using
378         __libc_lock_define.
379         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
380         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
381         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
382         (mutex_unlock, mutex_trylock): Remove.
383         (__pthread_initialize): Remove unused macro.
384         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
385         (mutex_unlock, mutex_trylock): Remove.
387 2016-09-21  Florian Weimer  <fweimer@redhat.com>
389         [BZ #20592]
390         Remove RR type classification macros.
391         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
392         (ns_t_udp_p, ns_t_xfr_p): Remove.
394 2016-09-21  Florian Weimer  <fweimer@redhat.com>
396         Remove misleading version information.
397         * resolv/arpa/nameser.h (__NAMESER): Remove.
398         * resolv/arpa/nameser_compat.h (__BIND): Remove.
400 2016-09-21  Florian Weimer  <fweimer@redhat.com>
402         Remove the always-defined BIND_4_COMPAT macro.
403         * resolv/arpa/nameser.h: Unconditionally include
404         <arpa/nameser_compat.h>.
405         (BIND_4_COMPAT): Remove.
406         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
408 2016-09-21  Florian Weimer  <fweimer@redhat.com>
410         [BZ #20591]
411         Remove obsolete DNSSEC support.
412         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
413         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
414         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
415         (ns_verify_tcp, ns_verify_tcp_init): Remove.
416         (ns_cert_types): Add comment.
417         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
418         separately.
419         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
420         (dst_s_dns_key_id): Remove.
421         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
422         variables.
424 2016-09-21  Florian Weimer  <fweimer@redhat.com>
426         [BZ #20524]
427         * manual/string.texi (String/Array Comparison): Clarify the
428         strverscmp behavior.
430 2016-09-21  Florian Weimer  <fweimer@redhat.com>
432         * test-skeleton.c (xasprintf): Add function.
433         * io/tst-open-tmpfile.c: New test.
434         * io/Makefile (tests): Add it.
436 2016-09-21  Florian Weimer  <fweimer@redhat.com>
438         Avoid running $(CXX) during build to obtain header file paths.
439         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
440         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
441         * Makerules (cstdlib, cmath): Remove variables.  Use
442         $(c++-cstdlib-header), $(c++-cmath-header) instead.
443         * configure: Regenerate.
445 2016-09-21  Florian Weimer  <fweimer@redhat.com>
447         * Makeconfig (all-object-suffixes): Include .op only if
448         $(build-profile).
450 2016-09-21  Florian Weimer  <fweimer@redhat.com>
452         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
453         conditionals.  Do not define PATH_MAX.
455 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
457         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
458         all signals when executing the clone vfork child.
459         (SIGALL_SET): Remove macro.
461         * nptl/Makefile (tests): Add tst-exec5.
462         * nptl/tst-exec5.c: New file.
463         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
464         asynchronous cancellation.
466 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
468         * hurd/exc2signal.c: #include <hurd/signal.h>
469         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
470         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
471         accordingly.
472         * mach/mach_error.c (mach_error): Fix old-style function definition.
473         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
475 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
477         * math/Makefile (libm-calls): Remove s_nanF.
478         (gen-libm-calls): Add s_nanF.
480         * math/s_nan.c: Refactor into ...
481         * math/s_nan_template.c: New file.
483         * math/s_nanf.c: Removed.
484         * math/s_nanl.c: Removed.
485         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
486         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
488         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
489         (LDOUBLE_nanl_libm_version): New macro.
491         * sysdeps/generic/math-type-macros-double.h:
492         (M_STRTO_NAN): New macro.
493         * sysdeps/generic/math-type-macros-float.h: Likewise.
494         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
496         * sysdeps/generic/math-type-macros.h: Document
497         M_STRTO_NAN.
499 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
501         * math/s_nanf.c: Remove __nanf undef.
502         * math/s_nan.c: Remove __nan undef.
503         * math/s_nanl.c: Remove __nanl undef.
505         * sysdeps/generic/math_private.h (__nan): Remove macro
506         override.
507         (__nanf): Likewise.
508         (__nanl): Likewise.
510 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
512         * math/Makefile (gen-all-calls): New variable.
513         (generated): Replace gen-libm-calls with gen-all-calls.
514         (gen-libm-templates.stmp): Likewise.  Also, ensure
515         the output directory exists or is created and add
516         dependency on the Makefile.
517         (calls): Move s_ldexpF into gen-calls.
518         (gen-calls): New variable.
520         * math/s_ldexpf.c: Removed.
521         * math/s_ldexpl.c: Removed.
522         * math/s_ldexp.c: Refactored into ...
523         * math/s_ldexp_template.c: New file.
525         * sysdeps/generic/math-type-macros-double.h: Remove
526         redundant fall-through definition of declare_mgen_alias.
527         (declare_mgen_alias_2): New macro.
529         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
530         New macro for function aliased to two exported symbols.
532         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
533         new template file.
534         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
536 2016-09-20  Florian Weimer  <fweimer@redhat.com>
538         * Makeconfig (all-object-suffixes): Remove .og.
539         * Makerules (elide-routines.og): Remove.
540         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
541         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
542         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
544 2016-09-20  Florian Weimer  <fweimer@redhat.com>
546         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
547         .os objects.
549 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
551         [BZ #20615]
552         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
553         fpu directory by non-fpu.
554         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
555         on non-fpu directory from a fpu directory.
557 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
559         * include/limits.h: Define
560         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
561         <bits/libc-header-start.h> instead of including <features.h>.
562         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
563         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
565         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
566         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
568         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
569         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
571         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
572         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
573         * manual/lang.texi (Width of Type): Document these macros.
574         * stdlib/tst-width.c: New file.
575         * stdlib/Makefile (tests): Add tst-width.
577 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
579         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
580         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
582 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
584         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
585         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
586         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
588 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
590         [BZ #18243]
591         * rt/Makefile (test): Add tst-shm-cancel.
592         * rt/tst-shm-cancel.c: New file.
593         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
595         [BZ #18243]
596         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
597         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
598         definition.
599         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
600         uncontended case.
601         * nptl/sem_wait.c (__new_sem_wait): Likewise.
602         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
603         (tf): Fix check for uncontended case.
604         (do_test): Likewise.
605         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
606         (tf): Fix check for uncontended case.
607         (do_test): Likewise.
608         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
609         (tf): Fix check for uncontended case.
610         (do_test): Likewise.
611         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
612         (tf): Fix check for uncontended case.
613         (do_test): Likewise.
615         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
616         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
618         [BZ #15765]
619         * nptl/Makefile (tests): Add tst-sem16.
620         * nptl/tst-sem16.c: New file.
621         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
623         * nptl/sem_open.c (sem_open): Init pad value to 0.
624         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
625         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
627 2016-09-15  Florian Weimer  <fweimer@redhat.com>
629         [BZ #20611]
630         * inet/Makefile (routines): Add inet6_scopeid_pton.
631         (tests): Add tst-inet6_scopeid_pton.
632         * inet/inet6_scopeid_pton.c: New file.
633         * inet/net-internal.h: Likewise.
634         * inet/tst-inet6_scopeid_pton.c: New test.
635         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
636         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
637         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
639 2016-09-14  Florian Weimer  <fweimer@redhat.com>
641         Remove support for compiling wrappers with PTW.
642         * sysdeps/nptl/Makeconfig: Drop ptw- support.
643         * nptl/Makefile (pthread-compat-wrappers): Define.
644         (libpthread-routines): Use pthread-compat-wrappers.
645         * sysdeps/unix/sysv/linux/alpha/Makefile
646         (libpthread-routines, libpthread-shared-only-routines): Remove
647         ptw- prefix.
648         * sysdeps/s390/nptl/Makefile
649         (libpthread-routines, libpthread-shared-only-routines): Likewise.
650         * sysdeps/ia64/nptl/Makefile
651         (libpthread-routines, libpthread-shared-only-routines): Likewise.
652         * sysdeps/nacl/Makefile (libpthread-routines): Use
653         pthread-compat-wrappers to filter the routines list instead of the
654         ptw- prefix.
656 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
658         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
659         with L() and remove explicit suffix, convert real literals
660         which can be equivalentally substituted with integers, and
661         transform -L(x) to L(-x).
663         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
664         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
665         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
667         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
668         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
669         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
670         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
671         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
672         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
674         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
675         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
676         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
677         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
678         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
679         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
680         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
681         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
682         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
683         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
684         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
685         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
686         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
687         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
688         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
689         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
690         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
691         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
692         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
693         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
694         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
695         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
696         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
697         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
698         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
699         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
700         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
701         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
702         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
703         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
704         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
705         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
706         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
707         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
708         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
709         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
710         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
711         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
712         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
714 2016-09-13  Florian Weimer  <fweimer@redhat.com>
716         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
718 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
720         * malloc/Makefile (tests): Remove individual static test names
721         and just add all of tests-static.
723         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
725 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
727         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
728         file.
730         * sysdeps/sparc/fpu/fegetmode.c: New file.
731         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
733         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
734         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
736         * sysdeps/s390/fpu/fegetmode.c: New file.
737         * sysdeps/s390/fpu/fesetmode.c: Likewise.
739         * sysdeps/powerpc/fpu/fegetmode.c: New file.
740         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
741         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
742         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
744         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
746         * sysdeps/mips/fpu/fegetmode.c: New file.
747         * sysdeps/mips/fpu/fesetmode.c: Likewise.
749         * sysdeps/m68k/fpu/fegetmode.c: New file.
750         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
752         * sysdeps/ia64/fpu/fegetmode.c: New file.
753         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
755         * sysdeps/hppa/fpu/fegetmode.c: New file.
756         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
758         * sysdeps/arm/fegetmode.c: New file.
759         * sysdeps/arm/fesetmode.c: Likewise.
761         * sysdeps/alpha/fpu/fegetmode.c: New file.
762         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
764         * sysdeps/aarch64/fpu/fegetmode.c: New file.
765         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
767         * math/fegetmode.c: New file.
768         * math/fesetmode.c: Likewise.
769         * sysdeps/i386/fpu/fegetmode.c: Likewise.
770         * sysdeps/i386/fpu/fesetmode.c: Likewise.
771         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
772         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
773         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
774         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
775         declaration.
776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
777         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
778         typedef.
779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
780         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
781         (femode_t): New typedef.
782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
783         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
784         (femode_t): New typedef.
785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
786         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
787         (femode_t): New typedef.
788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
789         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
790         (femode_t): New typedef.
791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
792         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
793         (femode_t): New typedef.
794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
795         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
796         (femode_t): New typedef.
797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
798         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
799         (femode_t): New typedef.
800         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
801         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
802         (femode_t): New typedef.
803         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
804         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
805         (femode_t): New typedef.
806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
807         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
808         (femode_t): New typedef.
809         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
810         declaration.
811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
812         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
813         (femode_t): New typedef.
814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
815         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
816         (femode_t): New typedef.
817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
818         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
819         (femode_t): New typedef.
820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
821         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
822         (femode_t): New typedef.
823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
824         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
825         (femode_t): New typedef.
826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
827         * manual/arith.texi (FE_DFL_MODE): Document macro.
828         (fegetmode): Document function.
829         (fesetmode): Likewise.
830         * math/Versions (fegetmode): New libm symbol at version
831         GLIBC_2.25.
832         (fesetmode): Likewise.
833         * math/Makefile (libm-support): Add fegetmode and fesetmode.
834         (tests): Add test-femode and test-femode-traps.
835         * math/test-femode-traps.c: New file.
836         * math/test-femode.c: Likewise.
837         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
838         alias for __fe_dfl_env.
839         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
840         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
841         (__fe_dfl_mode): Likewise.
842         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
843         version GLIBC_2.25.
844         * sysdeps/nacl/libm.abilist: Update.
845         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
846         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
848         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
852         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
854         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
855         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
858         Likewise.
859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
860         Likewise.
861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
862         Likewise.
863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
864         Likewise.
865         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
866         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
867         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
868         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
869         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
871         Likewise.
872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
873         Likewise.
874         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
878 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
880         [BZ #20495]
881         [BZ #20508]
882         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
883         processors, set Use_dl_runtime_resolve_slow and set
884         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
885         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
886         New.
887         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
888         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
889         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
890         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
891         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
892         if Use_dl_runtime_resolve_opt is set.  Use
893         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
894         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
895         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
896         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
897         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
898         New.
899         (_dl_runtime_resolve_opt): Likewise.
900         (_dl_runtime_profile): Define only if _dl_runtime_profile is
901         defined.
903 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
905         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
906         __libc_memalign with "+ RELA R_390_GLOB_DAT".
908 2016-09-06  Florian Weimer  <fweimer@redhat.com>
910         Convert malloc to __libc_lock.  Automated part, using this Perl
911         s/// command:
912           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
913             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
914         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
915         conversion.
917 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
919         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
920         (linknamespace-symlists-tests): Likewise.
921         (linknamespace-header-tests): Likewise.
923 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
925         [BZ #19810]
926         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
927         * elf/tst-noload.c: New test case.
928         * elf/Makefile (tests): Add tst-noload.
930 2016-09-02  Roland McGrath  <roland@hack.frob.com>
932         * sysdeps/nacl/dup.c: Add libc_hidden_def.
934         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
935         not any more.
937         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
939 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
941         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
942         (do_cos_slow): Likewise.
943         (do_sin): Likewise.
944         (do_sin_slow): Likewise.
945         (slow): Likewise.
946         (slow1): Likewise.
947         (slow2): Likewise.
948         (sloww): Likewise.
949         (sloww1): Likewise.
950         (sloww2): Likewise.
951         (bsloww): Likewise.
952         (bsloww1): Likewise.
953         (bsloww2): Likewise.
954         (cslow2): Likewise.
956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
958         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
959         arguments.  Consolidate input partitioning from callers here.
960         (do_cos_slow): Likewise.
961         (do_sin): Likewise.
962         (do_sin_slow): Likewise.
963         (do_sincos_1): Remove the no longer necessary input partitioning.
964         (do_sincos_2): Likewise.
965         (__sin): Likewise.
966         (__cos): Likewise.
967         (slow1): Likewise.
968         (slow2): Likewise.
969         (sloww1): Likewise.
970         (sloww2): Likewise.
971         (bsloww1): Likewise.
972         (bsloww2): Likewise.
973         (cslow2): Likewise.
975 2016-09-02  Florian Weimer  <fweimer@redhat.com>
977         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
978         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
979         outside of allocated array.
981 2016-09-02  Florian Weimer  <fweimer@redhat.com>
983         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
984         instead of MB_CUR_MAX to avoid variable-length array.
986 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
988         * math/Makefile (libm-calls): Remove k_rem_pio2F.
989         (type-double-routines): Add k_rem_pio2.
990         (type-float-routines): Add k_rem_pio2f.
992         * sysdeps/generic/math_private.h:
993         (__kernel_rem_pio2l): Removed.
995         * math/k_rem_pio2l.c: Removed.
996         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
997         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
998         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
999         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
1001 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1003         * math/Makefile (gen-libm-calls): Add s_fmin
1004         (libm-calls): Remove above.
1006         * math/s_fmin.c: Refactor into ...
1007         * math/s_fmin_template.c: New file.
1009         * math/s_fminf.c: Removed.
1010         * math/s_fminl.c: Removed.
1011         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1012         (LDOUBLE_fmin_libm_version): New macro.
1014         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
1015         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
1017 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1019         * math/Makefile: (gen-libm-calls): Add s_fmax.
1020         (libm-calls): Remove above.
1022         * math/s_fmax.c: Refactor into ...
1023         * math/s_fmax_template.c: New file.
1024         * math/s_fmaxf.c: Removed.
1025         * math/s_fmaxl.c: Removed.
1027         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1028         (LDOUBLE_fmaxl_libm_version): New macro.
1030         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
1031         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
1033         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
1034         s_fmin.c to pick the aarch64 version of the file.
1035         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
1036         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
1038 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1040         * math/Makefile: (gen-libm-calls): Add s_nextdown.
1041         (libm-calls): Remove above.
1043         * math/s_nextdown.c: Refactor into ...
1044         * math/s_nextdown_template.c: New file.
1045         * math/s_nextdownf.c: Removed.
1046         * math/s_nextdownl.c: Removed.
1048         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
1050 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1052         * math/Makefile (gen-libm-calls): Add s_fdim.
1053         (libm-calls): Move to above.
1055         * math/s_fdim.c: Renamed and refactored into to ...
1056         * math/s_fdim_template.c: New file.
1057         * math/s_fdiml.c: Removed.
1058         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
1059         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
1061         * sysdeps/generic/math-type-macros-double.h:
1062         (declare_mgen_alias): Don't declare if already declared.
1063         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
1064         Likewise.
1066         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1067         (declare_mgen_alias): Don't declare if already declared.
1068         (M_LIBM_NEED_COMPAT): Likewise.
1069         (declare_mgen_libm_compat): Likewise.
1070         (LDOUBLE_fdiml_libm_version): New macro.
1072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1073         Include math/s_fdim.c now that ldbl-opt version is not needed.
1074         (declare_mgen_alias): New macro to disable aliasing.
1076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
1077         (declare_mgen_alias): Likewise.
1078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
1079         (declare_mgen_alias): Likewise.
1080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
1081         (declare_mgen_alias): Likewise.
1082         (M_LIBM_NEED_COMPAT): Likewise.
1084 2016-09-01  Florian Weimer  <fweimer@redhat.com>
1086         [BZ #20525]
1087         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
1088         Include <linux/quota.h>.
1089         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
1090         and btodb.
1091         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
1092         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
1093         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
1094         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
1095         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
1096         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
1097         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
1098         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
1099         types.
1100         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
1101         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
1103 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1105         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
1106         (gammal_positive): Fix spacing.
1107         (__ieee754_gammal_r): Likewise.
1109 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1111         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
1112         (_Float128): Define as long double, always.
1113         (L): Apply long double type suffix, always.
1115         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
1116         _Float128, excepting comments.
1118         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1119         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1120         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1123         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1124         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1125         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1126         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1127         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
1128         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1129         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1130         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1131         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1132         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1133         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1134         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1135         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1136         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1137         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1138         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1139         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
1140         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1141         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1142         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1143         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1144         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1145         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1146         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1147         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1148         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1149         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1150         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1151         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1152         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1153         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1154         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1155         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1156         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1157         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1158         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1159         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1160         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1161         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1162         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1163         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1164         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1165         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1166         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1167         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1168         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1169         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1170         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1171         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1172         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
1173         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1174         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1175         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1178         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1179         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1180         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1181         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1182         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1183         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1184         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1185         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1187         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
1188         _Float128, and include math_private.h.
1189         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
1192         long double semantics.
1193         (_Float128): Likewise.
1194         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
1195         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
1196         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
1197         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
1199 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1201         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
1202         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
1203         * sysdeps/s390/configure: Regenerated.
1204         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
1205         instruction for raising over-/underflow if z196 zarch is supported
1206         by default.
1207         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
1209 2016-08-30  Svante Signell  <svante.signell@gmail.com>
1211         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
1212         it point to a dumb buffer for RPC to fill it.
1214 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1216         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
1217         instead of if/else.
1218         (do_sin_slow): Likewise.
1219         (do_sincos_1): Use fabs instead of if/else.
1220         (do_sincos_2): Likewise.
1221         (__sin): Likewise.
1222         (__cos): Likewise.
1223         (slow2): Likewise.
1224         (sloww): Likewise.
1225         (sloww1): Likewise.  Drop argument M.
1226         (sloww2): Use fabs instead of if/else.
1227         (bsloww): Likewise.
1228         (bsloww1): Likewise.
1229         (bsloww2): Likewise.
1231         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
1232         fall through comment.
1233         (do_sincos_1): Likewise.
1235         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
1236         Consolidate switch cases 0 and 2.
1238 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1240         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
1241         (libm-calls): Remove the above.
1243         * math/s_cexp_template.c: Update using type-generic macros.
1244         * math/s_clog10_template.c: Likewise.
1245         * math/s_cpow_template.c: Likewise.
1246         * math/s_clog_template.c: Likewise.
1247         * math/s_cproj_template.c: Likewise.
1248         * math/s_csqrt_template.c: Likewise.
1250         * math/s_cexp.c: Removed.
1251         * math/s_cexpf.c: Removed.
1252         * math/s_cexpl.c: Removed.
1253         * math/s_clog10.c: Removed.
1254         * math/s_clog10f.c: Removed.
1255         * math/s_clog10l.c: Removed.
1256         * math/s_cpow.c: Removed.
1257         * math/s_cpowf.c: Removed.
1258         * math/s_cpowl.c: Removed.
1259         * math/s_clog.c: Removed.
1260         * math/s_clogf.c: Removed.
1261         * math/s_clogl.c: Removed.
1262         * math/s_cproj.c: Removed.
1263         * math/s_cprojf.c: Removed.
1264         * math/s_cprojl.c: Removed.
1265         * math/s_csqrt.c: Removed.
1266         * math/s_csqrtf.c: Removed.
1267         * math/s_csqrtl.c: Removed.
1269         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
1270         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
1271         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
1272         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
1273         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
1274         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
1276         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
1277         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
1278         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
1279         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
1280         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
1281         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
1282         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
1283         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
1284         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
1285         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
1286         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
1288         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
1289         version.
1291         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
1292         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
1293         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
1294         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
1296 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1298         * s_cexp_template.c: Copy of s_cexp.c.
1299         * s_clog_template.c: Copy of s_clog.c.
1300         * s_clog10_template.c: Copy of s_clog10.c.
1301         * s_cpow_template.c: Copy of s_cpow.c.
1302         * s_cproj_template.c: Copy of s_cproj.c.
1303         * s_csqrt_template.c: Copy of s_csqrt.c.
1305 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1307         [BZ #20517]
1308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
1309         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
1310         exported.
1312 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
1314         * math/fetestexceptflag.c: New file.
1315         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
1316         Stefan Liebler.
1317         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1318         (fetestexceptflag): New function declaration.
1319         * manual/arith.texi (fetestexceptflag): Document function.
1320         * math/Versions (fetestexceptflag): New libm symbol at version
1321         GLIBC_2.25.
1322         * math/Makefile (libm-support): Add fetestexceptflag.
1323         (tests): Add test-fetestexceptflag.
1324         * math/test-fetestexceptflag.c: New file.
1325         * sysdeps/nacl/libm.abilist: Update.
1326         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1330         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1334         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1336         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1337         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1339         Likewise.
1340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1341         Likewise.
1342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1349         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1350         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1352         Likewise.
1353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1356         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1359 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1361         [BZ #20432]
1362         Avoid strong references to malloc-internal symbols when linking
1363         statically, to support statically interposed mallocs.
1364         * include/libc-symbols.h (call_function_static_weak): New macro.
1365         * malloc/Makefile (tests): Add tst-interpose-nothread,
1366         tst-interpose-thread, tst-interpose-static-nothread,
1367         tst-interpose-static-thread.
1368         (tests-static): Add tst-interpose-static-nothread,
1369         tst-interpose-static-thread.
1370         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
1371         tst-interpose-aux-thread.o.
1372         (test-extras): Add tst-interpose-aux-nothread,
1373         tst-interpose-aux-thread.
1374         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
1375         tst-interpose-aux-nothread.o.
1376         (tst-interpose-thread, tst-interpose-static-thread): Link with
1377         tst-interpose-aux-thread.o and libthread.
1378         * malloc/tst-interpose-aux-nothread.c: New file.
1379         * malloc/tst-interpose-aux-thread.c: Likewise.
1380         * malloc/tst-interpose-aux.c: Likewise.
1381         * malloc/tst-interpose-aux.h: Likewise.
1382         * malloc/tst-interpose-nothread.c: Likewise.
1383         * malloc/tst-interpose-skeleton.c: Likewise.
1384         * malloc/tst-interpose-static-nothread.c: Likewise.
1385         * malloc/tst-interpose-static-thread.c: Likewise.
1386         * malloc/tst-interpose-thread.c: Likewise.
1387         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
1388         * sysdeps/mach/hurd/fork.c (__fork): Only call
1389         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1390         __malloc_fork_unlock_child if defined.
1391         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1393 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1395         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
1396         timespec C99 designated initialization.
1398 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1400         [BZ #19946]
1401         Avoid expected SIGALRM signals.
1402         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
1403         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
1404         (xpthread_create, xpthread_detach, xpthread_join)
1405         (delayed_exit_thread, delayed_exit): New functions.
1406         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
1407         (tf): Use xpthread_cond_wait.
1408         (do_test): Likewise.  Replace alarm with delayed_exit.
1409         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1410         (do_test): Call delayed_exit.  Report failure.
1411         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1412         (do_test): Call delayed_exit.
1413         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1414         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
1415         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1416         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
1417         error.
1418         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
1419         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
1420         error.
1421         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
1422         (do_test): Call delayed_exit.
1423         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
1424         (do_test): Call delayed_exit.
1425         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
1426         (do_test): Call delayed_exit instead of alarm.  Use
1427         xpthread_mutex_lock.
1428         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
1429         (do_test): Call delayed_exit instead of alarm.  Use
1430         xpthread_mutex_lock.
1431         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
1432         (do_test): Call delayed_exit instead of alarm.
1433         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
1434         (do_test): Call delayed_exit instead of alarm.  Use
1435         xpthread_spin_lock.
1436         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
1437         (do_test): Call delayed_exit instead of alarm.  Use
1438         xpthread_join.
1440 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1442         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
1443         adjust CFA when allocating register save area on re-aligned
1444         stack.
1446 2016-08-26  Florian Weimer  <fweimer@redhat.com>
1448         * string/tst-cmp.c: New test.
1449         * string/Makefile (tests): Add it.
1451 2016-08-25  Mark Wielaard  <mark@klomp.org>
1453         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
1454         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
1455         (check_tree_recurse): Use newly defined accessors.
1456         (check_tree): Likewise.
1457         (maybe_split_for_insert): Likewise.
1458         (__tfind): Likewise.
1459         (__tdelete): Likewise.
1460         (trecurse): Likewise.
1461         (tdestroy_recurse): Likewise.
1462         (__tsearch): Likewise. And add asserts for malloc alignment.
1463         (__twalk): Cast root to node in case CHECK_TREE is defined.
1465 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1467         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
1469 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1471         * math/Makefile (libm-gen-calls): Add
1472         catan, catanh, ctan, ctanh.
1473         (libm-calls): Remove the above.
1475         * math/s_catan_template.c: Update using type-generic macros.
1476         * math/s_catanh_template.c: Likewise.
1477         * math/s_ctan_template.c: Likewise.
1478         * math/s_ctanh_template.c: Likewise.
1480         * math/s_catanf.c: Removed.
1481         * math/s_catan.c: Removed.
1482         * math/s_catanl.c: Removed.
1483         * math/s_catanhf.c: Removed.
1484         * math/s_catanh.c: Removed.
1485         * math/s_catanhl.c: Removed.
1486         * math/s_ctanf.c: Removed.
1487         * math/s_ctan.c: Removed.
1488         * math/s_ctanl.c: Removed.
1489         * math/s_ctanhf.c: Removed.
1490         * math/s_ctanh.c: Removed.
1491         * math/s_ctanhl.c: Removed.
1493         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1494         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1495         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1496         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1497         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1498         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1500         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1501         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1502         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1503         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1505 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1507         * s_catan_template.c: Copy of s_catan.c.
1508         * s_catanh_template.c: Copy of s_catanh.c.
1509         * s_ctan_template.c: Copy of s_ctan.c.
1510         * s_ctanh_template.c: Copy of s_ctanh.c.
1512 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1514         * math/Makefile (gen-libm-calls): Move
1515         casin, casinh, csin, csinh here.
1516         (libm-calls): Remove the above.
1518         * math/s_casin_template.c: Update using type-generic macros.
1519         * math/s_casinh_template.c: Likewise.
1520         * math/s_csin_template.c: Likewise.
1521         * math/s_csinh_template.c: Likewise.
1522         * math/k_casinh_template.c: Likewise.
1524         * math/s_casinf.c: Removed.
1525         * math/s_casin.c: Removed.
1526         * math/s_casinl.c: Removed.
1527         * math/s_casinh.c: Removed.
1528         * math/s_casinhf.c: Removed.
1529         * math/s_casinhl.c: Removed.
1530         * math/s_csin.c: Removed.
1531         * math/s_csinf.c: Removed.
1532         * math/s_csinl.c: Removed.
1533         * math/s_csinh.c: Removed.
1534         * math/s_csinhf.c: Removed.
1535         * math/s_csinhl.c: Removed.
1536         * math/k_casinh.c: Removed.
1537         * math/k_casinhf.c: Removed.
1538         * math/k_casinhl.c: Removed.
1540         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1541         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1542         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1543         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1545         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1546         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1547         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1548         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1549         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1550         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1551         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1552         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1554         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1555         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1556         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1557         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1559         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1560         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1561         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1562         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1564 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1566         * s_casin_template.c: Copy of s_casin.c.
1567         * s_casinh_template.c: Copy of s_casinh.c.
1568         * s_csin_template.c: Copy of s_csin.c.
1569         * s_csinh_template.c: Copy of s_csinh.c.
1570         * k_casinh_template.c: Copy of k_casinh.c.
1572 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1574         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1576 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1578         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1579         (mul_split) Remove, rename as mul_splitl, remove
1580         redundant float.h include, and include via mul_splitl.h
1582         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1583         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1584         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1585         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1586         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1588         * math/mul_splitl.h: New file.
1590         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1591         Move into mul_split.h, and remove redundant float.h include.
1593         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1594         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1595         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1596         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1598         * math/mul_split.h: New file.
1600 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1602         * math/Makefile (libm-gen-calls): Move
1603         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1604         (libm-calls): Remove above.
1606         * math/s_cacos_template.c: Update using type-generic macros.
1607         * math/s_cacosh_template.c: Likewise.
1608         * math/s_ccos_template.c: Likewise.
1609         * math/s_ccosh_template.c: Likwise.
1611         * math/s_cacosf.c: Removed.
1612         * math/s_cacos.c: Removed.
1613         * math/s_cacosl.c: Removed.
1614         * math/s_cacoshf.c: Removed.
1615         * math/s_cacosh.c: Removed.
1616         * math/s_cacoshl.c: Removed.
1617         * math/s_ccosf.c: Removed.
1618         * math/s_ccos.c: Removed.
1619         * math/s_ccosl.c: Removed.
1620         * math/s_ccoshf.c: Removed.
1621         * math/s_ccosh.c: Removed.
1622         * math/s_ccoshl.c: Removed.
1624         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1625         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1626         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1627         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1628         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1629         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1631         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1632         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1633         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1634         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1636         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1637         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1638         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1639         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1641 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1643         * s_cacos_template.c: Copy of s_cacos.c.
1644         * s_cacosh_template.c: Copy of s_cacosh.c.
1645         * s_ccos_template.c: Copy of s_ccos.c.
1646         * s_ccosh_template.c: Copy of s_ccosh.c.
1648 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1650         * stdlib/tst-strtod-round-skeleton.c:
1651         Refactored from tst-strtod-round.c.
1653         (L_): New macro to apply literal modifier.
1654         (FNPFX): New macro to select str or wcs prefix.
1655         (CHAR): New macro to choose wchar_t or char.
1656         (STRM): New macro to choose printf for tested character type.
1658         (STRTO): New macro to choose appropriate string -> real function.
1659         (FNPFXS): Stringitized version of FNPFX.
1660         (STR): Support for above macro.
1661         (STRX): Likewise.
1663         (TEST): Update with above macros.
1664         (test): Likewise.
1665         (GEN_ONE_TEST): Likewise.
1666         (test_in_one_mode): Likewise.
1668         * stdlib/tst-strtod-round.c: New file.
1669         * wcsmbs/tst-wcstod-round.c: New file.
1671         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1672         (tst-wcstod-round): Add libm depencency for fesetround.
1674 2016-08-19  Zack Weinberg  <zackw@panix.com>
1676         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1678 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1680         [BZ #20477]
1681         * resolv/res_hconf.c (do_init): Use atomic access.
1682         * resolv/res_hconf.h: Add comments.
1683         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1684         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1687 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1689         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1690         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1691         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1692         Likewise.
1694 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1696         [BZ #16907]
1697         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1698         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1699         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1700         (__attribute__): Remove definition.
1702 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1704         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1705         Remove unused sqrtl declaration.
1707 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1709         * math/Makefile: (gen-libm-templates.stmp): New rule.
1710         (libm-calls): Move carg conj cimag and cabs into ...
1711         (gen-libm-calls): New variable.
1712         (generated): Inform Make objects from gen-libm-calls
1713         may be generated.
1715         * sysdeps/generic/math-type-macros.h: New file.
1716         * sysdeps/generic/math-type-macros-float.h: Likewise.
1717         * sysdeps/generic/math-type-macros-double.h: Likewise.
1718         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1719         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1720         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1722         * math/cabs.c: Refactor into
1723         * math/cabs_template.c: new file.
1724         * math/cabsf.c: Removed.
1725         * math/cabsl.c: Removed.
1726         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1727         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1729         * math/carg.c: Refactor into
1730         * math/carg_template.c: new file.
1731         * math/cargf.c: Removed.
1732         * math/cargl.c: Removed.
1733         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1734         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1736         * math/conj.c: Refactor into
1737         * math/conj_template.c: new file.
1738         * math/conjf.c: Removed.
1739         * math/conjl.c: Removed.
1740         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1741         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1743         * math/cimag.c: Refactor into
1744         * math/cimag_template.c: new file.
1745         * math/cimagf.c: Removed.
1746         * math/cimagl.c: Removed.
1747         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1748         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1750         * math/cimag.c: Refactor into
1751         * math/cimag_template.c: new file.
1752         * math/cimagf.c: Removed.
1753         * math/cimagl.c: Removed.
1754         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1755         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1757 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1759         Reduce time to expected nptl/tst-once5 failure.
1760         * nptl/tst-once5.cc (TIMEOUT): Define.
1762 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1764         [BZ #20452]
1765         Avoid additional copies of objects in libc.a in static libraries.
1766         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1767         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1768         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1769         rt-sysdep.
1770         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1771         Add nptl-sysdep.
1772         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1773         Add ptw-sysdep.
1774         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1775         rt-sysdep.
1776         * sysdeps/unix/sysv/linux/alpha/Makefile
1777         (libpthread-shared-only-routines): Add ptw-sysdep,
1778         ptw-sigprocmask, ptw-rt_sigaction.
1779         * sysdeps/unix/sysv/linux/ia64/Makefile
1780         (librt-shared-only-routines): Add rt-sysdep.
1781         * sysdeps/unix/sysv/linux/i386/Makefile
1782         (libpthread-shared-only-routines): Add libc-do-syscall.
1783         * sysdeps/unix/sysv/linux/microblaze/Makefile
1784         (libpthread-shared-only-routines): Add sysdep.
1785         * sysdeps/unix/sysv/linux/powerpc/Makefile
1786         (librt-shared-only-routines): Add rt-sysdep.
1787         (libpthread-shared-only-routines): Add sysdep.
1788         * sysdeps/unix/sysv/linux/s390/Makefile
1789         (librt-shared-only-routines): Add rt-sysdep.
1790         * sysdeps/unix/sysv/linux/sparc/Makefile
1791         (librt-shared-only-routines): Add rt-sysdep.
1792         (libpthread-shared-only-routines): Add sysdep.
1793         * sysdeps/unix/sysv/linux/tile/Makefile
1794         (libpthread-shared-only-routines): Likewise.
1796 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1798         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1799         Mask implicit bit out of unpacked value.
1800         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1801         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1804         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1806         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1808         * sysdeps/s390/fpu/fesetexcept.c: New file.
1810         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1811         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1812         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1814         * sysdeps/mips/fpu/fesetexcept.c: New file.
1816         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1818         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1820         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1822         * sysdeps/arm/fesetexcept.c: New file.
1824         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1826         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1828         * math/fesetexcept.c: New file.
1829         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1830         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1831         * math/fenv.h: Define
1832         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1833         <bits/libc-header-start.h> instead of including <features.h>.
1834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1835         declaration.
1836         * manual/arith.texi (fesetexcept): Document function.
1837         * math/Versions (fesetexcept): New libm symbol at version
1838         GLIBC_2.25.
1839         * math/Makefile (libm-support): Add fesetexcept.
1840         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1841         * math/test-fesetexcept.c: New file.
1842         * math/test-fesetexcept-traps.c: Likewise.
1843         * sysdeps/nacl/libm.abilist: Update.
1844         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1857         Likewise.
1858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1859         Likewise.
1860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1863         Likewise.
1864         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1870         Likewise.
1871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1872         Likewise.
1873         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1874         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1875         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1877 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1879         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1880         New.
1881         (do_test): Apply default_stack_size_in_mb if not set.
1882         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1884 2016-08-15  Andreas Schwab  <schwab@suse.de>
1886         [BZ #20435]
1887         CVE-2016-6323
1888         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1889         as .cantunwind.
1891 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1893         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1894         comment from fraiseexcpt.c.
1896         * math/test-fexcept.c (feraiseexcept_exact): New function.
1897         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1898         (test_except): Likewise.
1900 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1902         [BZ #20455]
1903         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1904         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1905         to be restored.
1907         * math/test-fexcept-traps.c: New file.
1908         * math/test-fexcept.c: Likewise.
1909         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1910         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1911         macro.
1912         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1913         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1915 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1917         * include/atomic.h (atomic_fetch_and_relaxed,
1918         atomic_fetch_and_release, atomic_fetch_or_release,
1919         atomic_fetch_xor_release): New.
1921 2016-08-06  Christian Seiler  <christian@iwakd.de>
1923         [BZ #20444]
1924         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1925         MACH_PORT_NULL.
1927 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1929         * math/s_fdim.c: Avoid alias renamed.
1930         * math/s_fdimf.c: Likewise.
1931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1932         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1933         Add s_fdimf-vis3, s_fdim-vis3.
1934         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1935         (CFLAGS-s_fdim-vis3.c): Likewise.
1936         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1937         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1939 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1942         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1943         Remove s_fdimf-vis3, s_fdim-vis3.
1944         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1945         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1952         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1953         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1955 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1957         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1958         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1959         -Wa,-Av9a -mvis.
1961 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1963         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1964         LIT() to individual constants in simple expressions
1965         after splitting on spaces.
1966         (_apply_lit): Rename replaced version, and use it to
1967         apply to what appears to be a token.
1969         * math/libm-test.inc: Fix many, many issues with
1970         spacing.
1972 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1974         * math/math.h: Move comment about <bits/mathdef.h> definitions
1975         above inclusion of <bits/mathdef.h>.  Do not mention
1976         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1978 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1980         * include/atomic.h (atomic_exchange_relaxed): New.
1982 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1984         * math/e_scalb.c: Do not include <fenv.h>.
1985         (invalid_fn): Do calculation resulting in NaN instead of raising
1986         FE_INVALID and returning a NaN explicitly.
1987         * math/e_scalbf.c: Do not include <fenv.h>.
1988         (invalid_fn): Do calculation resulting in NaN instead of raising
1989         FE_INVALID and returning a NaN explicitly.
1990         * math/e_scalbl.c: Do not include <fenv.h>.
1991         (invalid_fn): Do calculation resulting in NaN instead of raising
1992         FE_INVALID and returning a NaN explicitly.
1994 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1996         * po/de.po: Updated from Translation Project.
1997         * po/fi.po: Likewise.
1998         * po/sv.po: Likewise.
2000 2016-08-04  Florian Weimer  <fweimer@redhat.com>
2002         [BZ #20452]
2003         Use sysdep.o from libc.a in static libraries.
2004         * sysdeps/unix/sysv/linux/i386/Makefile
2005         (libpthread-shared-only-routines): Add sysdep.
2006         (librt-shared-only-routines): Likewise.
2008 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2010         * math/tgmath.h (nextdown): Define if
2011         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
2012         (nextup): Likewise.
2014         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
2015         macro.
2016         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2017         Document.
2018         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
2019         Document macro.
2020         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
2021         (exp10f): Likewise.
2022         (exp10l): Likewise.
2023         * math/bits/mathcalls.h (exp10): Declare if
2024         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
2026         * manual/arith.texi (nextup): Fix typo in last change.
2028 2016-08-03  Zack Weinberg  <zackw@panix.com>
2030         [BZ #19239]
2031         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
2032         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
2033         define major, minor, and makedev to issue deprecation warnings on use.
2034         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
2035         previously-activated deprecation warnings for these macros and prevent
2036         subsequent inclusions of this header from having any effect.
2037         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
2038         including <sys/sysmacros.h>, and undefine it again afterward.
2040 2016-08-03  Zack Weinberg  <zackw@panix.com>
2042         * sysdeps/generic/sys/sysmacros.h: Delete file.
2043         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
2044         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
2045         * bits/sysmacros.h: ... here; this encoding is now the generic
2046         encoding.  Now defines only the following macros:
2047         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
2048         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
2049         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
2051         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
2052         bits/sysmacros.h and the above new macros to generate the
2053         public implementations of major, minor, and makedev.
2054         * misc/tst-makedev.c: New test.
2055         * include/sys/sysmacros.h: New wrapper.
2057         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
2058         (routines): Add makedev.
2059         (tests): Add tst-makedev.
2060         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
2061         gnu_dev_makedev.
2062         * posix/Makefile (headers): Remove sys/sysmacros.h.
2063         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
2065         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
2066         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
2067         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2068         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2069         * sysdeps/unix/sysv/linux/arm/libc.abilist
2070         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2071         * sysdeps/unix/sysv/linux/i386/libc.abilist
2072         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2073         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2074         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2075         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2076         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2077         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2078         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2079         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2080         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2085         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2086         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2087         * sysdeps/unix/sysv/linux/sh/libc.abilist
2088         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2089         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2092         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2093         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2094         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2095         Add GLIBC_2.25.
2097         * include/features.h (__glibc_clang_prereq): New macro.
2098         * misc/sys/cdefs.h (__glibc_clang_has_extension)
2099         (__attribute_deprecated_msg__): New macros.
2101 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2103         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
2104         macro.
2105         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
2106         * manual/arith.texi (issignaling): Document as ISO from TS
2107         18661-1:2014.
2108         (nextup): Likewise.
2109         (nextupf): Likewise.
2110         (nextupl): Likewise.
2111         (nextdown): Likewise.
2112         (nextdownf): Likewise.
2113         (nextdownl): Likewise.
2114         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
2115         macro.
2116         * math/math.h: Define
2117         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2118         <bits/libc-header-start.h> instead of including <features.h>.
2119         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
2120         [__USE_GNU].
2121         * math/bits/mathcalls.h (nextdown): Declare if
2122         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
2123         (nextup): Likewise.
2124         (__issignaling): Likewise.
2126 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2128         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
2129         check, and remove __glibc_likely hint
2130         from FP_INFINITE check.
2131         * s_csinhf.c (__csinhf): Likewise.
2133         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
2134         hint from FP_INFINITE check.
2135         * s_csinhl.c (__csinhl): Likewise.
2137 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2139         * math/Makefile (libm-calls): Insert F placeholder into
2140         object names.  Move w_lgamma_compat* routines into
2141         (libm-compat-calls): New variable.
2142         (libm-compat-calls-ldouble-yes): New variable.
2143         (calls): Insert F placeholder.
2144         (generated): Redefine using new type-foreach macro call.
2145         (routines): Likewise.
2147         (types): New variable to hold a list of symbolic names
2148         for each type supported by the target machine.
2149         (libm-routines): Redefine using new types variable.
2150         (type-foreach): macro to replace fooF with the
2151         appropriately suffixed foo for each types.
2153         (type-ldouble-suffix): New variable.
2154         (type-ldouble-routines): Likewise.
2155         (type-ldouble-yes): Likewise.
2156         (type-double-suffix): Likewise.
2157         (type-double-routines): Likewise.
2158         (type-float-suffix): Likewise.
2159         (type-float-routines): Likewise.
2161         (dbl-only-routines): Remove.
2162         (long-c-yes): Likewise.
2163         (long-m-routines): Likewise.
2164         (long-m-support): Likewise.
2165         (long-m-yes): Likewise.
2166         (test-longdouble-yes): Likewise.
2168         (test-float.o): Simplify by increasing the scope of the
2169         recipe which adds libm-test.stmp to the vector types.
2170         (test-ifloat.o): Likewise.
2171         (test-float-finite.o): Likewise.
2172         (test-double.o): Likewise
2173         (test-idouble.o): Likewise.
2174         (test-double-finite.o): Likewise.
2175         (test-ldouble.o): Likewise
2176         (test-ildoubl.o): Likewise.
2177         (test-ldouble-finite.o): Likewise.
2179         (libm-tests): Redefine type tests using foreach and the
2180         list of types in types.
2182         (CPPFLAGS-test-ildoubl.c): Rename to
2183         (CPPFLAGS-test-ildouble.c): New variable
2185         * math/test-ildoubl.c: Rename to
2186         * math/test-ildouble.c: New file.
2188 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2190         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
2191         Use fabsl instead of fabs.
2192         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
2193         Likewise.
2194         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
2195         Add long double suffix to constant to ensure proper
2196         promotion to long double.
2198 2016-08-03  Tom Tromey  <tom@tromey.com>
2200         [BZ #20311]
2201         * nptl_db/Makefile (headers): Add proc_service.h.
2202         * nptl_db/proc_service.h: Add include guard.  Use
2203         __BEGIN/__END_DECLS.
2204         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
2205         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
2206         arguments.
2209 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2211         [BZ #17730]
2212         Avoid using memalign for TCB allocations.
2213         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
2214         (_dl_allocate_tls_storage): Use malloc and manual alignment.
2215         Avoid alignment gap in the TLS_DTV_AT_TP case.
2216         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
2217         determine the pointer to free.
2218         * nptl/tst-tls3-malloc.c: New test.
2219         * nptl/Makefile (tests): Add it.
2220         (tst-tls3-malloc): Link with libdl, libpthread.
2221         (LDFLAGS-tst-tls3-malloc): Set.
2222         (tst-tls3-malloc.out): Depend on DSO used in test.
2224 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2226         [BZ #17730]
2227         Avoid using memalign for TLS allocations.
2228         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
2229         is_static member with to_free member.
2230         (union dtv): Use struct dtv_pointer.
2231         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
2232         dtv_pointer instead of is_static.
2233         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
2234         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
2235         instead of val.
2236         (allocate_dtv_entry): New function.
2237         (allocate_and_init): Return struct dtv_pointer.  Call
2238         allocate_dtv_entry instead of __libc_memalign.
2239         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
2240         instead of val.
2241         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
2242         instead of is_static.  Adjust call to allocate_and_init.
2243         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
2244         struct dtv_pointer instead of val.
2246 2016-08-03  Florian Weimer  <fweimer@redhat.com>
2248         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
2249         (MALLOC_ALIGN_MASK): Move ...
2250         * malloc/malloc-internal.h: ... to here.
2251         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
2253 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
2255         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
2256         (UDP_ENCAP_GTP1U): Likewise.
2258         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
2259         (PF_MAX): Update value.
2260         (AF_QIPCRTR): New macro.
2262 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2264         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
2265         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2266         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2268         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2269         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2270         s_truncf-vis3, s_trunc-vis3.
2271         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
2272         (CFLAGS-s_ceil-vis3.c): Likewise.
2273         (CFLAGS-s_floorf-vis3.c): Likewise.
2274         (CFLAGS-s_floor-vis3.c): Likewise.
2275         (CFLAGS-s_truncf-vis3.c): Likewise.
2276         (CFLAGS-s_trunc-vis3.c): Likewise.
2277         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
2278         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
2279         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
2280         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
2281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
2282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
2283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
2284         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
2285         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
2286         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
2287         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
2288         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
2290 2016-08-02  David S. Miller  <davem@davemloft.net>
2292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2293         (__nearbyint_vis3): Don't check for sNaN before float register is
2294         loaded with the incoming argument.
2295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2296         (__nearbyintf_vis3): Likewise.
2297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
2298         Likewise.
2299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
2300         Likewise.
2302         * string/test-strncmp.c (do_test_limit): Make sure the test data
2303         stream is aligned as required for the type "CHAR".
2304         (do_test): Likewise.
2306 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
2308         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
2309         by beq instructions jumping to the end of the function.
2310         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
2311         clobber list. Use "i" constraint instead of "X".
2312         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
2313         of "X".
2315 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
2317         * bits/libc-header-start.h: New file.
2318         * Makefile (headers): Add bits/libc-header-start.h.
2319         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
2320         (__GLIBC_USE): New macro.
2321         * libio/stdio.h: Define
2322         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2323         <bits/libc-header-start.h> instead of including <features.h>.
2324         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
2325         (open_memstream): Likewise.
2326         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
2327         (__asprintf): Likewise.
2328         (asprintf): Likewise.
2329         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
2330         (getdelim): Likewise.
2331         (getline): Likewise.
2332         * string/string.h: Define
2333         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2334         <bits/libc-header-start.h> instead of including <features.h>.
2335         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
2336         (strndup): Likewise.
2337         * wcsmbs/wchar.h: Define
2338         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2339         <bits/libc-header-start.h> instead of including <features.h>.
2340         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
2341         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2343 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2345         Support linking against compatibility symbols, for use in tests.
2346         * include/libc-symbols.h (symbol_version_reference): New macro.
2347         (symbol_version): Use it.
2348         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
2349         (compat_symbol): Use compat_symbol_reference.
2350         (compat_symbol_1, compat_symbol_2): Remove.
2351         (compat_symbol_reference, compat_symbol_reference_1)
2352         (compat_symbol_reference_2): New macro.  Use
2353         symbol_version_reference.
2355 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2357         [BZ #19469]
2358         * malloc/Makefile (CPPFLAGS): Compile tests with
2359         -DTEST_NO_MALLOPT.
2360         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
2362 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
2364         [BZ #20033]
2365         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
2366         finite version.
2367         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
2368         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
2369         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
2370         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
2371         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
2372         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
2373         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
2374         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
2375         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
2376         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
2377         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
2378         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
2379         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
2380         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
2381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
2382         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
2383         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
2384         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
2385         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
2386         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
2387         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
2388         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
2389         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
2390         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
2391         in zero power.
2393 2016-08-02  Florian Weimer  <fweimer@redhat.com>
2395         [BZ #20370]
2396         * malloc/arena.c (get_free_list): Update comment.  Assert that
2397         arenas on the free list have no attached threads.
2398         (remove_from_free_list): New function.
2399         (reused_arena): Call it.
2401 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
2403         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
2404         when it is a NaN.
2405         [_IEEE_FP_INEXACT] Remove.
2406         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
2407         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
2408         when it is a NaN.
2409         [_IEEE_FP_INEXACT] Remove.
2410         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
2411         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
2412         when it is a NaN.
2413         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
2414         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
2415         when its absolute value is greater than 0x1.0p52.
2416         [_IEEE_FP_INEXACT] Remove.
2417         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
2418         when its absolute value is greater than 0x1.0p23.
2419         [_IEEE_FP_INEXACT] Remove.
2421 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
2423         * version.h (RELEASE): Set to "development"
2424         (VERSION): Set to 2.24.90.
2425         * NEWS: Add 2.25 section.
2427         * version.h (RELEASE): Set to "stable"
2428         (VERSION): Set to 2.24.
2429         * include/features.h (__GLIBC_MINOR__): Set to 24.
2431         * NEWS: Add 2.24 fixed bugs.
2432         * po/libc.pot: Regenerate.
2434 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
2436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2437         [$(subdir) = math] (libm-sysdep_routines): Remove.
2438         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
2439         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
2440         s_truncf-vis3, s_trunc-vis3.
2441         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
2443         file.
2444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
2445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
2446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
2450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
2451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
2453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
2454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
2455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
2456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
2457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
2458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
2459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
2463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
2464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
2465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
2466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
2469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
2472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2475         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2476         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2477         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2478         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2479         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2480         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2481         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2482         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2483         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2484         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2485         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2486         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2488 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2490         [BZ #20384]
2491         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2492         test-double-libmvec-sincos-avx-main.o,
2493         test-double-libmvec-sincos-avx2-main.o,
2494         test-double-libmvec-sincos-main.o,
2495         test-float-libmvec-sincosf-avx-main.o,
2496         test-float-libmvec-sincosf-avx2-main.o and
2497         test-float-libmvec-sincosf-main.o.
2498         test-float-libmvec-sincosf-avx512-main.o.
2499         ($(objpfx)test-double-libmvec-sincos): Also link with
2500         $(objpfx)test-double-libmvec-sincos-main.o.
2501         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2502         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2503         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2504         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2505         ($(objpfx)test-float-libmvec-sincosf): Also link with
2506         $(objpfx)test-float-libmvec-sincosf-main.o.
2507         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2508         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2509         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2510         test-double-libmvec-sincos-avx512-main.o and
2511         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2512         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2513         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2514         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2515         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2516         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2517         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2518         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2519         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2520         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2521         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2522         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2523         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2524         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2525         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2526         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2527         -DREQUIRE_AVX2.
2528         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2529         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2530         -DREQUIRE_AVX512F.
2531         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2532         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2533         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2534         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2535         file.
2536         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2537         Likewise.
2538         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2539         Likewise.
2540         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2541         Likewise.
2542         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2543         Likewise.
2544         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2545         Likewise.
2546         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2547         Likewise.
2548         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2549         Likewise.
2551 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2553         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2555 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2557         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2558         and typo in a comment about AT_HWCAP entry.
2560 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2562         * sysdeps/aarch64/libm-test-ulps: Updated.
2564 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2566         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2567         of r13 as it is not restored in mvcle case.
2569 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2571         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2572         Rename "ret" to "__ret".
2573         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2574         inline_syscall5, inline_syscall6): Likewise.
2576 2016-07-19   Will Newton  <will.newton@gmail.com>
2578         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2579         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2580         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2581         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2582         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2584 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2586         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2587         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2588         -mfpmath=387 with $(rtld-CFLAGS).
2589         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2590         $(rtld-CFLAGS).
2592 2016-07-18   Ross Burton  <ross.burton@intel.com>
2593              Khem Raj  <raj.khem@gmail.com>
2595         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2596         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2597         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2598         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2599         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2600         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2601         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2602         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2603         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2604         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2605         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2606         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2607         R_METAG_TLS_DTPOFF): New.
2609 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2610             Matt Clay  <mclay@lycos.com>
2612         [BZ #20357]
2613         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2614         to call __mpsin/__mpcos and to negate values.
2615         * math/auto-libm-test-in: Add test.
2616         * math/auto-libm-test-out: Regenerate.
2618 2016-07-18  Zack Weinberg  <zackw@panix.com>
2620         * grp/Makefile: Don't install the internal header grp-merge.h.
2622 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2624         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2626 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2628         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2630 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2632         [BZ #15368]
2633         * sysdeps/unix/sysv/linux/nptl-signals.h
2634         (__nptl_clear_internal_signals): New function.
2635         (__libc_signal_block_all): Likewise.
2636         (__libc_signal_block_app): Likewise.
2637         (__libc_signal_restore_set): Likewise.
2638         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2639         implementation.
2640         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2641         the cached pid/tid value in pthread structure.
2643 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2645         [BZ #20347]
2646         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2648 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2650         [BZ #20348]
2651         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2652         preadv64, pwrite64 and pwritev64.
2654 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2656         [BZ #20350]
2657         * posix/tst-preadwrite.c: Renamed to ...
2658         * posix/tst-preadwrite-common.c: This.
2659         (PREAD): Removed.
2660         (PWRITE): Likewise.
2661         (STRINGIFY): Likewise.
2662         (STRINGIFY2): Likewise.
2663         (do_prepare): Make it static and remove function arguments.
2664         (do_test): Likewise.
2665         (PREPARE): Updated.
2666         (TEST_FUNCTION): New.
2667         (name): Make it static.
2668         (fd): Likewise.
2669         (do_prepare): Use create_temp_file.
2670         (do_test): Renamed to ...
2671         (do_test_with_offset): This.  Make it static and accept offset.
2672         Properly check return value of PWRITE and PREAD.  Return bytes
2673         read.  Don't close fd nor unlink name.
2674         * posix/tst-preadwrite.c: Rewrite.
2675         * posix/tst-preadwrite64.c: Likewise.
2677 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2679         [BZ #20309]
2680         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2681         -mtls-dialect=gnu2 works.
2682         * configure: Regenerated.
2683         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2684         (tests): Add tst-gnu2-tls1.
2685         (modules-names): Add tst-gnu2-tls1mod.
2686         ($(objpfx)tst-gnu2-tls1): New.
2687         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2688         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2689         * elf/tst-gnu2-tls1.c: New file.
2690         * elf/tst-gnu2-tls1mod.c: Likewise.
2691         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2692         bytes for push in the PLT entry to align the stack.
2694 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2696         [BZ #20349]
2697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2699 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2701         [BZ #18707]
2702         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2703         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2705 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2707         * sysdeps/unix/sysv/linux/sysdep.h
2708         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2709         guards.
2710         * misc/tst-preadvwritev-common.c: New file.
2711         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2712         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2713         a check for files larger than 2GB.
2715         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2716         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2717         * sysdeps/unix/sysv/linux/pread.c
2718         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2719         __OFF_T_MATCHES_OFF64_T.
2720         * sysdeps/unix/sysv/linux/pread64.c
2721         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2722         * sysdeps/unix/sysv/linux/preadv.c
2723         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2724         * sysdeps/unix/sysv/linux/preadv64.c
2725         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2726         * sysdeps/unix/sysv/linux/pwrite.c
2727         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2728         * sysdeps/unix/sysv/linux/pwrite64.c
2729         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2730         * sysdeps/unix/sysv/linux/pwritev.c
2731         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2732         * sysdeps/unix/sysv/linux/pwritev64.c
2733         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2735 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2737         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2738         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2740 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2742         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2744 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2746         [BZ #20240]
2747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2748         (CFLAGS-s_modf-ppc32.c): New variable.
2749         (CFLAGS-s_modff-ppc32.c): Likewise.
2750         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2751         (CFLAGS-s_modf-ppc64.c): Likewise.
2752         (CFLAGS-s_modff-ppc64.c): Likewise.
2754 2016-07-07  Andreas Schwab  <schwab@suse.de>
2756         [BZ #20263]
2757         * nptl/tst-robust10.c: New test.
2758         * nptl/Makefile (tests): Add tst-robust10.
2760 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2762         [BZ #20263]
2763         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2765 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2767         * sysdeps/s390/linkmap.h (struct link_map_machine):
2768         Remove member gotplt and add member jmprel.
2769         * sysdeps/s390/s390-32/dl-machine.h
2770         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2771         instead of gotplt with &got[3].
2772         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2773         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2775 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2777         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2779 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2781         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2782         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2783         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2784         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2785         * libio/vtables.c (_IO_vtable_check)
2786         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2787         * libio/libioP.h (IO_set_accept_foreign_vtables)
2788         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2790 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2792         [BZ #20314]
2793         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2794         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2795         $(common-objpfx)cmath.
2796         ($(common-objpfx)cstdlib): New target.
2797         ($(common-objpfx)cmath): Likewise.
2799 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2801         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2803 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2805         [BZ #20327]
2806         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2807         are not part of the string.
2809 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2811         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2812         * nptl/tst-cancel4-common.h (fifoname): New variable.
2813         (fifofd): Likewise.
2814         (cl_fifo): New function.
2815         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2816         SIGINT.
2817         (tf_open): Add early cancel test.
2819 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2821         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2823 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2825         * sysdeps/generic/ldsodefs.h
2826         (dl_symbol_visibility_binds_local_p): New inline function.
2827         * elf/dl-addr.c (determine_info): Treat hidden and internal
2828         symbols as local.
2829         * elf/dl-lookup.c (do_lookup_x): Likewise.
2830         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2832 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2834         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2835         invalid exception for a sNaN input.
2836         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2837         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2838         (__nearbyint_vis3): Likewise
2839         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2840         (__nearbyintf_vis3): Likewise
2841         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2842         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2843         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2844         Likewise.
2845         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2846         Likewise.
2848 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2850         [BZ #20139]
2851         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2852         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2853         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2854         2.24 or above.
2855         (HAVE_AVX512_ASM_SUPPORT): Removed.
2856         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2857         * sysdeps/x86_64/configure: Regenerated.
2858         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2859         check unconditional.
2860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2861         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2862         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2863         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2864         Likewise.
2865         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2866         Likewise.
2867         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2868         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2869         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2870         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2871         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2872         Likewise.
2873         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2874         Likewise.
2875         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2876         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2877         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2878         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2879         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2880         Likewise.
2881         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2882         Likewise.
2883         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2884         Likewise.
2885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2886         Likewise.
2887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2888         Likewise.
2889         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2890         Likewise.
2891         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2892         Likewise.
2893         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2894         Likewise.
2895         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2896         Likewise.
2897         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2898         Likewise.
2899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2900         Likewise.
2902 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2904         [BZ #20024]
2905         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2906         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2907         of this implementation of vector function.
2908         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2909         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2911         Likewise.
2912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2914         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2915         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2916         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2917         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2918         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2919         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2920         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2921         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2922         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2923         for testing vector sincos with fixed ABI.
2924         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2925         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2926         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2927         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2928         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2930         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2931         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2932         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2933         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2934         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2935         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2936         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2937         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2938         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2939         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2941 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2943         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2945 2016-06-30  Anton Blanchard  <anton@samba.org>
2947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2948         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2949         s_sinf-ppc64.
2950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2953         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2955 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2959         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2960         e_expf-ppc64.
2961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2964         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2966 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2968         [BZ #20277]
2969         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2970         when SHARED is defined.
2972 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2974         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2975         (index_arch_Prefer_ERMS): Likewise.
2976         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2977         __memcpy_erms for Prefer_ERMS.
2978         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2979         (__memmove_erms): Enabled for libc.a.
2980         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2981         __memmove_erms or Prefer_ERMS.
2982         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2983         __mempcpy_erms for Prefer_ERMS.
2984         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2985         __memset_erms for Prefer_ERMS.
2987 2016-06-30  Andreas Schwab  <schwab@suse.de>
2989         [BZ #20262]
2990         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2991         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2992         of memory.
2994 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2996         [BZ #18645]
2997         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2998         (test-extras): Add tst-cleanupx4aux.
2999         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
3000         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
3001         tst-cleanupx4aux.o.
3002         * nptl/tst-cleanupx4aux.c: New file.
3004 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
3006         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3008 2016-06-29  Andreas Schwab  <schwab@suse.de>
3010         [BZ #20260]
3011         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
3012         address before the beginning of the string as an integer to avoid
3013         array-bounds warning.
3015 2016-06-28  Richard Henderson  <rth@redhat.com>
3017         * elf/elf.h (EM_BPF): New.
3018         (EM_NUM): Update.
3019         (R_BPF_NONE, R_BPF_MAP_FD): New.
3021         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
3022         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
3023         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
3024         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
3025         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
3026         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
3027         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
3028         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
3029         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
3030         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
3031         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
3032         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
3033         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
3034         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
3035         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
3036         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
3037         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
3038         (EM_NUM): Update.
3040 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
3042         [BZ #18960]
3043         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
3044         Set _nl_current_LC_CATEGORY_used to two instead of one.
3046 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
3048         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
3049         (do_test): ... this.
3050         (TEST_FUNCTION): New macro.
3051          Include test-skeleton.c.
3052         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
3053         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
3055 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
3057         [BZ #15479]
3058         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
3059         floating-point environment rather than just control word.
3060         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3061         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
3062         floating-point environment, with "invalid" exceptions merged in,
3063         rather than just control word.
3064         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
3065         * math/libm-test.inc (trunc_test_data): Do not allow spurious
3066         "inexact" exceptions.
3068         [BZ #15479]
3069         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
3070         floating-point environment rather than just control word.
3071         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3072         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
3073         floating-point environment, with "invalid" exceptions merged in,
3074         rather than just control word.
3075         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
3076         * math/libm-test.inc (floor_test_data): Do not allow spurious
3077         "inexact" exceptions.
3079         [BZ #15479]
3080         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
3081         floating-point environment rather than just control word.
3082         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3083         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
3084         floating-point environment, with "invalid" exceptions merged in,
3085         rather than just control word.
3086         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
3087         * math/libm-test.inc (ceil_test_data): Do not allow spurious
3088         "inexact" exceptions.
3090 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
3092         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
3093         __libc_vfork.
3094         (__vfork) [IS_IN (libc)]: Remove alias.
3095         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
3096         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3097         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3099 2016-06-24  Torvald Riegel  <triegel@redhat.com>
3101         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
3102         of atomic_compare_and_exchange_bool_rel.
3103         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3104         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
3105         catomic_compare_and_exchange_bool_rel): Remove.
3106         * sysdeps/aarch64/atomic-machine.h
3107         (atomic_compare_and_exchange_bool_rel): Likewise.
3108         * sysdeps/alpha/atomic-machine.h
3109         (atomic_compare_and_exchange_bool_rel): Likewise.
3110         * sysdeps/arm/atomic-machine.h
3111         (atomic_compare_and_exchange_bool_rel): Likewise.
3112         * sysdeps/mips/atomic-machine.h
3113         (atomic_compare_and_exchange_bool_rel): Likewise.
3114         * sysdeps/microblaze/atomic-machine.h
3115         ( __arch_compare_and_exchange_bool_8_rel,
3116         __arch_compare_and_exchange_bool_16_rel): Likewise.
3117         * sysdeps/powerpc/atomic-machine.h
3118         ( __arch_compare_and_exchange_bool_8_rel,
3119         __arch_compare_and_exchange_bool_16_rel): Likewise.
3120         * sysdeps/powerpc/powerpc32/atomic-machine.h
3121         ( __arch_compare_and_exchange_bool_32_rel,
3122         __arch_compare_and_exchange_bool_64_rel): Likewise.
3123         * sysdeps/powerpc/powerpc64/atomic-machine.h
3124         ( __arch_compare_and_exchange_bool_32_rel,
3125         __arch_compare_and_exchange_bool_64_rel): Likewise.
3126         * sysdeps/tile/atomic-machine.h
3127         (atomic_compare_and_exchange_bool_rel): Likewise.
3129 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
3131         [BZ #20296]
3132         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
3133         when either argument is a NaN.
3134         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3135         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
3137         * math/libm-test.inc (snan_value_ld): New macro.
3138         (isgreater_test_data): Add sNaN tests.
3139         (isgreaterequal_test_data): Likewise.
3140         (isless_test_data): Likewise.
3141         (islessequal_test_data): Likewise.
3142         (islessgreater_test_data): Likewise.
3143         (isunordered_test_data): Likewise.
3144         (nextafter_test_data): Likewise.
3145         (nexttoward_test_data): Likewise.
3146         (remainder_test_data): Likewise.
3147         (remquo_test_data): Likewise.
3148         (significand_test_data): Likewise.
3149         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
3151 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3153         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
3154         environment macros are defined.
3155         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
3157 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3159         [BZ #20191]
3160         Implement vtable verification in libio.
3161         * Makerules (shlib.lds): Place __libc_IO_vtables section.
3162         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
3163         * debug/vdprintf_chk.c (__vdprintf_chk): Call
3164         _IO_new_file_init_internal instead of _IO_file_init.
3165         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
3166         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
3167         * libio/Makefile (routines): Add vtables.
3168         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
3169         (_IO_init): Remove, not for internal use.
3170         (_IO_init_internal): Declare, internal replacement for _IO_init.
3171         (_IO_file_init): Remove, not for internal use.
3172         (_IO_new_file_init): Remove, not for internal use.
3173         (_IO_new_file_init_internal): Declare, internal replacement for
3174         _IO_new_file_init.
3175         (_IO_old_file_init): Remove, not for internal use.
3176         (_IO_old_file_init_internal): Declare, internal replacement for
3177         _IO_old_file_init.
3178         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
3179         internal use.
3180         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
3181         Declare.
3182         (libio_vtable): New macro.
3183         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
3184         functions.
3185         * libio/fileops.c (_IO_new_file_init_internal): Rename from
3186         _IO_new_file_init.
3187         (_IO_new_file_init): New externally visible wrapper which disables
3188         vtable verification.
3189         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
3190         Define as vtables.
3191         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
3192         (_IO_init): New externally visible wrapper which disables
3193         vtable verification.
3194         * libio/iofdopen.c (_IO_new_fdopen): Call
3195         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
3196         comment.
3197         * libio/iofopen.c (__fopen_internal): Call
3198         _IO_new_file_init_internal instead of _IO_file_init.
3199         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
3200         Define as vtables.
3201         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
3202         _IO_new_file_init_internal instead of _IO_file_init.
3203         * libio/iopopen.c (_IO_new_popen): Likewise.
3204         (_IO_proc_jumps): Define as vtable.
3205         * libio/iovdprintf.c (_IO_vdprintf): Call
3206         _IO_new_file_init_internal instead of _IO_file_init.
3207         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
3208         (__open_memstream): Call _IO_init_internal instead of _IO_init.
3209         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
3210         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
3211         _IO_old_file_init.
3212         (_IO_old_file_init): New externally visible wrapper which disables
3213         vtable verification.
3214         (_IO_old_file_jumps): Define as vtable.
3215         * libio/oldiofdopen.c (_IO_old_fdopen): Call
3216         _IO_old_file_init_internal instead of _IO_old_file_init.
3217         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3218         * libio/oldiopopen.c (_IO_old_popen): Likewise.
3219         (_IO_old_proc_jumps): Define as vtable.
3220         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
3221         Define as vtables.
3222         * libio/vtables.c: New file.
3223         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
3224         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
3225         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
3226         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
3227         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
3228         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
3229         instead of _IO_init.
3231 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3233         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
3235 2016-06-23  Florian Weimer  <fweimer@redhat.com>
3237         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
3238         potentially unused.
3240 2016-06-22  Florian Weimer  <fweimer@redhat.com>
3242         * test-skeleton.c (write_message): New function.
3243         * malloc/tst-mallocfork2.c (write_message): Remove.
3244         * debug/tst-longjmp_chk2.c (write_indented): New function.
3245         (write_message): Remove.
3246         (stackoverflow_handler): Call write_indented.
3248 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
3250         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
3251         "inexact" exceptions after fnstenv.
3252         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
3253         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3254         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
3256 2015-06-22  Zack Weinberg  <zackw@panix.com>
3258         * sysdeps/generic/bits/hwcap.h: Moved to ...
3259         * bits/hwcap.h: Here.
3261 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
3263         * sysdeps/aarch64/memcpy.S (memcpy):
3264         Further tuning for performance.
3266 2016-06-21  Florian Weimer  <fweimer@redhat.com>
3268         [BZ #20284]
3269         * malloc/arena.c (reused_arena): Do not return NULL if we start
3270         out with a non-corrupted arena.
3272 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3274         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
3275         * misc/tst-preadvwritev.c: New file.
3276         * misc/tst-preadvwritev64.c: Likewise.
3277         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
3278         usage.
3279         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3280         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3281         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3282         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
3284 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3286         [BZ #19654]
3287         * sysdeps/x86_64/fpu/Makefile: Added new tests.
3288         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
3289         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
3290         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
3291         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
3292         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
3293         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
3294         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
3295         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
3296         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
3297         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
3298         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
3299         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
3300         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
3301         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
3302         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
3303         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
3304         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
3305         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
3306         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
3307         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
3308         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
3309         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
3310         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
3311         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
3312         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
3314 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3316         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
3317         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
3319 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
3321         * sysdeps/aarch64/memcpy.S (memcpy):
3322         Rewrite of optimized memcpy and memmove.
3323         * sysdeps/aarch64/memmove.S (memmove): Remove
3324         memmove code (merged into memcpy.S).
3326 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3328         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
3329         * sysdeps/generic/dl-dtv.h: New file.
3330         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3331         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
3332         (dtv_t): Remove.
3333         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3334         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
3335         (dtv_t): Remove.
3336         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3337         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
3338         (dtv_t): Remove.
3339         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3340         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
3341         (dtv_t): Remove.
3342         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3343         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
3344         (dtv_t): Remove.
3345         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3346         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
3347         (dtv_t): Remove.
3348         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3349         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
3350         (dtv_t): Remove.
3351         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
3352         (dtv_t): Remove.
3353         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3354         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
3355         (dtv_t): Remove.
3356         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3357         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
3358         (dtv_t): Remove.
3359         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3360         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
3361         (dtv_t): Remove.
3362         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3363         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
3364         (dtv_t): Remove.
3365         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3366         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
3367         (dtv_t): Remove.
3368         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3369         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
3370         (dtv_t): Remove.
3371         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3372         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
3373         (dtv_t): Remove.
3374         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
3375         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
3376         (dtv_t): Remove.
3378 2016-06-20  Florian Weimer  <fweimer@redhat.com>
3380         Revert symbol poisoning of  __malloc_initialize_hook.
3381         * include/stdc-predef.h (__malloc_initialize_hook): Remove
3382         poisoning.
3383         * malloc/Makefile: Remove un-poisoning.
3384         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
3385         instead of old__malloc_initialize_hook.
3386         * malloc/malloc-hooks.h: Likewise.
3387         * malloc/malloc.c: Likewise.
3388         * malloc/mcheck-init.c: Likewise.
3390 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
3392         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
3394 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
3396         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
3397         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
3398         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3399         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3401 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3403         * NEWS: Mention addition of nextup and nextdown.
3404         * manual/arith.texi: Document nextup and nextdown.
3405         * manual/libm-err-tab.pl: Add nextup and nextdown.
3406         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
3407         * math/Versions (libm): Add GLIBC_2.24.
3408         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
3409         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3410         Add new test.
3411         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
3412         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
3413         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
3414         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
3415         (nextup_test_data): Likewise.
3416         (nextdown_test_data): Likewise.
3417         * math/s_nextdown.c: New file.
3418         * math/s_nextdownf.c: Likewise.
3419         * math/s_nextdownl.c: Likewise.
3420         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
3421         F(nextup): New function.
3422         F(nextdown): Likewise.
3423         * math/tgmath.h: Add nextup and nextdown.
3424         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
3425         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
3426         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3427         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
3428         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
3429         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
3430         Add nextup and nextdown.
3431         (CFLAGS-nldbl-nextup.c): New variable.
3432         (CFLAGS-nldbl-nextdown.c): Likewise.
3433         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
3434         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
3435         * sysdeps/nacl/libm.abilist: Update.
3436         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3437         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3438         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3439         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3440         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3441         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3442         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3443         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3444         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3445         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3446         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3447         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
3449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3450         Likewise.
3451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
3453         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3454         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3455         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3456         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3457         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
3459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
3460         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3461         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3462         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
3463         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3465 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3467         * manual/pattern.texi: Fix typos & grammar errors.
3469 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3471         * manual/search.texi: Fix typos & grammar errors.
3473 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3475         * manual/message.texi: Fix typos & grammar errors.
3477 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3479         * manual/contrib.texi: Fix spelling typos.
3480         * manual/crypt.texi: Likewise.
3481         * manual/filesys.texi: Likewise.
3482         * manual/locale.texi: Likewise.
3483         * manual/message.texi: Likewise.
3484         * manual/nss.texi: Likewise.
3485         * manual/string.texi: Likewise.
3487 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3489         * manual/locale.texi: Fix typos & grammar errors.
3491 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3493         * manual/charset.texi: Fix typos & grammar errors.
3495 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3497         * manual/string.texi: Fix typos.
3499 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3501         * manual/ctype.texi: Fix typos.
3503 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3505         * manual/memory.texi: Fix various typos & grammar errors.
3507 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3509         [BZ #20255]
3510         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3511         * math/libm-test.inc (fdim_test_data): Add another test.
3513         [BZ #6796]
3514         [BZ #20255]
3515         [BZ #20256]
3516         * math/s_fdim.c: Include <math_private.h>.
3517         (__fdim): Use math_narrow_eval on result.
3518         * math/s_fdimf.c: Include <math_private.h>.
3519         (__fdimf): Use math_narrow_eval on result.
3520         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3521         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3522         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3523         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3524         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3525         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3526         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3527         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3528         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3529         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3530         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3531         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3532         overflow.  Add sNaN tests.
3534         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3535         fpclassify.
3536         * math/s_fdimf.c (__fdimf): Likewise.
3537         * math/s_fdiml.c (__fdiml): Likewise.
3539 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3541         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3542         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3544         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3545         ifunc'ed strcasecmp/strncasecmp.
3546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3547         [EALIGN]: Removed.
3548         [END]: Likewise.
3549         [__strcasecmp]: Define instead of the above to control symbol name.
3550         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3551         for __strcasecmp_power8.
3552         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3553         for __strncasecmp_power8.
3554         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3555         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3556         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3557         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3558         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3559         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3561 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3563         [BZ #20252]
3564         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3565         arguments when second argument is a NaN.
3566         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3567         qNaN tests.
3569         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3570         (conj_test_data): Likewise.
3571         (copysign_test_data): Likewise.
3572         (creal_test_data): Likewise.
3573         (fma_test_data): Likewise.
3574         (fmod_test_data): Likewise.
3576         [BZ #20250]
3577         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3578         itself.
3579         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3580         zero input to itself.
3581         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3582         Likewise.
3583         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3584         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3585         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3586         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3587         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3589 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3591         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3592         * nptl/tst-cancel4-common.c: New file.
3593         * nptl/tst-cancel4-common.h: Likewise.
3594         * nptl/tst-cancel4.c: Move common definitions to
3595         tst-cancel4-common.{c,h} file.
3596         * nptl/tst-cancel4_1.c: New test.
3597         * nptl/tst-cancel4_2.c: New test.
3599 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3601         [BZ #20248]
3602         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3603         (write_message): New function.
3604         (stackoverflow_handler): Call it instead of printf, to avoid
3605         excessive stack usage by printf.
3606         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3608 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3610         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3611         (prio_inherit_missing): Remove define.
3612         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3613         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3614         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3615         Likewise.
3616         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3617         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3618         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3619         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3620         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3621         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3623 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3625         [BZ #19670]
3626         [BZ #19672]
3628         * io/test-lfs.c (do_prepare): Use xmalloc.
3629         * io/tst-fcntl.c (do_prepare): Likewise.
3630         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3631         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3632         * login/tst-utmp.c (do_prepare): Likewise.
3633         * posix/tst-exec.c (do_prepare): Likewise.
3634         * posix/tst-pathconf.c (prepare): Likewise.
3635         * posix/tst-spawn.c (do_prepare): Likewise.
3636         * posix/tst-truncate.c (do_prepare): Likewise.
3637         * rt/tst-aio.c (do_prepare): Likewise.
3638         * rt/tst-aio64.c (do_prepare): Likewise.
3640 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3642         [BZ #20237]
3643         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3644         (get*ent): Set entidx to NULL during initialization.  If entidx is
3645         NULL, start iteration from the beginning.
3647 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3649         * malloc/malloc.c (musable): Return correct size for dumped fake
3650         mmapped chunk.
3652 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3654         [BZ #20222]
3655         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3656         (_IO_cookie_write): Likewise.
3657         (_IO_cookie_seek): Likewise.
3658         (_IO_cookie_close): Likewise.
3659         (_IO_old_cookie_seek): Likewise.
3660         (set_callbacks): New function.
3661         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3663 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3665         * locale/programs/localedef.c (oldstyle_tables): Remove.
3666         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3668 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3670         [BZ #20240]
3671         * math/Makefile (CFLAGS-s_modf.c): New variable.
3672         (CFLAGS-s_modff.c): Likewise.
3673         (CFLAGS-s_modfl.c): Likewise.
3674         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3676 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3678         [BZ #20215]
3679         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3680         [!__GNUC_PREREQ (3,2)]: Likewise.
3682 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3684         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3685         (msghdr.msg_controllen): Likewise.
3686         (cmsghdr.cmsg_len): Likewise.
3687         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3688         ptw-oldsendmsg.
3689         (CFLAGS-oldrecvmsg.c): Remove rule.
3690         (CFLAGS-oldsendmsg.c): Likewise.
3691         (CFLAGS-recvmsg.c): Add rule.
3692         (CFLAGS-sendmsg.c): Likewise.
3693         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3694         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3695         (CFLAGS-recvmsg.c): Remove rule.
3696         (CFLAGS-sendmsg.c): Likewise.
3697         (CFLAGS-oldrecvmsg.c): Likewise.
3698         (CFLAGS-oldsendmsg.c): Likewise.
3699         (CFLAGS-recvmmsg.c): Likewise.
3700         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3701         to kernel defined interfaces.
3702         (msghdr.msg_controllen): Likewise.
3703         (cmsghdr.cmsg_len): Likewise.
3704         (msghdr.__glibc_reserved1): Remove member.
3705         (msghdr.__glibc_reserved2): Likewise.
3706         (cmsghdr.__glibc_reserved1): Likewise.
3707         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3708         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3709         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3710         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3711         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3712         version.
3713         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3714         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3715         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3716         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3717         Remove recvmsg and sendmsg.
3718         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3719         Likewise.
3720         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3721         Likewise.
3722         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3723         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3724         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3725         Likewise.
3726         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3727         Likewise.
3728         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3729         [libc] (GLIBC_2.24): Likewise.
3730         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3731         Likewise.
3732         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3733         Likewise.
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3735         [libc] (GLIBC_2.24): Likewise.
3736         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3737         Likewise.
3738         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3739         Likewise.
3740         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3741         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3742         Likewise.
3743         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3744         Likewise.
3745         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3746         Likewise.
3747         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3748         Likewise.
3749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3750         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3751         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3752         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3753         version for {recv,send,recm,sendm}msg.
3754         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3755         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3756         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3757         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3758         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3759         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3760         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3761         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3762         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3763         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3764         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3765         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3767         Likewise.
3768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3769         Likewise.
3770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3772         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3773         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3774         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3775         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3776         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3777         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3781         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3782         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3784 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3786         [BZ #19564]
3787         Remove __malloc_initialize_hook from the API.
3788         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3789         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3790         #pragma GCC poison.
3791         * malloc/malloc-hooks.h: New file.
3792         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3793         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3794         (old__malloc_initialize_hook): Rename from
3795         __malloc_initialize_hook to evade poisoning.  Turn into compat
3796         symbol.
3797         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3798         __malloc_initialize_hook.
3799         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3800         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3801         * manual/memory.texi (Hooks for Malloc): Remove
3802         __malloc_initialize_hook.  Adjust hook example.
3804 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3806         [BZ #20235]
3807         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3808         itself.
3809         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3810         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3812         [BZ #20234]
3813         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3814         infinity or NaN input to itself.
3816         [BZ #20233]
3817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3818         to itself.
3820         [BZ #20232]
3821         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3822         itself.
3824 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3826         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3827         __libc_start_main via GOT.
3829 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3831         * sysdeps/x86_64/memcopy.h: New file.
3832         * sysdeps/x86_64/wordcopy.c: Likewise.
3834 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3836         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3837         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3838         <cstdlib>.
3839         (optimization_barrier): New.
3840         (do_test): Use it.  Call quick_exit in the global namespace.
3841         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3842         instead of <cstdlib>, <thread>.
3843         (optimization_barrier): New.
3844         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3845         Call quick_exit in the global namespace.
3846         (do_test): Call optimization_barrier.  Use pthread_create,
3847         pthread_join instead of std::thread.
3849 2016-06-09  Andreas Schwab  <schwab@suse.de>
3851         [BZ #19755]
3852         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3853         new entries in auto-propagate mode.
3854         * nscd/grpcache.c (cache_addgr): Likewise.
3856 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3858         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3859         New functions.
3860         (add_temp_file): Use them.
3862 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3864         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3866 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3868         [BZ #20229]
3869         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3870         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3871         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3873         [BZ #20228]
3874         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3875         itself.
3876         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3877         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3879         [BZ #20227]
3880         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3881         itself.
3882         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3883         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3884         * math/libm-test.inc (log_test_data): Add sNaN tests.
3886         [BZ #20226]
3887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3888         itself.
3889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3890         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3891         (exp10_test_data): Likewise.
3892         (expm1_test_data): Likewise.
3894         [BZ #20225]
3895         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3896         itself.
3897         * math/s_ldexpf.c (__ldexpf): Likewise.
3898         * math/s_ldexpl.c (__ldexpl): Likewise.
3899         * math/w_scalbln.c (__w_scalbln): Likewise.
3900         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3901         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3902         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3903         (scalbln_test_data): Likewise.
3905         [BZ #20224]
3906         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3907         argument to itself.
3908         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3910 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3912         [BZ #19776]
3913         * sysdeps/x86_64/memcpy.S: Make it dummy.
3914         * sysdeps/x86_64/mempcpy.S: Likewise.
3915         * sysdeps/x86_64/memmove.S: New file.
3916         * sysdeps/x86_64/memmove_chk.S: Likewise.
3917         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3918         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3919         * sysdeps/x86_64/memmove.c: Removed.
3920         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3921         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3922         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3923         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3924         Likewise.
3925         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3926         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3928         memcpy-sse2-unaligned, memmove-avx-unaligned,
3929         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3930         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3931         (__libc_ifunc_impl_list): Replace
3932         __memmove_chk_avx512_unaligned_2 with
3933         __memmove_chk_avx512_unaligned.  Remove
3934         __memmove_chk_avx_unaligned_2.  Replace
3935         __memmove_chk_sse2_unaligned_2 with
3936         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3937         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3938         with __memmove_avx512_unaligned.  Replace
3939         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3940         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3941         with __memcpy_chk_avx512_unaligned.  Remove
3942         __memcpy_chk_avx_unaligned_2.  Replace
3943         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3944         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3945         Replace __memcpy_avx512_unaligned_2 with
3946         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3947         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3948         with __mempcpy_chk_avx512_unaligned.  Remove
3949         __mempcpy_chk_avx_unaligned_2.  Replace
3950         __mempcpy_chk_sse2_unaligned_2 with
3951         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3952         Replace __mempcpy_avx512_unaligned_2 with
3953         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3954         Replace __mempcpy_sse2_unaligned_2 with
3955         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3956         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3957         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3958         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3959         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3960         (ENTRY): Removed.
3961         (END): Likewise.
3962         (ENTRY_CHK): Likewise.
3963         (libc_hidden_builtin_def): Likewise.
3964         Don't include ../memcpy.S.
3965         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3966         __memcpy_chk_avx512_unaligned_erms and
3967         __memcpy_chk_avx512_unaligned.  Use
3968         __memcpy_chk_avx_unaligned_erms and
3969         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3970         Default to __memcpy_chk_sse2_unaligned.
3971         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3972         Change function suffix from unaligned_2 to unaligned.
3973         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3974         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3975         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3976         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3977         (ENTRY): Removed.
3978         (END): Likewise.
3979         (ENTRY_CHK): Likewise.
3980         (libc_hidden_builtin_def): Likewise.
3981         Don't include ../mempcpy.S.
3982         (mempcpy): New.  Add a weak alias.
3983         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3984         __mempcpy_chk_avx512_unaligned_erms and
3985         __mempcpy_chk_avx512_unaligned.  Use
3986         __mempcpy_chk_avx_unaligned_erms and
3987         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3988         Default to __mempcpy_chk_sse2_unaligned.
3990 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3992         [BZ #19881]
3993         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3994         into ...
3995         * sysdeps/x86_64/memset.S: This.
3996         (__bzero): Removed.
3997         (__memset_tail): Likewise.
3998         (__memset_chk): Likewise.
3999         (memset): Likewise.
4000         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
4001         defined.
4002         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
4003         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
4004         (__memset_zero_constant_len_parameter): Check SHARED instead of
4005         PIC.
4006         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4007         memset-avx2 and memset-sse2-unaligned-erms.
4008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4009         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
4010         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
4011         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4012         (__bzero): Enabled.
4013         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
4014         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
4015         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
4016         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
4017         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
4018         (memset): Removed.
4019         (__memset_chk): Likewise.
4020         (MEMSET_SYMBOL): New.
4021         (libc_hidden_builtin_def): Replace __memset_sse2 with
4022         __memset_sse2_unaligned.
4023         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
4024         __memset_chk_sse2 and __memset_chk_avx2 with
4025         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
4026         Use __memset_chk_sse2_unaligned_erms or
4027         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
4028         __memset_chk_avx512_unaligned_erms and
4029         __memset_chk_avx512_unaligned.
4031 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4033         * math/gen-auto-libm-test.c (fp_format_desc): remove
4034         suffix member.
4035         (output_generic_value): Remove usage of suffix member,
4036         and the resulting unuse of the fp_format argument.
4037         (output_for_one_input_case): Remove unused fp_format
4038         parameter.
4040         * math/auto-libm-test-out: Regenerate.
4042         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
4043         usage with TEST_COND_ibm128.
4044         (TEST_COND_flt_32): Remove.
4045         (TEST_COND_dbl_64): Remove.
4046         (TEST_COND_ldbl_96_intel): Remove.
4047         (TEST_COND_ldbl_96_m68k): Remove.
4048         (TEST_COND_ldbl_128): Remove.
4050 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4052         * auto-libm-test-in:
4053         Replace flt-32 usage with binary32.
4054         Replace dbl-64 usage with binary64.
4055         Replace ldbl-intel-96 usage with intel96.
4056         Replace ldbl-m68k-96 usage with m68k96.
4057         Replace ldbl-128ibm usage with ibm128.
4058         Replace ldbl-128 usage with binary128.
4060         * auto-libm-test-out: Regenerate.
4062 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4064         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
4065         (parse_ulps): Dynamically generate type name matching
4066         string from all_floats.
4067         (get_ulps): Generate the ulps as an array instead.
4068         (output_ulps): Dynamically compose the type based
4069         on the number of supported formats, and print
4070         the indices as type specific helper macros.
4072         * math/libm-test.inc: Remove comment about CHOOSE.
4073         (ulp_data): Generate the type in libm-test-ulps.h.
4074         (ULP_IDX): New macro.
4075         (find_ulps): Update usage of max_ulp.
4077         * math/test-double-vlen2.h (CHOOSE): Remove.
4078         * math/test-double-vlen4.h (CHOOSE): Likewise.
4079         * math/test-double-vlen8.h (CHOOSE): Likewise.
4080         * math/test-float.c (CHOOSE): Likewise.
4081         * math/test-float-finite.c (CHOOSE): Likewise.
4082         * math/test-double.c (CHOOSE): Likewise.
4083         * math/test-double-finite.c (CHOOSE): Likewise.
4084         * math/test-idouble.c (CHOOSE): Likewise.
4085         * math/test-ifloat.c (CHOOSE): Likewise.
4086         * math/test-ildoubl.c (CHOOSE): Likewise.
4087         * math/test-ldouble-finite.c (CHOOSE): Likewise.
4088         * math/test-ldouble.c (CHOOSE): Likewise.
4090         * math/test-float.h (TEST_FLOAT): Remove.
4091         * math/test-double.h (TEST_DOUBLE): Likewise.
4092         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
4094 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4096         * math/gen-libm-test.pl: (apply_lit): New subroutine.
4097         (parse_args): Strip C suffix from floating point literals
4098         typed with 'f' and wrap them with LIT().
4100         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
4101         (test_ff_f_data_nexttoward): Rename to
4102         (test_fj_f_data): New struct.
4103         (nexttoward_test_data): Relabel tests as
4104         TEST_fj_f instead of TEST_ff_f.
4106 2016-06-08  Florian Weimer  <fweimer@redhat.com>
4108         Emacs bug 23726.
4109         * malloc/malloc.c (dumped_main_arena_start): Update comment.
4110         (__libc_realloc): Correct size computation for dumped fake mmapped
4111         chunks.
4113 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
4115         [BZ #20219]
4116         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
4117         to itself.
4118         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
4120         [BZ #20218]
4121         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
4122         to itself.
4123         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
4125 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
4127         [BZ #20195]
4128         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
4129         check to ...
4130         (init_cpu_features): Here.
4132 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
4134         [BZ #20214]
4135         * sysdeps/unix/sysv/linux/bits/in.h
4136         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4137          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
4138         Define to 1.
4139         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
4140          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
4141         Define to 0.
4142         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
4143         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
4145 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
4147         [BZ #20198]
4148         * stdlib/Makefile (tests): Add tst-quick_exit, and
4149         tst-thread-quick_exit.
4150         [ifeq ($(have-cxx-thread_local),yes)]
4151         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
4152         (CFLAGS-tst-thread-quick_exit.o): Likewise.
4153         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
4154         (LDLIBS-tst-thread-quick_exit): Likewise.
4155         [ifneq ($(have-cxx-thread_local),yes)]
4156         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
4157         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
4158         If run_dtors is true call __call_tls_dtors.
4159         (exit): Call __run_exit_handlers with run_dtors set to true.
4160         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
4161         definition.
4162         * stdlib/quick_exit.c (quick_exit): Remove function.
4163         (__new_quick_exit): New function.
4164         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
4165         function.
4166         * stdlib/tst-quick_exit.cc: New file.
4167         * stdlib/tst-thread-quick_exit.cc: New file.
4168         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
4169         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
4170         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
4171         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
4172         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
4173         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
4174         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
4175         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
4176         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
4177         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
4178         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
4179         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
4180         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
4181         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
4182         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
4183         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
4185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
4186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
4187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
4188         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
4189         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
4190         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
4191         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
4192         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
4193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
4194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
4195         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
4196         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
4197         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
4199 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
4201         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
4202         a typo in comments.
4204 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4206         [BZ #20213]
4207         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
4208         argument to itself.
4209         * math/libm-test.inc (asin_test_data): Add sNaN tests.
4211 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4213         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
4214         required flags.
4215         (CFLAGS-pwritev64.c): Likewise.
4216         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
4217         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4218         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
4219         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4220         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
4221         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
4222         syscall from auto-generation.
4223         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
4224         [WORDSIZE == 64] (pwritev64): Remove macro.
4225         [!PWRITEV] (PWRITEV): Likewise.
4226         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4227         [!PWRITEV] (PWRITE): Likewise.
4228         [!PWRITEV] (OFF_T): Likewise.
4229         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
4230         (LO_HI_LONG): Remove macro.
4231         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
4232         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
4233         (PWRITEV): Remove macro.
4234         (PWRITEV_REPLACEMENTE): Likewise.
4235         (PWRITE): Likewise.
4236         (OFF_T): Likewise.
4237         (pwritev64): New function.
4238         * nptl/tst-cancel4.c (tf_writev): Add test.
4240         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
4241         required flags.
4242         (CFLAGS-preadv64.c): Likewise.
4243         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
4244         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4245         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
4246         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
4247         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
4248         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
4249         syscall from auto-generation.
4250         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
4251         [WORDSIZE == 64] (preadv64): Remove macro.
4252         [!PREADV] (PREADV): Likewise.
4253         [!PREADV] (PREADV_REPLACEMENT): Likewise.
4254         [!PREADV] (PREAD): Likewise.
4255         [!PREADV] (OFF_T): Likewise.
4256         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
4257         (LO_HI_LONG): Remove macro.
4258         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
4259         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
4260         (PREADV): Remove macro.
4261         (PREADV_REPLACEMENTE): Likewise.
4262         (PREAD): Likewise.
4263         (OFF_T): Likewise.
4264         (preadv64): New function.
4265         * nptl/tst-cancel4.c (tf_preadv): Add test.
4267 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
4269         [BZ #20212]
4270         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
4271         argument to itself.
4272         * math/libm-test.inc (acos_test_data): Add sNaN tests.
4274 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4276         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
4277         New symbol defined as libc_hidden_def.
4278         (strcasestr): Became a weak alias to __strcasestr.
4279         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
4280         according to multi-arch support.  Move __stpncpy hidden
4281         definition from here to...
4282         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
4283         symbol stpncpy.
4284         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
4285         libc_hidden_builtin_def.
4286         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
4287         memset symbol to use when multi-arch support is available.
4289 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4291         * dlfcn/tst-rec-dlopen.c: Include string.h.
4293 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4295         * manual/install.texi: Remove mention of --without-tls
4296         * INSTALL: Regenerate.
4298 2016-06-05  Florian Weimer  <fweimer@redhat.com>
4300         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
4301         Remove.
4302         (call_function, interposed_malloc_called): New variables.
4303         (malloc): New function.
4304         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
4305         and clear call_function as needed.
4307 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
4309         * include/wchar.h (__wmemset): Use __typeof.
4311 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
4313         * include/wchar.h (__wmemset): Declare function without typeof.
4315 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
4317         [BZ #20205]
4318         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
4319         exponent when incrementing negative subnormal with low mantissa
4320         word zero.
4321         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4322         Add another test.
4324 2016-06-03  Florian Weimer  <fweimer@redhat.com>
4326         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
4327         __wmemset instead of wmemset.
4329 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
4331         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
4332         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
4333         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
4334         __USE_KERNEL_IPV6_DEFS to 0.
4335         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
4336         Update comment.
4338 2016-06-01  Florian Weimer  <fweimer@redhat.com>
4340         [BZ #19861]
4341         Do not use IFUNC resolver with potentially unrelocated symbol.
4342         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
4343         (DEFINE_FORK): Remove macro and inline definition.
4344         (fork_alias): Renamed from fork_ifunc.
4345         (__fork_alias): Renamed from __fork_ifunc.
4347 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
4349         [BZ 19653]
4350         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
4351         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
4353 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4355         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4356         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
4357         i386-linux-gnu).
4358         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
4359         Set to no.
4360         * sysdeps/mach/hurd/configure: Refresh.
4362 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4364         [BZ #20178]
4365         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
4366         on failure instead of exit.
4368 2016-05-30  Roland McGrath  <roland@hack.frob.com>
4370         [BZ #3629]
4371         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
4372         of POSIX.1-2008.
4374 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4376         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
4377           Use PLT entry for calling _hurd_self_sigstate.
4379 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
4381         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
4382         available logical processors with SMT level type sharing L2
4383         cache for Intel processors.
4385 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4387         [BZ #20160]
4388         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
4389         argument to itself before returning the result.
4390         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4391         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4392         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
4394         Likewise.
4395         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
4396         Likewise.
4397         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
4398         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
4399         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
4400         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
4401         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4402         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4404         [BZ #20160]
4405         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
4406         argument to itself before returning the result.
4407         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4408         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4409         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4410         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
4411         Likewise.
4412         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4413         Likewise.
4414         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
4415         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
4416         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
4417         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
4418         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4419         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4421 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4423         * libm-test.inc: Replace usage of M_El with
4424         (lit_e): New macro.
4426 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4428         * libm-test.inc: Replace usage of M_PI_4l with
4429         (lit_pi_4_d): New macro.
4431 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4433         * libm-test.inc: Replace usage of M_PIl with
4434         (lit_pi): New macro.
4436 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4438         * libm-test.inc: Replace usage of M_PI2l with
4439         (lit_pi_2_d): New macro.
4441         * math/test-double.h (LITM): New macro.
4442         * math/test-float.h (LITM): Likewise.
4443         * math/test-ldouble.h (LITM): Likewise.
4445 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4447         * libm-test.inc (M_PI_34l): Rename to
4448         (lit_pi_3_m_4_d): New Macro.
4449         (M_PI_34_LOG10El): Rename to
4450         (lit_pi_3_m_4_ln10_m_d): New Macro.
4451         (M_PI2_LOG10El): Rename to
4452         (lit_pi_2_ln10_m_d):  New Macro.
4453         (M_PI4_LOG10El): Rename to
4454         (lit_pi_4_ln10_m_d):  New Macro.
4455         (M_PI_LOG10El): Rename to
4456         (lit_pi_ln10_d):  New Macro.
4458 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4460         [BZ #20157]
4461         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
4462         determine whether to negate low half if [_ARCH_PPCGR], and integer
4463         comparison otherwise.
4464         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
4465         determine whether to negate low half.
4467         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
4468         (NO_TEST_INLINE_DOUBLE): Likewise.
4469         (TEST_COND_x86_64): Likewise.
4470         (TEST_COND_x86): Likewise.
4471         (M_PI_6l): Likewise.
4473 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4475         * math/libm-test.inc:
4476         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4477         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4478         (TEST_LDOUBLE): Update usage to evaluate as true if
4479         the guarded tests match the property being tested.
4480         (LDBL_MAX_EXP): Change to MAX_EXP.
4481         (LDBL_MIN_EXP): Change to MIN_EXP.
4482         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4483         nexttoward tests.
4485 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4487         * math/libm-test.inc:
4488         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4489         (TYPE_MIN): Likewise.
4490         (TYPE_TRUE_MIN): Likewise.
4491         (TYPE_MAX): Likewise.
4492         (MIN_EXP): Likewise.
4493         (MAX_EXP): Likewise.
4494         (MANT_DIG): Likewise.
4496         (FSTR_MAX): New macro.
4497         (__CONCATX): Likewise.
4498         (QTYPE_STR): Likewise.
4499         (TEST_COND_binary32): Likewise.
4500         (TEST_COND_binary64): Likewise.
4501         (TEST_COND_binary128): Likewise.
4502         (TEST_COND_ibm128): Likewise.
4503         (TEST_COND_intel96): Likewise.
4504         (TEST_COND_m68k96): Likewise.
4506         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4507         (TEST_COND_dbl_64): Likewise.
4508         (TEST_COND_ldbl_96_intel): Likewise.
4509         (TEST_COND_ldbl_96_m68k): Likewise.
4510         (TEST_COND_ldbl_128): Likewise.
4511         (TEST_COND_ldbl_128ibm): Likewise.
4513         (plus_zero): Redefine using LIT macro.
4514         (minus_zero): Likewise.
4515         (plus_infty): Redefine as (INF).
4516         (minux_infty): Redefine as (-INF).
4517         (max_value): Redefine as TYPE_MAX.
4518         (min_value): Redefine as TYPE_MIN.
4519         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4521         (print_float): Refactor to use snprintf to convert FLOAT values
4522         to string. This brings it closer to dropin replacement of strtof
4523         for the TS 18661 defined types.
4524         (update_stats): Likewise.
4525         (print_complex_function_ulps): Likewise.
4526         (print_max_error): Likewise.
4527         (print_complex_max_error): Likewise.
4528         (check_float_internal): Likewise.
4530         * math/test-float.h (PREFIX): New macro.
4531         (LIT): Likewise.
4532         (TYPE_STR): Likewise.
4533         (FTOSTR): Likewise.
4535         * math/test-double.h (PREFIX): New macro.
4536         (LIT): Likewise.
4537         (TYPE_STR): Likewise.
4538         (FTOSTR): Likewise.
4540         * math/test-ldouble.h (PREFIX): New macro.
4541         (LIT): Likewise.
4542         (TYPE_STR): Likewise.
4543         (FTOSTR): Likewise.
4545 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4547         [BZ #20156]
4548         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4549         to itself when zero or not finite.
4550         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4551         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4552         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4553         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4555 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4557         [BZ #20153]
4558         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4559         x * x + x for infinities and NaNs.
4561         [BZ #20151]
4562         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4563         argument to itself before returning result.
4564         (__ieee754_y0l): Likewise.
4565         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4566         (__ieee754_y1l).
4568         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4569         (atan_test_data): Likewise.
4570         (ceil_test_data): Likewise.
4571         (cos_test_data): Likewise.
4572         (cosh_test_data): Likewise.
4573         (erf_test_data): Likewise.
4574         (exp2_test_data): Likewise.
4575         (fabs_test_data): Likewise.
4576         (floor_test_data): Likewise.
4577         (ilogb_test_data): Likewise.
4578         (j0_test_data): Likewise.
4579         (j1_test_data): Likewise.
4580         (jn_test_data): Likewise.
4581         (lgamma_test_data): Likewise.
4582         (lrint_test_data): Likewise.
4583         (llrint_test_data): Likewise.
4584         (logb_test_data): Likewise.
4585         (lround_test_data): Likewise.
4586         (llround_test_data): Likewise.
4587         (nearbyint_test_data): Likewise.
4588         (rint_test_data): Likewise.
4589         (round_test_data): Likewise.
4590         (sin_test_data): Likewise.
4591         (sincos_test_data): Likewise.
4592         (sinh_test_data): Likewise.
4593         (sqrt_test_data): Likewise.
4594         (tan_test_data): Likewise.
4595         (tanh_test_data): Likewise.
4596         (tgamma_test_data): Likewise.
4597         (trunc_test_data): Likewise.
4598         (y0_test_data): Likewise.
4599         (y1_test_data): Likewise.
4600         (yn_test_data): Likewise.
4602         * math/libm-test.inc: Update comment about NaN testing.
4603         (TEST_SNAN): New macro.
4604         (snan_value): Likewise.
4605         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4606         (fpclassify_test_data): Add sNaN tests.
4607         (isfinite_test_data): Likewise.
4608         (isinf_test_data): Likewise.
4609         (isnan_test_data): Likewise.
4610         (isnormal_test_data): Likewise.
4611         (issignaling_test_data): Likewise.
4612         (signbit_test_data): Likewise.
4613         * math/gen-libm-test.pl (%beautify): Add snan_value.
4614         (show_exceptions): Add argument $test_snan.
4615         (parse_args): Handle snan_value as non-finite.  Update call to
4616         show_exceptions.
4617         * math/Makefile (libm-test-no-inline-cflags): Add
4618         -fsignaling-nans.
4620 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4622         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4623         (CFLAGS-oldsendmsg.c): Add rule.
4624         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4625         Correct recvmsg symbol name.
4626         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4627         Likewise.
4629 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4631         * sysdeps/unix/sysv/linux/Makefile
4632         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4633         oldsendmmsg.
4634         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4635         sendmmsg.
4636         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4637         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4638         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4639         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4641         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4642         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4644         Likewise.
4645         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4646         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4647         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4648         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4649         iovlen and controllen fields to adjust to POSIX specification.
4650         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4652         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4653         and change to correct expected type.
4654         (msghdr.msg_controllen): Likewise.
4655         (cmsghdr.cmsg_len): Likewise.
4656         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4657         expected POSIX assumption about the size.
4658         (msghdr.msg_controllen): Likewise.
4659         (msghdr.__glibc_reserved1): Likewise.
4660         (msghdr.__glibc_reserved2): Likewise.
4661         (cmsghdr.cmsg_len): Likewise.
4662         (cmsghdr.__glibc_reserved1): Likewise.
4663         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4664         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4665         (CFLAGS-sendmsg.c): Remove rule.
4666         (CFLAGS-recvmsg.c): Likewise.
4667         (CFLAGS-oldsendmsg.c): Add rule.
4668         (CFLAGS-oldrecvmsg.c): Likewise.
4669         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4670         recvmsg and sendmsg.
4671         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4672         Likewise.
4673         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4674         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4675         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4676         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4677         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4678         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4679         Likewise.
4680         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4681         Likewise.
4682         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4683         Likewise.
4684         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4685         Likewise.
4686         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4687         Likewise.
4688         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4689         Likewise.
4690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4691         (GLIBC_2.24): Likewise.
4692         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4693         Likewise.
4694         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4695         Likewise.
4696         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4697         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4698         Likewise.
4699         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4700         Likewise.
4701         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4702         Likewise.
4703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4704         (GLIBC_2.24): Likewise.
4705         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4706         Likewise.
4707         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4708         Likewise.
4709         * sysdeps/unix/sysv/linux/Makefile
4710         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4711         (CFLAGS-sendmsg.c): Add rule.
4712         (CFLAGS-recvmsg.c): Likewise.
4713         (CFLAGS-oldsendmsg.c): Likewise.
4714         (CFLAGS-oldrecvmsg.c): Likewise.
4715         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4716         initialization.
4717         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4718         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4719         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4720         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4721         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4722         iovlen and controllen fields to adjust to POSIX specification.
4723         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4724         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4725         added recvmsg and sendmsg.
4726         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4727         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4728         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4729         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4731         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4732         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4733         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4734         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4735         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4736         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4737         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4739         Likewise.
4740         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4742         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4743         Likewise.
4744         Likewise.
4745         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4746         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4747         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4748         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4749         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4750         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4752         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4754         Likewise.
4755         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4756         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4758         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4759         from auto-generation.
4760         (sendmsg): Likewise.
4761         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4762         (sendmsg): Likewise.
4763         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4764         (sendmsg): Likewise.
4765         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4766         (sendmsg): Likewise.
4767         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4768         (sendmsg): Likewise.
4769         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4770         (sendmsg): Likewise.
4771         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4772         Likewise.
4773         (sendmsg): Likewise.
4774         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4775         (sendmsg): Likewise.
4776         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4778         Remove.
4779         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4780         Likewise.
4781         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4782         Undefine.
4783         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4784         Likewise.
4785         * sysdeps/unix/sysv/linux/kernel-features.h
4786         (__ASSUME_SENDMSG_SYSCALL): Define.
4787         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4788         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4790         Remove.
4791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4792         Likewise.
4793         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4794         Undefine.
4795         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4796         Likewise.
4797         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4799         Remove.
4800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4801         Likewise.
4802         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4803         Undefine.
4804         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4805         Likewise.
4806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4807         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4808         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4809         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4810         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4811         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4812         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4813         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4814         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4816 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4818         * stdlib/gen-tst-strtod-round.c: Add backslash to
4819         compile command in comment.
4820         (printfp): Remove the literal suffix, and define an infinite
4821         value as INF to avoid expansion clash with INFINITY.
4822         (round_str): Remove the literal suffix.
4823         (round_for_all): Likewise, remove the now duplicate ldbl-64
4824         entry, and remove some magic constants.
4826         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4827         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4828         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4829         (_CONCAT): New macro.
4830         (CONCAT): Likewise.
4831         (CHOOSE_ld): Likewise.
4832         (CHOOSE_f): Likewise.
4833         (CHOOSE_d): Likewise.
4834         (FTYPE_MEMBER): Likewise.
4835         (BOOL_MEMBER): Likewise.
4836         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4837         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4838         (_XNTRY): Likewise.
4839         (XNTRY): Likewise.
4840         (_ENTRY): Likewise.
4841         (ENTRY): Likewise.
4842         (test_exactness): Generate members via macro.
4843         (test_results): Likewise.
4844         (test): Update members.
4845         (TEST): Redefine using new macros.
4846         (INF): New macro.
4847         (fetestmodes): New structure.
4848         (do_test): Refactor to be type generic.
4849         (test_in_one_mode): Refactor duplicate code into
4850         (GEN_ONE_TEST): New macro.
4852         * stdlib/tst-strtod-round-data.h: Regenerate.
4854         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4855         Extend to pass additional arbitrary parameters to
4856         generators.
4858 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4860         [BZ #15479]
4861         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4862         floating-point state after first floating-point operation on
4863         input.  Restore full floating-point state instead of just rounding
4864         mode.
4865         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4866         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4867         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4868         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4869         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4871         [BZ #15479]
4872         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4873         floating-point state after first floating-point operation on
4874         input.  Restore full floating-point state instead of just rounding
4875         mode.
4876         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4877         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4878         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4879         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4880         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4882 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4884         [BZ #19727]
4885         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4886         valid high surrogate.
4887         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4888         of an utf16 surrogate.
4889         * iconv/gconv_simple.c (BODY): Likewise.
4890         * iconvdata/bug-iconv12.c: New file.
4891         * iconvdata/Makefile (tests): Add bug-iconv12.
4893 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4895         [BZ #19726]
4896         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4897         outptrp in case of an illegal input.
4898         * iconv/tst-iconv6.c: New file.
4899         * iconv/Makefile (tests): Add tst-iconv6.
4901 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4903         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4904         an error in case of a value in range of an utf16 low surrogate.
4906 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4908         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4909         an error in case of a value in range of an utf16 low surrogate.
4911 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4913         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4914         Move to ...
4915         * sysdeps/s390/Makefile: ... here.
4916         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4917         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4918         (BRANCH_ON_COUNT): New define.
4919         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4920         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4921         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4922         run on s390-32, too.
4923         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4924         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4925         run on s390-32, too.
4926         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4927         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4928         run on s390-32, too.
4930 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4932         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4933         etf3eh or new vector loop-variant.
4935 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4937         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4938         etf3eh or new vector loop-variant.
4940 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4942         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4943         or new vector loop-variant.
4945 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4947         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4948         Rename to TR_LOOP and usage of tr instead of troo instruction.
4950 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4952         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4955 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4957         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4958         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4959         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4960         New override define.
4961         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4963 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4965         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4966         * sysdeps/s390/configure.ac: Add test for S390 vector register
4967         support in gcc.
4968         * sysdeps/s390/configure: Regenerated.
4970 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4972         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4973         Install file from $(objpfx)gconv-modules.
4974         ($(objpfx)gconv-modules): Concatenate architecture specific file
4975         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4976         * sysdeps/s390/gconv-modules: New file.
4977         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4978         Deleted.
4979         ($(objpfx)gconv-modules-s390): Deleted.
4980         (sysdeps-gconv-modules): New variable.
4982 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4984         [BZ #15479]
4985         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4986         of immediate operand to rounding instruction.
4987         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4988         Likewise.
4989         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4990         Likewise.
4991         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4992         Likewise.
4994 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4996         * math/libm-test.inc (MIN_EXP): Directly define as
4997         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4999 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5001         * math/libm-test.inc (MANT_DIG): Directly define as
5002         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
5004 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5006         * stdlib/gen-tst-strtod-round.c (main):
5007           Change usage to more closely match the generated
5008           output.  Add usage and compilation instructions.
5009           (string_to_fp): Add and use FILE* parameter as
5010           output target.
5011           (print_fp): Likewise.
5012           (round_str): Likewise.
5013           (round_for_all): Likewise.
5014         * stdlib/tst-strtod-round.c (tests): Move into
5015         * stdlib/tst-strtod-round-data.h: New file.
5017 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
5019         [BZ #15479]
5020         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
5021         (__round): Do not force "inexact" exception.
5022         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
5023         variable.
5024         (__round): Do not force "inexact" exception.
5025         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
5026         (__roundf): Do not force "inexact" exception.
5027         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
5028         (__roundl): Do not force "inexact" exception.
5029         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
5030         (__roundl): Do not force "inexact" exception.
5031         * math/libm-test.inc (round_test_data): Do not allow spurious
5032         "inexact" exceptions.
5034         [BZ #15479]
5035         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
5036         exception in comment.
5037         (huge): Remove variable.
5038         (__floor): Do not force "inexact" exception.
5039         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
5040         "inexact" exception in comment.
5041         (huge): Remove variable.
5042         (__floor): Do not force "inexact" exception.
5043         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
5044         exception in comment.
5045         (huge): Remove variable.
5046         (__floorf): Do not force "inexact" exception.
5047         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
5048         exception in comment.
5049         (huge): Remove variable.
5050         (__floorl): Do not force "inexact" exception.
5052         [BZ #15479]
5053         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
5054         exception in comment.
5055         (huge): Remove variable.
5056         (__ceil): Do not force "inexact" exception.
5057         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
5058         "inexact" exception in comment.
5059         (huge): Remove variable.
5060         (__ceil): Do not force "inexact" exception.
5061         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
5062         (__ceilf): Do not force "inexact" exception.
5063         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
5064         exception in comment.
5065         (huge): Remove variable.
5066         (__ceill): Do not force "inexact" exception.
5068 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
5070         * config.h.in (BIND_NOW): New.
5071         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
5072         * configure: Regenerated.
5073         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
5074         indirect branch via the GOT slot.
5076 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5078         [BZ #19765]
5079         * sysdeps/s390/mempcpy.S: New File.
5080         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
5082         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5083         Add mempcpy variants.
5084         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
5085         (memcpy): Adjust to be usable from mempcpy entry point.
5086         (__memcpy_mvcle): Likewise.
5087         * sysdeps/s390/s390-64/memcpy.S: Likewise.
5088         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
5089         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
5090         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
5091         (__memcpy_z10): Likewise.
5092         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5094 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5096         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
5097         Remove __GI_ symbol.
5098         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
5099         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
5100         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
5101         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
5102         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
5103         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
5105 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5107         * sysdeps/s390/s390-64/memcpy.S (memcpy):
5108         Use cghi instead of chi to compare 64bit value.
5110 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5112         * sysdeps/s390/s390-32/memcpy.S (memcpy):
5113         Jump to 1MB check before executing mvc-loop.
5115 2016-05-24  Florian Weimer  <fweimer@redhat.com>
5117         [BZ #6527]
5118         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
5119         unconditionally.
5120         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
5122 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5124         * stdlib/tst-strtod6.c (do_test): Use new type generic
5125         invocation of the test function.
5126         (test): Refactor into ...
5127         (TEST_STRTOD): New macro base function.
5129 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5131         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
5132         (TEST_STRTOD): New macro.
5133         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
5135 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5137         * stdlib/tst-strtod6.c (do_test): Use new type generic
5138         invocation of the test function.
5139         (test): Refactor into ...
5140         (TEST_STRTOD): New macro base function.
5142 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5144         CVE-2016-4429
5145         [BZ #20112]
5146         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
5147         payload.
5149 2016-05-23  Florian Weimer  <fweimer@redhat.com>
5151         [BZ #20111]
5152         * bits/sockaddr.h (_SS_SIZE): Define.
5153         * bits/socket.h (_SS_SIZE): Remove.
5154         (_SS_PADSIZE): Adjust to account for all padding.
5155         (struct sockaddr_storage): Update comment.  Avoid implicit
5156         padding.
5157         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
5158         (_SS_PADSIZE): Adjust to account for all padding.
5159         (struct sockaddr_storage): Update comment.  Avoid implicit
5160         padding.
5161         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
5162         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
5163         (_SS_PADSIZE): Adjust to account for all padding.
5164         (struct sockaddr_storage): Update comment.  Avoid implicit
5165         padding.
5166         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
5167         __SS_SIZE is 126 in this version.
5168         * inet/tst-sockaddr.c: New file.
5169         * inet/Makefile (tests): Add tst-sockaddr.c
5170         (tst-sockaddr.c): Compile with non-strict aliasing.
5172 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
5174         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
5175         [XPG3 || XPG4].
5176         (NL_ARGMAX): Also expect for [XPG3].
5177         (NL_LANGMAX): Likewise.
5178         (NL_MSGMAX): Likewise.
5179         (NL_NMAX): Likewise.
5180         (NL_SETMAX): Likewise.
5181         (NL_TEXTMAX): Likewise.
5182         (NZERO): Likewise.
5183         (TMP_MAX): Likewise.
5184         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
5185         variable.
5187         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
5188         (PF_MAX): Update value.
5189         (AF_KCM): New macro.
5190         (SOL_NETBEUI): Likewise.
5191         (SOL_LLC): Likewise.
5192         (SOL_DCCP): Likewise.
5193         (SOL_NETLINK): Likewise.
5194         (SOL_TIPC): Likewise.
5195         (SOL_RXRPC): Likewise.
5196         (SOL_PPPOL2TP): Likewise.
5197         (SOL_BLUETOOTH): Likewise.
5198         (SOL_PNPIPE): Likewise.
5199         (SOL_RDS): Likewise.
5200         (SOL_IUCV): Likewise.
5201         (SOL_CAIF): Likewise.
5202         (SOL_ALG): Likewise.
5203         (SOL_NFC): Likewise.
5204         (SOL_KCM): Likewise.
5205         (MSG_BATCH): New enum value and macro.
5207 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
5209         [BZ #18185]
5210         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
5211         sharing L2 cache to 2 for Knights Landing.
5213 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
5215         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
5216         (FTW_DP): Do not expect for [XPG3 || XPG4].
5217         (FTW_SL): Do not expect for [XPG3].
5218         (FTW_SLN): Likewise.
5219         (FTW_PHYS): Likewise.
5220         (FTW_MOUNT): Likewise.
5221         (FTW_DEPTH): Likewise.
5222         (FTW_CHDIR): Likewise.
5223         (nftw): Likewise.
5224         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
5225         variable.
5227 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5229         * manual/errno.texi: Fix various typos & grammar errors.
5231 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
5233         * manual/intro.texi: Fix duplicated typo.
5235 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5237         [BZ #13304]
5238         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
5239         <float.h>, <math_private.h> and <stdlib.h>.
5240         (add_split): New function.
5241         (mul_split): Likewise.
5242         (ext_val): New typedef.
5243         (store_ext_val): New function.
5244         (mul_ext_val): New function.
5245         (compare): New function.
5246         (add_split_ext): New function.
5247         (__fmal): After checking for Inf, NaN and zero, compute result as
5248         an exact sum of scaled double values in round-to-nearest before
5249         adding those up and adjusting for other rounding modes.
5250         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
5251         tests of fma.
5252         * math/auto-libm-test-out: Regenerated.
5254 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5256         [BZ #20119]
5257         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
5258         processor level type mask for CPUID with EAX == 11.
5260 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5262         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
5263         logical threads if the HTT bit is 0.
5264         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
5265         (index_cpu_HTT): Likewise.
5266         (reg_HTT): Likewise.
5268 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
5270         [BZ #20115]
5271         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
5272         Remove alignments on jump targets.
5274 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
5276         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
5277         (getpwent): Likewise.
5278         (setpwent): Likewise.
5279         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
5280         variable.
5282         * conform/data/search.h-data (insque): Do not expect for [XPG3].
5283         (remque): Likewise.
5284         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
5285         variable.
5287 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5289         * math/libm-test.inc: Update comment not to refer to signs of NaNs
5290         not being tested.
5292 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5295         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
5296         call.
5297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5298         (__condvar_cleanup1): Likewise.
5300 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5302         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
5303         New
5304         (__pthread_unwind): Renamed to ...
5305         (PTHREAD_UNWIND): This.
5306         (__pthread_enable_asynccancel): Replace
5307         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
5309 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
5311         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
5312         (CLONE_NEWCGROUP): New macro.
5314         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
5315         (Q_GETNEXTQUOTA): New macro.
5317 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5319         [BZ #19907]
5320         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
5321         buffer updated by the previous run.
5322         * string/test-memcpy.c (do_one_test): Likewise.
5323         * benchtests/bench-memmove.c (do_one_test): Add a comment.
5324         * string/test-memmove.c (do_one_test): Likewise.
5326 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
5328         [BZ #20094]
5329         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
5330         not [__USE_XOPEN].
5331         (unlockpt): Likewise.
5332         (ptsname): Likewise.
5333         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
5334         variable.
5336         [BZ #20076]
5337         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
5338         instead of [__USE_UNIX98].
5339         (S_ISSOCK): Likewise.
5340         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
5341         variable.
5343         [BZ #20074]
5344         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
5345         [__USE_POSIX].
5346         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
5347         variable.
5349         [BZ #20051]
5350         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
5351         (ttyslot): Do not declare.
5352         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
5353         (ttyslot): New prototype.
5354         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
5355         variable.
5356         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5358 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5360         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
5362 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5364         Fix race condition in tst-mallocfork2, use fewer resources.
5365         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
5366         to current process group.
5367         (signal_sender): Yield in the non-sleeping case.
5369 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
5371         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
5372         (ecvt): Likewise.
5373         (fcvt): Likewise.
5374         (gcvt): Likewise.
5375         (getsubopt): Likewise.
5376         (grantpt): Likewise.
5377         (initstate): Likewise.
5378         (l64a): Likewise.
5379         (mktemp): Likewise.
5380         (mkstemp): Likewise.
5381         (ptsname): Likewise.
5382         (random): Likewise.
5383         (realpath): Likewise.
5384         (setstate): Likewise.
5385         (srandom): Likewise.
5386         (ttyslot): Likewise.
5387         (unlockpt): Likewise.
5388         (valloc): Likewise.
5390         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
5391         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
5392         variable.
5394 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5396         [BZ #20072]
5397         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
5398         init_cpu_features only if SHARED is defined.
5399         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5401 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
5403         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
5404         non-inclusive caches on Intel processors.
5406 2016-05-13  Florian Weimer  <fweimer@redhat.com>
5408         * malloc/malloc.c (dumped_main_arena_start)
5409         (dumped_main_arena_end): New variables.
5410         (DUMPED_MAIN_ARENA_CHUNK): New macro.
5411         (do_check_chunk): Skip dumped fake mmapped chunks.
5412         (munmap_chunk): Likewise.
5413         (__libc_free): Do not adjust statistics for fake mmapped chunks.
5414         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
5415         mmapped chunks.
5416         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
5417         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
5418         and dumped_main_arena_end to cover the dumped heap.
5420 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
5422         * conform/data/time.h-data (getdate_err): Do not expect for
5423         [XPG3].
5424         (getdate): Likewise.
5425         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
5426         variable.
5428         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
5429         (F_ULOCK): Likewise.
5430         (F_TEST): Likewise.
5431         (F_TLOCK): Likewise.
5432         (useconds_t): Likewise.
5433         (intptr_t): Do not expect for [XPG3] or [XPG4].
5434         (brk): Do not expect for [XPG3]
5435         (fchown): Likewise.
5436         (fchdir): Likewise.
5437         (ftruncate): Likewise.
5438         (getdtablesize): Likewise.
5439         (gethostid): Likewise.
5440         (getpagesize): Likewise.
5441         (getpgid): Likewise.
5442         (getsid): Likewise.
5443         (getwd): Likewise.
5444         (lchown): Likewise.
5445         (lockf): Likewise.
5446         (readlink): Likewise.
5447         (sbrk): Likewise.
5448         (setpgrp): Likewise.
5449         (setregid): Likewise.
5450         (setreuid): Likewise.
5451         (symlink): Likewise.
5452         (sync): Likewise.
5453         (truncate): Likewise.
5454         (ualarm): Likewise.
5455         (usleep): Likewise.
5456         (vfork): Likewise.
5457         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
5458         variable.
5460         [BZ #20054]
5461         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
5462         not [__USE_UNIX98].
5463         * conform/data/unistd.h-data (gethostname): Do not expect for
5464         [XPG3].
5466         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
5467         [!POSIX] (S_IFBLK): Likewise.
5468         [!POSIX] (S_IFCHR): Likewise.
5469         [!POSIX] (S_IFIFO): Likewise.
5470         [!POSIX] (S_IFREG): Likewise.
5471         [!POSIX] (S_IFDIR): Likewise.
5472         [!POSIX] (S_IFLNK): Likewise.
5473         [!POSIX] (S_IFSOCK): Likewise.
5474         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5475         variable.
5476         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5478 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5480         * sysdeps/aarch64/memset.S (__memset):
5481         Rewrite of optimized memset.
5483 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5485         [BZ #19703]
5486         Partially async-signal-safe fork for single-threaded processes.
5487         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5488         variable.  Do not acquire and reset/release malloc and libio locks
5489         in single-threaded processes.
5490         * malloc/tst-mallocfork2.c: New file.
5491         * malloc/Makefile (tests): Add it.
5493 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5495         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5496         argument.  Use scratch buffer instead of extend_alloca.
5497         (gethosts): Use scratch buffer instead of extend_alloca.
5498         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5499         extend_alloca.
5500         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5502 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5504         [BZ #20055]
5505         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5506         instead of [__USE_UNIX98].
5507         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5508         [__USE_UNIX98].
5509         * conform/data/termios.h-data (tcgetsid): Do not expect for
5510         [XPG3].
5511         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5512         variable.
5513         (test-xfail-XPG4/termios.h/conform): Likewise.
5515 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5517         Do not use mcheck in localedef.
5518         * locale/programs/localedef.c (turn_on_mcheck)
5519         (__malloc_initialize_hook): Remove.
5521 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5523         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5524         * sysdeps/s390/s390-64/Makefile: Likewise.
5526 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5528         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5529         Remove ifunc-defines.sym.
5530         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5531         Likewise.
5532         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5533         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5534         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5535         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5536         rtld-global-offsets.sym.
5537         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5538         * sysdeps/x86/cpu-features-offsets.sym: This.
5539         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5540         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5542 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5544         [BZ #20073]
5545         * io/sys/stat.h (fchmod): Declare for
5546         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5547         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5548         variable.
5550         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5551         [XPG3] (S_IFSOCK): Likewise.
5552         [XPG3] (S_ISVTX): Likewise.
5553         [XPG3] (S_ISLNK): Likewise.
5554         [XPG3] (S_ISSOCK): Likewise.
5555         [XPG3] (fchmod): Likewise.
5556         [XPG3] (lstat): Likewise.
5557         [XPG3] (mknod): Likewise.
5559         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5560         [XPG3].  Expect type long and XFAIL for [XPG4].
5561         (st_blocks): Likewise.
5563         [BZ #20044]
5564         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5565         (pthread_atfork): New prototype.
5566         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5567         variable.
5569         [BZ #20043]
5570         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5571         prototype.
5573 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5575         [BZ #20017]
5576         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5577         gmtime.
5579 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5581         [BZ #19994]
5582         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5583         flag in _res.options.
5585 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5587         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5588         [XPG3 || XPG4].
5589         (blksize_t): Likewise.
5590         (clockid_t): Likewise.
5591         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5592         variable.
5593         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5595 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5597         * sysdeps/unix/sysv/linux/s390/init-first.c:
5598         Add VDSO_SYMBOL(getcpu).
5599         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5600         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5601         Add VDSO_SYMBOL(getcpu).
5602         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5603         New define HAVE_GETCPU_VSYSCALL.
5604         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5606 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5608         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5609         instead of <sysdeps/x86_64/cacheinfo.c>.
5610         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5611         * sysdeps/x86/cacheinfo.c: Here.
5613 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5615         * malloc/malloc-internal.h: Adjust header file guard.
5617 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5619         [BZ #19787]
5620         * inet/getnameinfo.c (check_sprintf_result): New function.
5621         (CHECKED_SNPRINTF): New macro.
5622         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5623         to the host buffer.
5624         (gni_host_local): Use checked_copy to copy the host name.
5625         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5626         (gni_serv_local): Use checked_copy to copy the service name.
5627         (getnameinfo): Remove unnecessary truncation of result buffers.
5629 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5631         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5632         in case of inet_ntop failure.
5634 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5636         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5637         avoid long lines.
5638         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5639         variables.
5640         (gni_host_inet, gni_host_local): Add comment.
5641         (gni_host): Add comment.  Use temporary to avoid long lines.
5643 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5645         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5646         registers specifiers where general purpose registers specifiers should
5647         have been used.
5649 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5651         [BZ #19779]
5652         CVE-2016-1234
5653         Avoid copying names of directory entries.
5654         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5655         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5656         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5657         (struct readdir_result): New type.
5658         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5659         (GL_READDIR): New macros.
5660         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5661         (convert_dirent, convert_dirent64): New functions.
5662         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5663         convert_dirent64.  Adjust references to the readdir result.
5664         * sysdeps/unix/sysv/linux/i386/glob64.c:
5665         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5666         * posix/bug-glob2.c (LONG_NAME): Define.
5667         (filesystem): Add LONG_NAME.
5668         (my_DIR): Increase the size of room_for_dirent.
5670 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5672         [BZ #20041]
5673         * misc/sys/select.h (__need_timespec): Only define if
5674         [__USE_XOPEN2K].
5675         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5676         variable.
5677         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5678         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5679         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5681 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5682             Segher Boessenkool  <segher@gcc.gnu.org>
5684         [BZ #20004]
5685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5686         (__novec_swapcontext): Add missing load.
5688 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5690         [BZ #20023]
5691         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5692         <time.h>.
5693         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5694         variable.
5695         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5697 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5700         flags CLONE_VM compare.
5702 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5704         [BZ #20031]
5705         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5706         completely empty.
5708 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5710         [BZ #19573]
5711         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5712         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5713         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5714         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5715         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5716         (hesiod_free_list): Mark as hidden.
5717         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5718         res_set, res_get.
5719         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5720         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5721         (hesiod_init): Remove obsolete res_ninit call.
5722         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5723         (hesiod_bind): Do not call init.
5724         (get_txt_records): Use res_mkquery, res_send instead of
5725         res_nmkquery, res_nsend.
5726         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5727         instead of _nss_hesiod_init.
5728         (_nss_hesiod_initgroups_dyn): Likewise.
5729         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5730         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5731         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5733 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5735         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5736         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5738 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5740         * hesiod/hesiod.h: Remove RCS keyword.
5741         * hesiod/hesiod_p.h: Likewise.
5743         * hesiod/hesiod.c: Likewise.
5745 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5747         [BZ #12450]
5748         * locale/iso-639.def: Add Samogitian/sgs.
5750 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5752         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5754         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5756 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5757             Carlos O'Donell  <carlos@redhat.com>
5759         [BZ #19072]
5760         * grp/Makefile (headers): Add grp-merge.h
5761         (routines): Add grp-merge.
5762         * grp/getgrgid_r.c: Include grp-merge.h.
5763         (DEEPCOPY_FN): Define.
5764         (MERGE_FN): Define.
5765         * grp/getgrname_r.c: Include grp-merge.h.
5766         (DEEPCOPY_FN): Define.
5767         (MERGE_FN): Define.
5768         * grp/grp-merge.c: New file.
5769         * grp/grp-merge.h: New file.
5770         * include/grp-merge.h: New file.
5771         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5772         __copy_grp@GLIBC_PRIVATE.
5773         * manual/nss.texi (Actions in the NSS configuration): Describe
5774         return, continue, and merge.
5775         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5776         (DEEPCOPY_FN): Define.
5777         (MERGE_FN): Define.
5778         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5779         (DEEPCOPY_FN): Define.
5780         (MERGE_FN): Define.
5781         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5782         [!MERGE_FN]: Define __merge_einval.
5783         (CHECK_MERGE): Define.
5784         (REENTRANT_NAME): Process merge if do_merge is true.
5785         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5786         (__nss_getent_r): Likewise.
5787         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5788         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5790 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5792         [BZ #20012]
5793         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5794         length to calculate the buffer to read.
5795         (fmemopen_write): Set the buffer position based on bytes written.
5796         (fmemopen_seek): Return EINVAL for invalid whence modes.
5798         [BZ #19957]
5799         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5800         tst-getpid2.
5801         (test): Add tst-clone2.
5802         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5803         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5804         pid/tid fields for CLONE_VM.
5805         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5806         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5807         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5808         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5809         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5810         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5811         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5812         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5814         Likewise.
5815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5816         Likewise.
5817         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5818         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5819         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5820         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5821         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5822         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5823         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5824         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5826 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5828         [BZ #19642]
5829         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5830         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5831         (gni_serv_local, gni_serv): New functions extracted from
5832         getnameinfo.
5833         (getnameinfo): Call gni_host and gni_serv to perform the
5834         processing.  Always free scratch buffer.
5836 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5838         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5839         remaining bytes in the dest string, with zeros.
5841 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5843         [BZ #20010]
5844         CVE-2016-3706
5845         * sysdeps/posix/getaddrinfo.c
5846         (convert_hostent_to_gaih_addrtuple): New function.
5847         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5848         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5849         AF_INET data.
5851 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5853         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5854         callback function gl_readdir.
5855         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5856         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5857         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5858         memcpy to copy the name.
5859         * manual/pattern.texi (Calling Glob): Document requirements for
5860         implementations of the gl_readdir callback function.
5861         * manual/examples/mkdirent.c: New example.
5862         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5863         per the manual guidance.
5864         * posix/tst-gnuglob.c (my_readdir): Likewise.
5866 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5868         [BZ #20014]
5869         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5870         not [__USE_POSIX].
5871         (getchar_unlocked): Likewise.
5872         (putc_unlocked): Likewise.
5873         (putchar_unlocked): Likewise.
5874         (flockfile): Likewise.
5875         (ftrylockfile): Likewise.
5876         (funlockfile): Likewise.
5877         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5878         variable.
5879         (test-xfail-XPG4/stdio.h/conform): Likewise.
5881         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5882         Expect constant.
5883         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5884         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5885         variable.
5886         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5887         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5889         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5890         [__USE_LARGEFILE64] (off64_t): Likewise.
5891         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5892         variable.
5894 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5896         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5898 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5900         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5901         * resolv/res_init.c: Likewise.
5902         * resolv/res_mkquery.c: Likewise.
5904 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5906         * resolv/res_init.c (isascii): Do not define.  Use definition in
5907         <ctype.h>.
5908         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5909         (LOG_AUTH): Remove.
5910         (SPRINTF): Remove, adjust caller.
5911         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5913 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5915         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5916         SUNSECURITY conditional.
5917         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5919 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5921         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5922         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5923         Remove BSD-related preprocessor conditionals.
5924         * conf/portability.h: Remove.
5926 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5928         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5929         * resolv/res_data.c: Likewise.
5931 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5933         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5934         * resolv/res_data.c: Remove code conditional on ultrix.
5936 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5938         * resolv/res_init.c (RFC1535): Do not define.  Remove
5939         RFC1535 preprocessor conditionals.
5940         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5941         because there configuration options which make the resolver
5942         behavior different.
5944 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5946         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5947         RESOLVSORT preprocessor conditionals.
5948         * resolv/nss_dns/dns-host.c: Likewise.
5949         * resolv/res_init.c: Likewise.
5951 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5953         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5954         is never defined.
5956 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5958         * inet/inet_lnaof.c: Remove SCSS keyword.
5959         * inet/inet_mkadr.c: Likewise.
5960         * inet/inet_net.c: Likewise.
5961         * inet/inet_netof.c: Likewise.
5962         * inet/rcmd.c: Likewise.
5963         * inet/rexec.c: Likewise.
5964         * inet/ruserpass.c: Likewise.
5966 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5968         * resolv/inet_addr.c: Remove _LIBC conditionals.
5969         * resolv/res_data.c: Likewise.
5970         * resolv/res_init.c: Likewise.
5971         * resolv/res_mkquery.c: Likewise.
5972         * resolv/res_libc.c: Update comment.
5973         * resolv/README: Update.
5975 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5977         * resolv/gethnamaddr.c: Remove SCSS keyword.
5978         * resolv/herror.c: Likewise.
5979         * resolv/inet_addr.c: Likewise.
5980         * resolv/inet_net_ntop.c: Likewise.
5981         * resolv/inet_net_pton.c: Likewise.
5982         * resolv/inet_neta.c: Likewise.
5983         * resolv/inet_ntop.c: Likewise.
5984         * resolv/inet_pton.c: Likewise.
5985         * resolv/ns_date.c: Remove RCS keyword.
5986         * resolv/ns_name.c: Likewise.
5987         * resolv/ns_netint.c: Likewise.
5988         * resolv/ns_parse.c: Likewise.
5989         * resolv/ns_print.c: Likewise.
5990         * resolv/ns_samedomain.c: Likewise.
5991         * resolv/ns_ttl.c: Likewise.
5992         * resolv/nsap_addr.c: Likewise.
5993         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5994         * resolv/res_data.c: Remove RCS keyword.
5995         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5996         * resolv/res_init.c: Likewise.
5997         * resolv/res_mkquery.c: Likewise.
5998         * resolv/res_query.c: Likewise.
5999         * resolv/res_send.c: Likewise.
6001 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6003         * conform/data/stdio.h-data (fdopen): Expect also for
6004         [XPG3 || XPG4].
6006         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
6007         (fseeko): Likewise.
6008         (ftello): Likewise.
6009         (ftrylockfile): Likewise.
6010         (funlockfile): Likewise.
6011         (getc_unlocked): Likewise.
6012         (getchar_unlocked): Likewise.
6013         (putc_unlocked): Likewise.
6014         (putchar_unlocked): Likewise.
6016 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6018         [BZ #19868]
6019         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
6020         DNS packet syntax checks (which were not needed before).  Skip
6021         over non-PTR records.
6023 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6025         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
6026         definition.  Include <stddef.h> instead.
6028 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6030         [BZ #19831]
6031         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
6032         function.
6033         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
6034         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
6036 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6038         [BZ #19862]
6039         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
6040         (getanswer_r): Do not call syslog.
6041         (gaih_getanswer_slice): Likewise.
6042         * resolv/gethnamaddr.c (AskedForGot): Remove.
6043         (getanswer): Do not call syslog.
6044         (gethostbyaddr): Likewise.
6046 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
6048         * conform/data/signal.h-data (union sigval): Expect also if
6049         [XOPEN2K].
6050         (struct sigevent): Likewise.
6051         (SIGEV_NONE): Likewise.
6052         (SIGEV_SIGNAL): Likewise.
6053         (SIGEV_THREAD): Likewise.
6054         (SIGRTMIN): Likewise.
6055         (SIGRTMAX): Likewise.
6056         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
6057         variable.
6058         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6060 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6062         [BZ #19830]
6063         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
6064         (gaih_getanswer_slice): Likewise.
6065         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
6066         Also check for availability of RR metadata.
6068 2016-04-27  Florian Weimer  <fweimer@redhat.com>
6070         [BZ #19825]
6071         * resolv/res_send.c (send_vc): Remove early *resplen2
6072         initialization.  Set *resplen2 on socket error.  Call
6073         close_and_return_error for other errors.
6075 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
6077         * sysdeps/unix/sysv/linux/netiucv/iucv.h
6078         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
6079         (SCM_IUCV_TRGCLS): New define.
6081 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6083         [BZ #20005]
6084         * libio/fmemopen.c (fmemopen_write): Update internal position after
6085         write.
6086         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
6087         * stdio-common/tst-fmemopen4.c: New file..
6089 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
6091         [BZ #19996]
6092         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
6093         not [__USE_XOPEN2K].
6094         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
6095         variable.
6097         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
6098         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
6099         variable.
6101         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
6102         [__USE_XOPEN2K8].
6103         [__USE_LARGEFILE64] (off64_t): Likewise.
6104         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
6105         variable.
6107 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
6109         [BZ #19989]
6110         * libio/stdio.h (cuserid): Do not declare if
6111         [__USE_XOPEN2K && !__USE_GNU].
6112         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
6113         variable.
6115 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6117         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6118         (sysdep_routines): Add P8 and PPC64 strcspn targets.
6119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6120         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6121         ifunc'ed strcspn.
6122         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6123         [EALIGN]: Removed.
6124         [END]: Likewise
6125         [STRSPN]: Define instead of the above to control symbol name.
6126         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
6127         New file.
6128         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
6129         Likewise.
6130         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
6131         Likewise.
6132         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
6133         Likewise.
6134         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6135         [INITIAL_MASK]: New macro.
6136         [STRCSPN]: Likewise.
6137         [UPDATE_MASK]: Likewise.
6138         [USE_AS_STRCSPN]: Lisewise.
6140 2016-04-25  Florian Weimer  <fweimer@redhat.com>
6142         [BZ #19931]
6143         * stdio-common/tst-vfprintf-width-prec.c: New file.
6144         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
6145         (tests-special): Add tst-vfprintf-width-prec-mem.out.
6146         (generated): Add mtrace-related files.
6147         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
6148         (tst-%-mem.out): New pattern rule, replaces
6149         tst-printf-bz18872-mem.out.
6150         * stdio-common/vfprintf.c (vfprintf): When handling a precision
6151         specifier, deallocate any previously allocated work buffer.
6153 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
6155         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
6156         Add nop before __startcontext, add explaining comments.
6158 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
6160         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
6161         any more. Notably since IPV6_PKTINFO has been reintroduced with a
6162         completely different API.
6164         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
6165         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
6166         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
6167         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
6168         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
6169         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
6170         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
6171         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
6172         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
6173         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
6175 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
6177         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
6179 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
6181         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
6182         when it is the default of 0.
6184 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6186         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
6187         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6188         (sysdep_routines): Add new strcasestr targets.
6189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6190         (__libc_ifunc_impl_list): Likewise.
6191         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
6192         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
6193         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
6194         * sysdeps/powerpc/powerpc64/power8/Makefile:
6195         New file to add strcasestr-ppc64 to sysdep_routines.
6196         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
6197         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
6199 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
6201         * benchtests/Makefile (wcsmbs-benchset): Include only for
6202         native builds and runs.
6203         (LOCALES): Likewise.
6204         (bench-build): Build timing-type here instead of the bench
6205         target.  Generate locale only for native builds.
6206         * benchtests/README: Add note for cross-building.
6208         * benchtests/Makefile (bench-clean): Clean up extra-objs.
6210         * benchtests/README: Update README to include instructions on
6211         using bench-build.
6213         * Makefile.in (bench-build): New target.
6214         * Rules (PHONY): Add bench-build target.
6215         * benchtests/Makefile (bench): Depend on bench-build.
6216         (bench-build): New target.
6218 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6220         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
6221         profil_reply_port.
6222         (profile_waiter): Do not initialize profil_reply_port.
6223         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
6224         frequency instead of tick length in us.
6226 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
6228         [BZ #18712]
6229         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
6230         (__old_mempcpy_small): Likewise.
6231         (__old_strcpy_small): Likewise.
6232         (__old_stpcpy_small): Likewise.
6233         (__old_strpbrk_c2): Fix compat symbol name.
6234         (__old_strpbrk_c3): Likewise.
6235         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
6236         (__mempcpy_small): Remove.
6237         (__strcpy_small): Remove.
6238         (__stpcpy_small): Remove.
6240 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
6242         [BZ #19400]
6243         * locale/iso-639.def: Add the Talossan/tzl language.
6245 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6247         [BZ #16983]
6248         * locale/programs/ld-address.c (address_finish): Update postal_fmt
6249         comment.  Add "ln" to strchr check on postal_fmt.
6251 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
6253         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
6254         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
6255         tel_dom_fmt.
6257 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6259         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6260         (sysdep_routines): Added __strlen_power8.
6261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
6262         __strlen_power8 entry.
6263         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
6264         Implementation for POWER8.
6265         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
6266         for __strlen_power8.
6267         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
6268         Implementation for POWER8.
6270 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
6272         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
6274 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
6276         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
6277         Goldmont and Airmont processors.
6279 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
6281         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
6282         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
6283         (__STRING2_SMALL_GET32): Remove.
6284         (memset): Remove.
6285         (__memset_1): Remove.
6286         (__memset_gc): Remove.
6287         (__mempcpy): Remove.
6288         (mempcpy): Remove.
6289         (__mempcpy_args): Remove.
6290         (strchr): Remove.
6291         (strcpy): Remove.
6292         (strcpy_args): Remove.
6293         (__stpcpy_args): Remove.
6294         (__strcmp_cc): Remove.
6295         (__strcmp_gc): Remove.
6296         (strstr): Remove.
6298 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
6300         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
6301         * nis/nis_call.c (nis_server_cache_add): Likewise.
6303 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6305         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
6307 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6309         * malloc/arena.c (__malloc_fork_lock_parent)
6310         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
6311         internal_function attribute.
6313 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
6315         * stdio-common/printf_fp.c (__printf_fp_l):
6316         Rename ___printf_fp_l to __printf_fp_l and
6317         remove strong alias. Use libc_hidden_def instead
6318         of ldbl_hidden_def macro.
6320 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6322         Remove malloc hooks from fork handler.  They are no longer needed
6323         because malloc runs right before fork, and no malloc calls from
6324         other fork handlers are not possible anymore.
6325         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
6326         declarations.
6327         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
6328         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
6329         (atfork_recursive_cntr): Remove.
6330         (__malloc_fork_lock_parent): Do not override malloc hooks and
6331         thread_arena.
6332         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
6333         thread_arena.
6334         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
6335         thread_arena instead of save_arena.
6337 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6339         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
6340         (thread_atfork, thread_atfork_static): Remove.
6341         * sysdeps/mach/hurd/malloc-machine.h:
6342         (thread_atfork, thread_atfork_static): Remove.
6344 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6346         [BZ #19431]
6347         Run the malloc fork handler as late as possible to avoid deadlocks.
6348         * malloc/malloc-internal.h: New file.
6349         * malloc/malloc.c: Include it.
6350         * malloc/arena.c (ATFORK_MEM): Remove.
6351         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
6352         Update comment.
6353         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
6354         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
6355         Remove outdated comment.
6356         (ptmalloc_init): Do not call thread_atfork.  Remove
6357         thread_atfork_static.
6358         * malloc/tst-malloc-fork-deadlock.c: New file.
6359         * Makefile (tests): Add tst-malloc-fork-deadlock.
6360         (tst-malloc-fork-deadlock): Link against libpthread.
6361         * manual/memory.texi (Aligned Memory Blocks): Update safety
6362         annotation comments.
6363         * sysdeps/nptl/fork.c (__libc_fork): Call
6364         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6365         __malloc_fork_unlock_child.
6366         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
6368 2016-04-14  Florian Weimer  <fweimer@redhat.com>
6370         [BZ #19613]
6371         Remove union wait.
6372         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
6373         (w_stopsig, w_stopval): Remove.
6374         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
6375         stat_loc argument.
6376         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
6377         (__WAIT_STATUS_DEFN): Remove.
6378         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6379         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
6380         (wait, wait3, wait4): Use int * for the stat_loc argument.
6381         * posix/wait.c (__wait): Likewise.
6382         * posix/wait3.c (__wait3): Likewise.
6383         * posix/wait4.c (__wait4): Likewise.
6384         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
6385         (__WAIT_STATUS_DEFN): Remove.
6386         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
6387         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
6388         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
6389         argument.
6390         * sysdeps/posix/wait.c (__libc_wait): Likewise.
6391         * sysdeps/posix/wait3.c (__wait3): Likewise.
6392         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
6393         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6394         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
6395         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
6396         stat_loc argument.
6397         * manual/process.texi (BSD Wait Functions): Remove union wait.
6399 2016-04-13  Andreas Schwab  <schwab@suse.de>
6401         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
6402         (test-extras): Add tst-tlsalign-vars.
6403         * math/Makefile: Wrap long lines.
6404         (libm-vec-test-wrappers): Define.
6405         (test-extras): Add $(libm-vec-test-wrappers).
6406         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
6407         * nss/Makefile (extra-test-objs): Add nss_test1.os.
6408         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
6409         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
6410         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
6411         (extra-test-objs): Add corresponding objects.
6413 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
6415         [BZ #19928]
6416         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
6417         New.
6418         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
6419         times of shared cache size.
6420         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
6421         (VMOVNT): New.
6422         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
6423         (VMOVNT): Likewise.
6424         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
6425         (VMOVNT): Likewise.
6426         (VMOVU): Changed to movups for smaller code sizes.
6427         (VMOVA): Changed to movaps for smaller code sizes.
6428         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
6429         comments.
6430         (PREFETCH): New.
6431         (PREFETCH_SIZE): Likewise.
6432         (PREFETCHED_LOAD_SIZE): Likewise.
6433         (PREFETCH_ONE_SET): Likewise.
6434         Rewrite to use forward and backward loops, which move 4 vector
6435         registers at a time, to support overlapping addresses and use
6436         non temporal store if size is above the threshold and there is
6437         no overlap between destination and source.
6439 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
6441         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
6442         Include dl-vdso.
6443         * sysdeps/unix/sysv/linux/mips/Versions: Add
6444         __vdso_clock_gettime.
6445         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
6446         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
6447         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
6448         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
6449         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
6450         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
6451         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6452         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6453         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6455 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6457         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
6458         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
6459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6461         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6462         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6465         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
6466         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
6467         syscalls generation.
6468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6469         [__NR_pwrite64] (__NR_write): Remove define.
6470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6471         [__NR_pwrite64] (__NR_write): Remove define.
6472         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
6473         Remove define.
6474         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6475         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6476         Remove define.
6477         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6478         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6479         Linux implementation as base.
6480         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6482         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6483         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6485         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6488         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6490         syscall generation.
6491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6492         [__NR_pread64] (__NR_pread): Remove define.
6493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6494         [__NR_pread64] (__NR_pread): Likewise.
6495         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6496         define.
6497         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6498         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6499         Remove define.
6500         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6501         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6502         Linux implementation as base.
6503         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6504         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6505         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6507         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6508         definition.
6509         (__ALIGNMENT_COUNT): Likewise.
6510         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6511         (__ALIGNMENT_COUNT): Likewise.
6512         (SYSCALL_LL): New define.
6513         (SYSCALL_LL64): Likewise.
6514         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6515         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6516         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6517         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6519         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6520         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6521         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6522         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6523         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6524         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6526 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6528         [BZ #19865]
6529         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6530         original buffer before retry.
6532 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6534         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6535         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6536         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6537         GLRO(dl_auxv) list.
6538         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6539         including <ldsodefs.h>.
6540         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6542 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6544         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6545         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6546         $(CPPFLAGS).
6548 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6550         [BZ #17950]
6551         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6552         Add -mfpmath=387.
6554 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6556         * sysdeps/i386/configure.ac: Change == to = when calling test.
6557         * sysdeps/x86_64/configure.ac: Likewise.
6558         * sysdeps/i386/configure: Regenerated.
6559         * sysdeps/x86_64/configure: Likewise.
6561 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6563         [BZ #16137]
6564         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6565         * benchtests/bench-strcoll.c (input_files): Likewise.
6566         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6567         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6568         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6570 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6572         [BZ #19929]
6573         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6574         [__USE_XOPEN2K8 && !__USE_GNU].
6575         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6576         variable.
6578         [BZ #19925]
6579         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6580         define if [!__USE_MISC && __USE_XOPEN2K].
6581         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6582         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6583         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6584         Likewise.
6585         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6586         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6587         variable.
6588         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6590 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6592         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6593         (sysdep_routines): Add new strspn targets.
6594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6595         (__libc_ifunc_impl_list): Add strspn.
6596         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6597         New file.
6598         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6599         Likewise.
6600         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6601         Likewise.
6602         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6603         Likewise.
6605 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6607         * misc/hsearch_r.c: Include <limits.h>.
6609 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6611         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6613 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6615         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6616         (MEMCPY_SYMBOL): New.
6617         (MEMPCPY_SYMBOL): Likewise.
6618         (MEMMOVE_CHK_SYMBOL): Likewise.
6619         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6620         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6621         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6622         Provide alias for memcpy in libc.a and ld.so.
6624 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6626         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6627         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6628         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6629         Disabled fro now.
6630         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6631         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6633 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6635         * benchtests/Makefile (string-benchset): Add memcpy-large,
6636         memmove-large and memset-large.
6637         * benchtests/bench-memcpy-large.c: New file.
6638         * benchtests/bench-memmove-large.c: Likewise.
6639         * benchtests/bench-memmove-large.c: Likewise.
6640         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6642 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6644         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6645         32-bit displacement to avoid long nop between instructions.
6647 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6649         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6650         a comment on VMOVU and VMOVA.
6652 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6654         [BZ #19633]
6655         Use specified locale for number formatting in strfmon_l.
6656         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6657         (__nl_lookup_word): New inline functions.
6658         * include/printf.h (__print_fp_l): Declare.
6659         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6660         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6661         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6662         (___printf_fp): New function.
6663         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6664         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6665         * stdlib/tst-strfmon_l.c (do_test): New test.
6666         * stdlib/Makefile (tests): Add kt.
6667         (LOCALES): Build additional locales.
6668         (tst-strfmon_l.out): Require locales.
6670 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6672         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6673         if not in libc.
6674         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6675         Likewise.
6676         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6677         Likewise.
6678         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6679         Likewise.
6681 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6683         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6684         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6685         with unaligned_erms.
6686         (__memmove_erms): Skip if source == destination.
6687         (__memmove_unaligned_erms): Don't check source == destination
6688         first.
6690 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6692         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6693         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6695 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6697         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6698         * string/strspn.c (strspn): Likewise.
6700 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6702         * benchtests/bench-memset.c (do_test): Support 64-byte
6703         alignment.
6704         (test_main): Test 64-byte alignment.
6706 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6708         * benchtests/bench-memmove.c (test_main): Test 64-byte
6709         alignment.
6711 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6713         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6715 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6717         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6718         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6719         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6721         * string/strpbrk.c (strpbrk): Rewrite function.
6722         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6723         (__strpbrk_c2): Likewise.
6724         (__strpbrk_c3): Likewise.
6725         * string/string-inlines.c
6726         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6727         Likewise.
6728         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6729         Likewise.
6731         * string/strspn.c (strcspn): Rewrite function.
6732         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6733         (__strspn_c1): Remove inline function.
6734         (__strspn_c2): Likewise.
6735         (__strspn_c3): Likewise.
6736         * string/string-inlines.c
6737         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6738         compatibility symbol.
6739         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6740         Likewise.
6741         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6742         Likewise.
6743         * string/string-inlines.c: Include generic version.
6745 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6746             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6748         * string/Version (libc): Add GLIBC_2.24.
6749         * string/strcspn.c (strcspn): Rewrite function.
6750         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6751         (__strcspn_c1): Remove inline function.
6752         (__strcspn_c2): Likewise.
6753         (__strcspn_c3): Likewise.
6754         * string/string-inline.c
6755         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6756         compatibility symbol.
6757         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6758         Likewise.
6759         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6760         Likewise.
6761         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6763 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6765         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6766         Use ahi instead of aghi to adjust stack pointer.
6768 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6770         [BZ #19853]
6771         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6772         TEST to take significant digits as second parameter.
6773         [TEST]: Redefine in terms of TEST_N taking 30
6774         significant digits.
6775         (do_test): Add test case to demonstrate precision
6776         failure in the ldbl-128ibm printf.
6777         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6778         (__mpn_extract_long_double): Carry 7 extra intermediate
6779         bits of precision to aide computing difference when
6780         signs differ.
6782 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6784         [BZ #19881]
6785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6786         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6787         memset-avx512-unaligned-erms.
6788         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6789         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6790         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6791         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6792         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6793         __memset_sse2_unaligned_erms, __memset_erms,
6794         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6795         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6796         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6797         file.
6798         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6799         Likewise.
6800         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6801         Likewise.
6802         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6803         Likewise.
6805 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6807         [BZ #19776]
6808         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6809         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6810         memmove-avx512-unaligned-erms.
6811         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6812         (__libc_ifunc_impl_list): Test
6813         __memmove_chk_avx512_unaligned_2,
6814         __memmove_chk_avx512_unaligned_erms,
6815         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6816         __memmove_chk_sse2_unaligned_2,
6817         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6818         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6819         __memmove_avx512_unaligned_erms, __memmove_erms,
6820         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6821         __memcpy_chk_avx512_unaligned_2,
6822         __memcpy_chk_avx512_unaligned_erms,
6823         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6824         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6825         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6826         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6827         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6828         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6829         __mempcpy_chk_avx512_unaligned_erms,
6830         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6831         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6832         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6833         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6834         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6835         __mempcpy_erms.
6836         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6837         file.
6838         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6839         Likwise.
6840         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6841         Likwise.
6842         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6843         Likwise.
6845 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6847         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6848         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6849         (La_s390_64_regs): Likewise.
6850         (La_s390_32_retval): Append vector register lrv_v24.
6851         (La_s390_64_retval): Likeweise.
6852         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6853         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6854         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6855         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6857 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6859         [BZ #19916]
6860         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6861         to create a non-vector/vector version for _dl_runtime_resolve and
6862         _dl_runtime_profile. Move implementation to ...
6863         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6864         (_dl_runtime_resolve) Save and restore fpr/vrs.
6865         (_dl_runtime_profile) Save and restore vrs and fix some issues
6866         if _dl_call_pltexit is called.
6867         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6868         Choose the correct resolver function if running on a machine with vx.
6869         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6870         to create a non-vector/vector version for _dl_runtime_resolve and
6871         _dl_runtime_profile. Move implementation to ...
6872         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6873         (_dl_runtime_resolve) Save and restore fpr/vrs.
6874         (_dl_runtime_profile) Save and restore vrs and fix some issues
6875         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6876         Choose the correct resolver function if running on a machine with vx.
6878 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6880         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6882 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6884         [BZ #19509]
6885         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6886         skip_map != NULL.
6887         * elf/tst-dlsym-error.c: New file.
6888         * elf/Makefile (tests): Add tst-dlsym-error.
6889         (tst-dlsym-error): Link against libdl.
6891 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6893         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6894         (__ASSUME_FUTIMESAT): Remove macro.
6895         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6897 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6899         [BZ #19879]
6900         CVE-2016-3075
6901         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6902         copy name.
6904 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6906         [BZ #19837]
6907         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6908         error if parse_line fails.
6910 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6912         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6913         (index_cpu_ERMS): Likewise.
6914         (reg_ERMS): Likewise.
6916 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6918         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6919         PER_LINUX_FDPIC): Add.
6921 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6923         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6924         memcpy-avx512-no-vzeroupper.
6925         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6926         to ...
6927         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6928         (MEMCPY): Don't define.
6929         (MEMCPY_CHK): Likewise.
6930         (MEMPCPY): Likewise.
6931         (MEMPCPY_CHK): Likewise.
6932         (MEMPCPY_CHK): Renamed to ...
6933         (__mempcpy_chk_avx512_no_vzeroupper): This.
6934         (MEMPCPY_CHK): Renamed to ...
6935         (__mempcpy_chk_avx512_no_vzeroupper): This.
6936         (MEMCPY_CHK): Renamed to ...
6937         (__memmove_chk_avx512_no_vzeroupper): This.
6938         (MEMCPY): Renamed to ...
6939         (__memmove_avx512_no_vzeroupper): This.
6940         (__memcpy_avx512_no_vzeroupper): New alias.
6941         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6943 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6945         [BZ #18858]
6946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6947         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6948         and mempcpy-avx512-no-vzeroupper.
6949         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6950         New.
6951         (MEMPCPY): Likewise.
6952         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6953         (MEMPCPY_CHK): New.
6954         (MEMPCPY): Likewise.
6955         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6956         (MEMPCPY): Likewise.
6957         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6958         (MEMPCPY): Likewise.
6959         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6960         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6961         Likewise.
6962         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6963         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6965 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6966              Amit Pawar  <Amit.Pawar@amd.com>
6968         [BZ #19583]
6969         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6970         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6971         processors.  Set Fast_Copy_Backward for AMD Excavator
6972         processors.
6973         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6974         New.
6975         (index_arch_Fast_Unaligned_Copy): Likewise.
6976         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6977         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6979 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6981         [BZ #19791]
6982         * resolv/res_send.c (close_and_return_error): New function.
6983         (send_dg): Initialize *resplen2 after reopen failure.  Call
6984         close_and_return_error for error returns.  On error paths without
6985         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6986         successful return.
6988 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6990         [BZ# 19860]
6991         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6992         zero if the compiler does not provide the AVX512F bit.
6994 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6996         [BZ #19848]
6997         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6998         from 8 to 4.
6999         (__ieee754_powl): Compare integer exponent against 4 not 8.
7000         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
7001         from 8 to 4.
7002         (__ieee754_powl): Compare integer exponent against 4 not 8.
7003         * math/auto-libm-test-in: Add more tests of pow.
7004         * math/auto-libm-test-out: Regenerated.
7005         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
7006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7008 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7010         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
7011         Make code unconditional.
7012         [!__NR_utimensat]: Remove conditional code.
7013         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
7014         Make code unconditional.
7015         [!__NR_utimensat]: Remove conditional code.
7016         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
7017         Make code unconditional.
7018         [!__NR_utimensat]: Remove conditional code.
7020 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
7022         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
7023         Make code unconditional.
7025 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
7027         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
7028         call-clobbered %eax on retry path.
7029         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
7031 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7033         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
7034         Don't set %rcx twice before "rep movsb".
7036 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
7038         [BZ #19583]
7039         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
7040         inline.  Check family before setting family, model and
7041         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
7042         bits here.
7043         (init_cpu_features): Replace HAS_CPU_FEATURE and
7044         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
7045         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
7046         for Intel processors with usable AVX2.  Call get_common_indeces
7047         for other processors with family == NULL.
7048         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
7049         (CPU_FEATURES_ARCH_P): Likewise.
7050         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
7051         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
7053 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7055         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
7056         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
7057         $(shared-thread-library) instead of hardcoding the path to libpthread.
7059 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
7061         * sysdeps/unix/sysv/linux/kernel-features.h
7062         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
7063         * sysdeps/unix/sysv/linux/getdents.c
7064         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
7065         [!have_no_getdents64_defined]: Likewise.
7066         (__GETDENTS): Remove __have_no_getdents64 conditional.
7068 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
7070         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
7071         Remove macro.
7072         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
7073         <kernel-features.h>.
7074         (signalfd) [__NR_signalfd4]: Make code unconditional.
7075         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
7077 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7079         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
7080         style.
7082 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7084         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
7085         (__pthread_enable_asynccancel): Use JUMPTARGET to call
7086         __pthread_unwind.
7087         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7088         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
7089         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7090         (__condvar_cleanup1): Likewise.
7092 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
7094         [BZ #19822]
7095         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
7096         move it to the final $@ location.
7098 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7100         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
7101         access where posix_spawn success and pid argument is null.
7102         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
7103         success case.
7105 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
7107         * sysdeps/mach/hurd/i386/c++-types.data: New file.
7109         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
7111         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
7112         and __fcntl.
7113         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
7114         __fcntl only.
7115         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
7116         adding attribute_hidden to __open and __fcntl.
7118         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
7119         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
7120         depend on libc-modules.h,
7121         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
7123 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
7125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
7126         Remove macro.
7127         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
7128         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
7129         entry.
7131         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
7132         Remove macro.
7133         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
7134         include <kernel-features.h>.
7135         [!__ASSUME_FALLOCATE]: Remove conditional code.
7136         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
7138 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7140         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
7141         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
7142         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
7143         (_ZGVdN4v_cos_avx2): Likewise.
7144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
7145         (_ZGVdN4v_cos): Likewise.
7146         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
7147         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
7148         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
7149         (_ZGVdN4v_exp_avx2): Likewise.
7150         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
7151         (_ZGVdN4v_exp): Likewise.
7152         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
7153         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
7154         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
7155         (_ZGVdN4v_log_avx2): Likewise.
7156         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
7157         (_ZGVdN4v_log): Likewise.
7158         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
7159         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
7160         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
7161         (_ZGVdN4vv_pow_avx2): Likewise.
7162         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
7163         (_ZGVdN4vv_pow): Likewise.
7164         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
7165         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
7166         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
7167         (_ZGVdN4v_sin_avx2): Likewise.
7168         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
7169         (_ZGVdN4v_sin): Likewise.
7170         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
7171         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
7172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
7173         (_ZGVdN4vvv_sincos_avx2): Likewise.
7174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
7175         (_ZGVdN4vvv_sincos): Likewise.
7176         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
7177         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
7178         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
7179         (_ZGVbN4v_cosf_sse4): Likewise.
7180         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
7181         (_ZGVdN8v_cosf_avx2): Likewise.
7182         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
7183         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
7184         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
7185         (_ZGVbN4v_expf_sse4): Likewise.
7186         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
7187         (_ZGVdN8v_expf_avx2): Likewise.
7188         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
7189         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
7190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
7191         (_ZGVbN4v_logf_sse4): Likewise.
7192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
7193         (_ZGVdN8v_logf_avx2): Likewise.
7194         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
7195         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
7196         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
7197         (_ZGVbN4vv_powf_sse4): Likewise.
7198         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
7199         (_ZGVdN8vv_powf_avx2): Likewise.
7200         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
7201         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
7202         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
7203         (_ZGVbN4vvv_sincosf_sse4): Likewise.
7204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
7205         (_ZGVdN8vvv_sincosf_avx2): Likewise.
7206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
7207         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
7208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
7209         (_ZGVbN4v_sinf_sse4): Likewise.
7210         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
7211         (_ZGVdN8v_sinf_avx2): Likewise.
7212         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7213         Use JUMPTARGET to call callee.
7214         (WRAPPER_IMPL_SSE2_ff): Likewise.
7215         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7216         (WRAPPER_IMPL_AVX): Likewise.
7217         (WRAPPER_IMPL_AVX_ff): Likewise.
7218         (WRAPPER_IMPL_AVX_fFF): Likewise.
7219         (WRAPPER_IMPL_AVX512): Likewise.
7220         (WRAPPER_IMPL_AVX512_ff): Likewise.
7221         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
7222         Likewise.
7223         (WRAPPER_IMPL_SSE2_ff): Likewise.
7224         (WRAPPER_IMPL_SSE2_fFF): Likewise.
7225         (WRAPPER_IMPL_AVX): Likewise.
7226         (WRAPPER_IMPL_AVX_ff): Likewise.
7227         (WRAPPER_IMPL_AVX_fFF): Likewise.
7228         (WRAPPER_IMPL_AVX512): Likewise.
7229         (WRAPPER_IMPL_AVX512_ff): Likewise.
7230         (WRAPPER_IMPL_AVX512_fFF): Likewise.
7232 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7234         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
7235         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
7236         qualifier.
7237         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
7238         internal_function qualifiers.
7240 2016-03-15  Carlos O'Donell <carlos@redhat.com>
7242         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
7243         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
7244         * math/atest-exp.c (exp_mpn): Mark chk unused.
7245         * math/atest-exp2.c (exp_mpn): Likwise.
7246         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
7247         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
7249 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
7251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
7252         Remove macro.
7253         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
7254         <kernel-features.h>.
7255         [__NR_ppoll]: Make code unconditional.
7256         [!__ASSUME_PPOLL]: Remove conditional code.
7258         * sysdeps/unix/sysv/linux/kernel-features.h
7259         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
7260         (__ASSUME_ACCEPT4): Likewise.
7261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7262         Define.
7263         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
7264         Likewise.
7265         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7266         Likewise.
7267         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
7268         Likewise.
7269         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
7270         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
7271         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7272         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7273         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7274         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7275         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7276         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7277         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7279         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7280         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7281         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7282         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7283         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7284         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7285         Likewise.
7286         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7287         Likewise.
7288         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7289         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7290         0x040300].
7291         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7292         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7294         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7295         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7296         0x030300].
7297         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
7298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7299         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7300         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7301         0x040300].
7302         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7303         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7305         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7306         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7307         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7308         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
7309         0x030300].
7310         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7311         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7312         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7313         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7314         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7315         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7316         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7317         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7318         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7319         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
7320         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
7321         0x040300].
7322         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7324         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7325         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7326         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7327         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7328         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7329         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7330         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7331         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7333         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7334         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7335         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7336         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
7337         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7338         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7339         Likewise.
7340         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7341         Likewise.
7343 2016-03-15  Andreas Schwab  <schwab@suse.de>
7345         [BZ #19257]
7346         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
7347         statp->_u._ext.nscount as loop count.
7349 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7351         * math/test-signgam-finite-c99.c: Also #undef
7352         __LIBC_INTERNAL_MATH_INLINES.
7353         * math/test-signgam-main.c: Likewise.
7355 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
7357         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
7358         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
7359         (MADV_FREE): Likewise.
7360         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
7361         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
7362         EPOLLEXCLUSIVE.
7364 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
7366         * timezone/README: Remove mention of checktab.awk. Mention wiki
7367         SharedSourceFiles.
7369 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
7371         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
7372         WUNTRACED.
7374 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7376         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
7377         order to match the type of p when calling atomic_exchange_acq().
7379 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7381         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
7382         cfi_offset calls.
7383         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
7384         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
7385         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
7386         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
7387         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
7389 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
7391         * timezone/checktab.awk: Removed.
7393 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
7395         * manual/math.texi (Errors in Math Functions): Document relaxed
7396         accuracy goals for IBM long double.
7397         * math/libm-test.inc (test_exceptions): Always allow spurious
7398         "underflow" and "inexact" exceptions for IBM long double.
7400 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
7402         [BZ #19762]
7403         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7404         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
7405         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
7406         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
7407         (bit_arch_*): This for feature array.
7408         (bit_*): Renamed to ...
7409         (bit_cpu_*): This for cpu array.
7410         (index_*): Renamed to ...
7411         (index_arch_*): This for feature array.
7412         (index_*): Renamed to ...
7413         (index_cpu_*): This for cpu array.
7414         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
7415         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
7416         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
7417         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
7418         bit_##name with index_cpu_##name and bit_cpu_##name.
7419         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
7420         bit_##name with index_arch_##name and bit_arch_##name.
7422 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
7424         [BZ #19792]
7425         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
7426         Terminate FDE before return label.
7428 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
7430         [BZ #19790]
7431         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
7432         (rintl): Define as macro.
7433         [USE_AS_NEARBYINTL] (__rintl): Likewise.
7434         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
7435         of fesetround.  Ensure results are evaluated before end of scope.
7436         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
7437         USE_AS_NEARBYINTL and include s_rintl.c.
7438         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
7439         Disable exception traps in new environment.
7440         (libc_feholdsetround_ppc_ctx): Likewise.
7442 2016-03-08  Roland McGrath  <roland@hack.frob.com>
7444         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
7445         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
7446         (tst_audit10_aux) [__AVX512F__]: ... here.
7448 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
7450         * include/sys/auxv.h: New file.
7452 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7454         [BZ #19759]
7455         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
7457 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7459         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
7460         operand modifier.
7461         (feclearexcept): Likewise.
7463 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7465         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
7466         to reflect the entire 32-bit HWCAP.
7467         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
7468         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
7470 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
7472         [BZ #19783]
7473         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7474         $(test-via-rtld-prefix).
7475         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7477 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7479         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7480         union wait.  Report any non-zero exit status as error.
7482 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7484         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7485         configured with --enable-hardcoded-path-in-tests.
7487 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7489         [BZ #19677]
7490         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7491         (__ieee754_remainderl): Put zero low parts in canonical form.
7492         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7493         file.  Based on
7494         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7495         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7496         with wrapper round test-fmodrem-ldbl-128ibm.c.
7497         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7498         file.
7499         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7500         Likewise.
7501         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7502         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7504 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7506         [BZ #19610]
7507         * elf/ldconfig.c (opt_link): Update comment.
7508         (options): Update help string for option -X.
7509         (search_dir): Unlink stale symbolic link only if updating symbolic
7510         links.
7511         * elf/tst-ldconfig-X.sh: New file.
7512         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7513         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7515 2016-03-07  Andreas Schwab  <schwab@suse.de>
7517         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7518         needed arguments.
7520 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7522         [BZ #15333]
7523         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7524         to lstat64.
7526 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7528         * libio/filedoalloc.c (isatty): Remove.
7529         (local_isatty): Add comment.  Call __isatty directly.
7530         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7531         * libio/wfiledoalloc.c (isatty): Remove.
7532         (_IO_wfile_doallocate): Update comment.
7534 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7536         [BZ #19269]
7537         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7538         tst-audit4-aux.o.
7539         (tst-audit10): Depend on tst-audit10-aux.o.
7540         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7541         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7542         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7543         instead of inline AVX code.
7544         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7545         instead of inline AVX512 code.
7546         * sysdeps/x86_64/tst-audit4-aux.c: New file
7547         * sysdeps/x86_64/tst-audit10-aux.c: New file
7549         [BZ #19648]
7550         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7552 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7554         [BZ #14750]
7555         [BZ #10354]
7556         [BZ #18433]
7557         * include/sched.h (__clone): Add hidden prototype.
7558         (__clone2): Likewise.
7559         * include/unistd.h (__dup): Likewise.
7560         * posix/Makefile (tests): Add tst-spawn2.
7561         * posix/tst-spawn2.c: New file.
7562         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7563         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7564         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7565         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7566         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7567         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7568         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7569         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7570         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7571         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7572         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7574         Likewise.
7575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7576         Likewise.
7577         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7578         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7579         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7580         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7581         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7582         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7583         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7584         * sysdeps/unix/sysv/linux/nptl-signals.h
7585         (____nptl_is_internal_signal): New function.
7586         * sysdeps/unix/sysv/linux/spawni.c: New file.
7588         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7589         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7590         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7591         * posix/tst-execvp2.c (do_test): Likewise.
7592         * posix/tst-execvp3.c (do_test): Likewise.
7593         * posix/tst-execvp4.c (do_test): Likewise.
7594         * posix/tst-execvpe1.c: New file.
7595         * posix/tst-execvpe2.c: Likewise.
7596         * posix/tst-execvpe3.c: Likewise.
7597         * posix/tst-execvpe4.c: Likewise.
7598         * posix/tst-execvpe5.c: Likewise.
7599         * posix/tst-execvpe6.c: Likewise.
7601         [BZ #19534]
7602         * posix/execl.c (execl): Remove dynamic memory allocation.
7603         * posix/execle.c (execle): Likewise.
7604         * posix/execlp.c (execlp): Likewise.
7606 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7608         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7609         Replace .text with .text.avx512.
7610         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7611         Likewise.
7613 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7615         * sysdeps/generic/libnsl.abilist: New file.
7616         * sysdeps/generic/libutil.abilist: New file.
7618 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7620         [BZ #19762]
7621         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7622         HAS_ARCH_FEATURE with Fast_Rep_String.
7623         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7624         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7625         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7626         Likewise.
7627         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7628         Likewise.
7629         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7630         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7631         Likewise.
7632         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7633         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7634         Likewise.
7636 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7638         [BZ #19745]
7639         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7640         with *%rax in call.
7642 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7644         [BZ #19745]
7645         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7646         with *__libc_start_main@GOTPCREL(%rip) in call.
7648 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7650         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7651         inside conditional for nonempty $(CXX).
7653         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7654         nonempty.
7656         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7657         to test for empty $(CXX) rather than $(CXX) of "no".
7659 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7661         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7663 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7664             H.J. Lu  <hongjiu.lu@intel.com>
7666         [BZ #18880]
7667         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7668         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7669         enable __memcpy_ssse3_back.
7671 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7673         [BZ #19758]
7674         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7675         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7677 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7679         [BZ #19490]
7680         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7681         (__fentry__): Likewise.
7683 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7685         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7686         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7688 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7690         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7691         __mcount_internal directly.
7692         (C_LABEL(__fentry__)): Likewise.
7693         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7694         directly.
7696 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7698         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7699         (__start_context): Call __setcontext directly.
7701 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7703         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7704         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7705         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7706         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7707         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7708         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7709         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7710         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7711         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7712         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7713         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7714         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7715         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7716         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7717         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7718         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7719         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7720         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7721         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7722         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7723         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7724         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7725         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7726         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7727         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7728         Remove conditional code.
7729         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7730         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7731         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7732         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7733         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7734         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7735         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7736         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7737         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7738         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7739         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7740         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7742 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7744         * NEWS (2.23): Fix typo in bug 19048 text.
7746 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7748         [BZ #14259]
7749         * Makeconfig: Rename msgcatdir to localedir.
7750         Rename inst_msgcatdir to inst_localedir.
7751         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7752         * config.make.in: Add localedir.
7753         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7754         (ldd-rewrite): Likewise.
7755         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7756         (install-others): Use inst_localedir.
7757         (CPPFLAGS): Use localedir.
7758         * locale/Makefile (locale-CPPFLAGS): Likewise.
7759         * po/Makefile (mo-installed): Use inst_localedir.
7761         [BZ #19575]
7762         * localedata/charmaps/GB18030: Update comments regarding PAU to
7763         non-PUA mappings.
7765 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7767         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7768         test for header.
7769         * sysdeps/unix/sysv/linux/configure: Regenerated.
7770         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7771         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7772         Remove conditional code.
7773         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7775         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7776         Define to 3.2.0.
7777         (arch_minimum_kernel): Likewise.
7778         * sysdeps/unix/sysv/linux/configure: Regenerated.
7779         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7780         Define to 2.6.32.
7781         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7782         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7783         (arch_minimum_kernel): Define to 2.6.32.
7784         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7785         * README: Document Linux 3.2 requirement.
7786         * manual/install.texi (Linux): Document Linux 3.2 headers
7787         requirement.
7788         * INSTALL: Regenerated.
7790 2016-02-24  Andreas Schwab  <schwab@suse.de>
7792         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7793         if !NO_LONG_DOUBLE.
7795 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7797         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7798         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7800 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7802         [BZ #19512]
7803         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7805 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7807         * posix/tst-dir.c: Include libc-internal.h.
7809 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7811         [BZ #19056]
7812         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7813         * manual/filesys.texi (Reading/Closing Directory): Mention
7814         deprecaion.
7815         * posix/tst-dir.c (main): Disable deprecation warning in test.
7817 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7819         [BZ #19679]
7820         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7821         Renamed to ...
7822         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7823         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7824         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7825         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7826         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7827         * sysdeps/x86_64/dl-trampoline.h
7828         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7829         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7831 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7833         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7835 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7837         * elf/elf.h (R_386_GOT32X): New.
7838         (R_386_NUM): Update.
7839         (R_X86_64_GOTPCRELX: New.
7840         (R_X86_64_REX_GOTPCRELX): New.
7841         (R_X86_64_NUM): Update.
7843 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7845         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7847 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7849         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7850         assign attr->stackaddr to it, and adjust it down when
7851         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7852         [_STACK_GROWS_UP]: Delete assert.
7853         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7854         Implement stack grows up logic.
7855         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7856         stack grows up logic.
7858 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7860         * NEWS: Update with 2.24 template.
7862 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7864         [BZ #19678]
7865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7866         Ensure +0.0 is returned when taking the next value below the least
7867         positive value.
7869 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7871         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7872         available.  Do not define NO_THREADS.
7873         * malloc/malloc.c: Do not check NO_THREADS.
7874         * malloc/arena.c: Likewise.
7876 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7878         * malloc/malloc.c (__libc_mallinfo): Update comment.
7879         (struct malloc_par): Remove max_total_mem member, it was always 0.
7880         (int_mallinfo): Store 0 into usmblks (no functional change).
7881         * malloc/hooks.c (struct malloc_state): Document that
7882         max_total_mem is always 0.
7883         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7884         always 0.
7885         * manual/memory.texi (Statistics of Malloc): Likewise.
7887 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7889         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7890         * malloc/arena.c (arena_max): Remove.
7891         (heap_trim, _int_new_arena): Do not update arena_max.
7893 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7895         * resolv/res_init.c (res_ninit): Update comment.
7897 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7899         [BZ #19505]
7900         * posix/spawn_int.h: Add headers and include guard.
7901         (__spawn_valid_fd): New function.
7902         * posix/spawn_faction_addopen.c
7903         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7904         * posix/spawn_faction_addclose.c
7905         (posix_spawn_file_actions_addclose): Likewise.
7906         * posix/spawn_faction_adddup2.c
7907         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7908         second file descriptor.
7909         * posix/spawn_valid_fd.c: New file.
7910         * posix/tst-posix_spawn-fd.c: New file.
7911         * posix/Makefile (routines): Add spawn_valid_fd.
7912         (tests): Add tst-posix_spawn-fd.
7914 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7916         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7917         (do_test): Limit the number of arenas, so that we can use fewer
7918         outer threads.  Limit timeout to 3 seconds, in preparation for a
7919         larger TIMEOUT value.
7921 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7923         [BZ #19674]
7924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7925         sign in overflowing and underflowing results when overflow or
7926         underflow is detected early.  Include sign in result before rather
7927         than after scaling.
7929         [BZ #19603]
7930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7931         (__ieee754_remainderl): Adjust sign of integer version of low part
7932         when taking absolute value of high part.
7933         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7934         * math/libm-test.inc (remainder_test_data): Add another test.
7935         (remquo_test_data): Likewise.
7937 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7939         [BZ #19602]
7940         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7941         equal high parts and both low parts zero specially.
7942         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7943         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7944         Add test-fmodl-ldbl-128ibm.
7946         [BZ #19595]
7947         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7948         common logic for all cases of shifting subnormal results.  Do not
7949         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7950         exponent to ldbl_insert_mantissa in subnormal case.
7952         [BZ #19594]
7953         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7954         on high and low parts then adjust result and use
7955         ldbl_canonicalize_int if needed.
7957         [BZ #19593]
7958         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7959         on high part and __floor or __ceil on low part then use
7960         ldbl_canonicalize_int if needed.
7962         [BZ #19592]
7963         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7964         high and low parts then use ldbl_canonicalize_int if needed.
7966         [BZ #17899]
7967         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7968         New function.
7969         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7970         on high and low parts then use ldbl_canonicalize_int if needed.
7972 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7974         * configure: Regenerated.
7976         * po/libc.pot: Regenerated.
7978         * po/be.po: Updated translation.
7979         * po/bg.po: Likewise.
7980         * po/ca.po: Likewise.
7981         * po/cs.po: Likewise.
7982         * po/da.po: Likewise.
7983         * po/el.po: Likewise.
7984         * po/eo.po: Likewise.
7985         * po/es.po: Likewise.
7986         * po/fi.po: Likewise.
7987         * po/fr.po: Likewise.
7988         * po/gl.po: Likewise.
7989         * po/hr.po: Likewise.
7990         * po/hu.po: Likewise.
7991         * po/ia.po: Likewise.
7992         * po/id.po: Likewise.
7993         * po/it.po: Likewise.
7994         * po/ja.po: Likewise.
7995         * po/lt.po: Likewise.
7996         * po/nb.po: Likewise.
7997         * po/nl.po: Likewise.
7998         * po/pt_BR.po: Likewise.
7999         * po/rw.po: Likewise.
8000         * po/sk.po: Likewise.
8001         * po/sl.po: Likewise.
8002         * po/sv.po: Likewise.
8003         * po/tr.po: Likewise.
8004         * po/zh_CN.po: Likewise.
8005         * po/zh_TW.po: Likewise.
8007         * version.h (RELEAES): Set to "development".
8008         (VERSION): Set to 2.23.90.
8010         * version.h (RELEASE): Set to "stable".
8011         (VERSION): Set to 2.23.
8012         * include/feature.h (__GLIBC_MINOR__): Set to 23.
8014         * NEWS: Updated fixed bugs.
8016 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
8017             Wilco Dijkstra  <wdijkstr@arm.com>
8019         [BZ #19462]
8020         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
8021         (_STRING_INLINE_unaligned): This.
8022         * include/string.h: Include <string_private.h>.
8023         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
8024         _STRING_INLINE_unaligned.
8025         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
8026         (_STRING_INLINE_unaligned): New.
8027         * sysdeps/aarch64/string_private.h: New file.
8028         * sysdeps/generic/string_private.h: Likewise.
8029         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
8030         * sysdeps/s390/string_private.h: Likewise.
8031         * sysdeps/x86/string_private.h: Likewise.
8032         * sysdeps/m68k/m680x0/m68020/bits/string.h
8033         (_STRING_ARCH_unaligned): Renamed to ...
8034         (_STRING_INLINE_unaligned): This.
8035         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
8036         to ...
8037         (_STRING_INLINE_unaligned): This.
8038         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
8039         to ...
8040         (_STRING_INLINE_unaligned): This.
8041         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
8042         to ...
8043         (_STRING_INLINE_unaligned): This.
8045 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
8046             H.J. Lu  <hongjiu.lu@intel.com>
8048         [BZ #19590]
8049         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
8050         relocation.
8052 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
8054         [BZ #18665]
8055         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
8056         *herrno_p.
8057         (gaih_getanswer): Document functional behviour. Return tryagain
8058         if any result is tryagain.
8059         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
8060         when freed.
8061         * resolv/res_send.c: Add copyright text.
8062         (__libc_res_nsend): Document that MAXPACKET is expected.
8063         (send_vc): Document. Remove buffer reuse.
8064         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
8065         size of the buffer. Add Dprint for truncated UDP buffer.
8067 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
8069         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
8070         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
8071         * INSTALL: Regenerate.
8073 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
8074             Jonathan Wakely  <jwakely@redhat.com>
8075             Carlos O'Donell  <carlos@redhat.com>
8077         [BZ 19439]
8078         * math/Makefile (tests): Add test-math-isinff.
8079         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
8080         * math/bits/mathcalls.h [__USE_MISC]: Use
8081         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
8082         functions not in C++11 and which don't conflict e.g. isinff,
8083         isinfl etc.
8084         * math/test-math-isinff.cc: New file.
8086 2016-02-12  Florian Weimer  <fweimer@redhat.com>
8088         * misc/bug18240.c (do_test): Set RLIMIT_AS.
8090 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8092         [BZ #19529]
8093         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
8095 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8097         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8099 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
8101         [BZ #19550]
8102         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
8103         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
8104         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
8105         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
8106         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
8107         New syscall entry.
8108         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
8109         New syscall entry.
8110         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
8111         syscall entry.
8113 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
8115         [BZ #18240]
8116         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
8117         unsigned int wraparound.
8119 2016-01-27  Florian Weimer  <fweimer@redhat.com>
8121         [BZ #18240]
8122         * misc/bug18240.c: New test.
8123         * misc/Makefile (tests): Add it.
8125 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
8126             Joseph Myers  <joseph@codesourcery.com>
8128         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
8129         load in branch delay slot when less than a word of input left.
8131 2016-01-27  Andreas Schwab  <schwab@suse.de>
8133         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
8134         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
8135         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
8136         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
8138 2016-01-26  David S. Miller  <davem@davemloft.net>
8140         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
8142 2016-01-25  David S. Miller  <davem@davemloft.net>
8144         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
8145         __sqrtl_finite.
8146         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
8147         instead using versioned_symbol.
8148         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
8149         of entries.
8151         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
8152         __sqrtl_finite to GLIBC_2.23
8154 2016-01-25  Ricchard Henderson  <rth@redhat.com>
8156         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8158 2016-01-25  Andreas Schwab  <schwab@suse.de>
8160         [BZ #17514]
8161         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
8162         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
8163         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
8164         * nptl/tst-mutex-errorcheck.c: New file.
8166 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8168         [BZ #18560]
8169         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
8170         (IPCOP_semop): Likewise.
8171         (IPCOP_semget): Likewise.
8172         (IPCOP_semctl): Likewise.
8173         (IPCOP_msgsnd): Likewise.
8174         (IPCOP_msgrcv): Likewise.
8175         (IPCOP_msgget): Likewise.
8176         (IPCOP_msgctl): Likewise.
8177         (IPCOP_shmat): Likewise.
8178         (IPCOP_shmdt): Likewise.
8179         (IPCOP_shmget): Likewise.
8180         (IPCOP_shmctl): Likewise.
8182 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8184         * string/tst-endian.c: Include <libc-internal.h>.
8185         (do_test): Ignore tautological-compare warnings around
8186         "htobeXX (beXXtoh (i)) != i" and
8187         "htoleXX (leXXtoh (i)) != i" if-statements.
8189 2016-01-24  David S. Miller  <davem@davemloft.net>
8191         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
8192         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
8193         alias.
8194         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
8195         __sqrtl_finite.
8197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8199 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
8201         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
8202         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
8203         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8205 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8207         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
8208         (thread_func): Use new function to simplify barrier check.
8209         (do_test): Use new function to simplify checking barrier exit
8210         code, and actually join the child thread.
8212 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8214         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
8215         semicolon.
8216         (__libc_tend): Likewise.
8217         (__libc_tabort): Likewise.
8219 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
8221         * sysdeps/nios2/libm-test-ulps: Update.
8222         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
8223         (__gtsf2): Likewise.
8224         (__unorddf2): Likewise.
8225         (__unordsf2): Likewise.
8226         (__ledf2): Likewise.
8228 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
8230         * nis/nis_table.c (__follow_path): Disable diagnostic for
8231         uninitialized variable that is a false positive for gcc 4.7.
8232         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
8234 2016-01-20  Roland McGrath  <roland@hack.frob.com>
8236         * sysdeps/nacl/lowlevellock-futex.h
8237         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
8238         Always evaluate PRIVATE argument.
8240 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
8242         [BZ #19490]
8243         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
8244         (pthread_cond_broadcast): Use ENTRY/END
8245         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
8246         (pthread_cond_signal): Likewise.
8247         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
8248         Likewise.
8249         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
8250         Likewise.
8251         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
8252         Likewise.
8254 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
8256         * sysdeps/ieee754/dbl-64/s_finite.c
8257         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
8258         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
8259         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
8260         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
8261         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
8263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8264         (__gtsf2): Add as optional for libc.so.
8265         (__unordsf2): Likewise.
8266         (__signbit): Remove for libc.so.
8267         (__signbitl): Likewise.
8269 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
8271         * iconvdata/bug-iconv11.c (test_ibm93x):
8272         Use %zu printf format specifier for size_t argument.
8274 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
8276         * math/gen-libm-test.pl (parse_ulps): Do not reduce
8277         already-recorded ulps.
8278         * sysdeps/arm/libm-test-ulps: Regenerated.
8279         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8281         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8283 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8284             Paul Pluzhnikov  <ppluzhnikov@google.com>
8286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
8287         assembler not supporting AVX-512.
8289 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8291         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8293 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
8295         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8298         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8300         * sysdeps/arm/libm-test-ulps: Regenerated.
8302 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
8304         [BZ #19451]
8305         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
8307 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
8309         [BZ #19486]
8310         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
8311         * sysdeps/generic/fix-fp-int-convert-overflow.h
8312         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
8313         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
8314         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
8315         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
8316         Likewise.
8317         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
8318         Avoid conversions to long int where inexact exceptions
8319         could be raised.
8320         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
8321         Likewise.
8322         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
8323         Avoid conversions to long long int where inexact exceptions
8324         could be raised.
8325         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
8326         Likewise.
8328 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
8330         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
8331         * configure: Regenerated.
8333 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8335         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
8337 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
8339         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
8340         outside of comment.
8342 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8344         * nptl/tst-barrier1.c: Add description on first line.
8345         * nptl/tst-barrier2.c: Likewise.
8346         * nptl/tst-barrier3.c: Likewise.
8347         * nptl/tst-barrier4.c: Likewise.
8348         * nptl/tst-barrier5.c: Likewise.
8350 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8352         [BZ #18868]
8353         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
8355 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
8357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
8358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8359         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
8360         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
8361         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
8362         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
8363         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8364         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8365         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8366         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8367         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8369 2016-01-15  Torvald Riegel  <triegel@redhat.com>
8371         [BZ #13065]
8372         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
8373         new implementation.
8374         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
8375         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
8376         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
8377         (BARRIER_IN_THRESHOLD): New macro.
8378         * nptl/pthread_barrierattr_setpshared.c
8379         (pthread_barrierattr_setpshared): Clean up.
8380         * nptl/tst-barrier4.c: Correct comment.
8381         * nptl/tst-barrier5.c: New file.
8382         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
8383         (gen-as-const-headers): Remove lowlevelbarrier.sym.
8384         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
8385         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
8386         * nptl/lowlevelbarrier.sym: Remove.
8387         * nptl/DESIGN-barrier.txt: Remove.
8388         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
8389         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
8390         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
8391         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
8392         error.
8393         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
8394         implementation.
8396 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8398         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
8399         (do_child): Mask SIGRTMIN while thr is running.
8401 2016-01-15  Martin Sebor  <msebor@redhat.com>
8403         [BZ #19432]
8404         * iconvdata/Makefile: Add bug-iconv11.
8405         * iconvdata/bug-iconv11.c: New test.
8406         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
8407         * iconvdata/ibm933.c: Same.
8408         * iconvdata/ibm935.c: Same.
8409         * iconvdata/ibm937.c: Same.
8410         * iconvdata/ibm939.c: Same.
8412 2016-01-15  Martin Sebor  <msebor@redhat.com>
8414         [BZ #19443]
8415         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
8416         [DEBUG] (_ufc_set_bits): Declare used.
8417         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
8418         [DEBUG] (print_all): Declare used.
8419         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
8420         operands of the ternary ?: expression to target type.
8421         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
8422         calling the undeclared abort.
8423         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
8425 2016-01-15  Martin Sebor  <msebor@redhat.com>
8427         [BZ #18755]
8428         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
8429         warnings.
8430         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
8431         (__gai_create_helper_thread): Same.
8432         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
8433         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
8434         to suppress -Wmaybe-uninitialized warnings.
8436 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
8438         [BZ #19465]
8439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
8440         inside if.
8441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8442         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8443         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8445 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
8447         [BZ #19466]
8448         * time/tst-mktime2.c (time_t_max): Removed.
8449         (time_t_min): Likewise.
8450         (TYPE_SIGNED): New.
8451         (TYPE_MINIMUM): Likewise.
8452         (TYPE_MAXIMUM): Likewise.
8453         (TIME_T_MIN): Likewise.
8454         (TIME_T_MAX): Likewise.
8455         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
8456         and TIME_T_MIN.
8457         (do_test): Likewise.
8459 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
8461         [BZ #19467]
8462         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8463         index_Fast_Unaligned_Load flag for Excavator family CPUs.
8465 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
8467         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
8469 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
8471         * benchtests/Makefile (PYTHON): Define.
8472         (bench-func): Use $(PYTHON) to run python scripts.
8473         ($(objpfx)bench-%.c): Likewise.
8475 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8477         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8478         leading slash when `file_name' is "/".
8480 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8482         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8483         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8484         Likewise.
8485         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8486         Likewise.
8487         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8488         Likewise.
8489         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8490         enum constant and macro.
8491         (PTRACE_SETSIGMASK): Likewise.
8492         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8493         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8494         (PTRACE_GETSIGMASK): Likewise.
8495         (PTRACE_SETSIGMASK): Likewise.
8496         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8497         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8498         Likewise.
8499         (PTRACE_SETSIGMASK): Likewise.
8500         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8502         (PTRACE_GETSIGMASK): Likewise.
8503         (PTRACE_SETSIGMASK): Likewise.
8504         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8505         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8506         Likewise.
8507         (PTRACE_SETSIGMASK): Likewise.
8508         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8509         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8510         Likewise.
8511         (PTRACE_SETSIGMASK): Likewise.
8512         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8513         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8514         Likewise.
8515         (PTRACE_SETSIGMASK): Likewise.
8516         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8518 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8519             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8521         [BZ #19439]
8522         * math/bits/mathcalls.h
8523         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8524         prototype.
8525         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8527 2016-01-11  Andreas Schwab  <schwab@suse.de>
8529         [BZ #19253]
8530         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8531         cache when TZDEFRULES was used.
8532         * time/tst-tzname.c: New file.
8533         * time/Makefile (test): Add tst-tzname.
8534         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8535         * timezone/Makefile (test-zones): Add $(posixrules-file).
8536         ($(testdata)/$(posixrules-file)): New rule.
8538 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8540         Fix doc quoting problems with Texinfo 5
8541         Without this change, in the info file output, Texinfo 5 quotes code
8542         in text with undirected single quotes 'like this' and generates
8543         code examples that with many PDF readers cannot be cut out of PDFs
8544         and pasted into code.
8545         * manual/libc.texinfo: Configure the libc manual like the GNU
8546         Emacs manual, by using @documentencoding and setting
8547         txicodequoteundirected and txicodequotebacktick.  This way,
8548         Texinfo 5 quotes code in text with directed single quotes ‘like
8549         this’ and produces examples that can be cut out of PDFs.  This
8550         change causes Texinfo 5 to generate info files that contain UTF-8
8551         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8552         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8554 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8556         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8557         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8558         barriers to their respective compiler built-ins.
8559         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8560         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8561         * sysdeps/powerpc/sysdep.h: Likewise.
8562         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8563         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8564         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8566 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8568         * scripts/config.guess: Revert previous shebang change.
8569         * scripts/config.sub: Likewise.
8570         * scripts/mkinstalldirs: Likewise.
8572 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8574         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8575         PPC_FEATURE2_HAS_IEEE128.
8576         * sysdeps/powerpc/dl-procinfo.c:
8577         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8579 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8581         [BZ #19415]
8582         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8583         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8584         (_dl_lookup_address): Rewrite using function resolver trampoline.
8585         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8586         two bits in address.
8588 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8590         * longlong.h: Change !__SHMEDIA__ to
8591         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8592         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8594 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8595             Joseph Myers  <joseph@codesourcery.com>
8596             Mark Shinwell  <shinwell@codesourcery.com>
8597             Andrew Stubbs  <ams@codesourcery.com>
8598             Rich Felker <dalias@libc.org>
8600         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8602 2016-01-07  Richard Henderson  <rth@redhat.com>
8604         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8606 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8608         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8609         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8610         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8611         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8612         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8614 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8615             Joseph Myers  <joseph@codesourcery.com>
8617         * timezone/private.h: Update from tzcode 2015g.
8618         * timezone/tzfile.h: Likewise.
8619         * timezone/tzselect.ksh: Likewise.
8620         * timezone/zdump.c: Likewise.
8621         * timezone/zic.c: Likewise.
8622         * timezone/ialloc.c: Remove file.
8623         * timezone/scheck.c: Likewise.
8624         * timezone/Makefile (extra-objs): Remove variable.
8625         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8626         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8627         -Wno-maybe-uninitialized.
8628         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8629         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8630         (CFLAGS-ialloc.c): Remove variable.
8631         (CFLAGS-scheck.c): Likewise.
8632         * timezone/README: Update list of files from tzcode.
8634 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8636         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8637         instead of __fxprintf when _LIBC is undefined.
8639 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8641         * catgets/test-gencat.sh: Remove space after shebang.
8642         * conform/GlibcConform.pm: Likewise.
8643         * conform/check-header-lists.sh: Likewise.
8644         * conform/conformtest.pl: Likewise.
8645         * conform/linknamespace.pl: Likewise.
8646         * conform/list-header-symbols.pl: Likewise.
8647         * debug/catchsegv.sh: Likewise.
8648         * elf/genrtldtbl.awk: Likewise.
8649         * elf/tst-pathopt.sh: Likewise.
8650         * elf/tst-rtld-load-self.sh: Likewise.
8651         * grp/tst_fgetgrent.sh: Likewise.
8652         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8653         * iconvdata/gen-8bit-gap.sh: Likewise.
8654         * iconvdata/gen-8bit.sh: Likewise.
8655         * iconvdata/run-iconv-test.sh: Likewise.
8656         * intl/tst-gettext.sh: Likewise.
8657         * intl/tst-gettext2.sh: Likewise.
8658         * intl/tst-gettext4.sh: Likewise.
8659         * intl/tst-gettext6.sh: Likewise.
8660         * intl/tst-translit.sh: Likewise.
8661         * io/ftwtest-sh: Likewise.
8662         * libio/test-freopen.sh: Likewise.
8663         * locale/gen-translit.pl: Likewise.
8664         * malloc/tst-mtrace.sh: Likewise.
8665         * manual/check-safety.sh: Likewise.
8666         * manual/libc-texinfo.sh: Likewise.
8667         * manual/tsort.awk: Likewise.
8668         * manual/xtract-typefun.awk: Likewise.
8669         * nptl/tst-cancel-wrappers.sh: Likewise.
8670         * nptl/tst-tls6.sh: Likewise.
8671         * posix/globtest.sh: Likewise.
8672         * posix/tst-getconf.sh: Likewise.
8673         * posix/wordexp-tst.sh: Likewise.
8674         * scripts/check-c++-types.sh: Likewise.
8675         * scripts/check-local-headers.sh: Likewise.
8676         * scripts/config.guess: Likewise.
8677         * scripts/config.sub: Likewise.
8678         * scripts/cpp: Likewise.
8679         * scripts/cross-test-ssh.sh: Likewise.
8680         * scripts/documented.sh: Likewise.
8681         * scripts/evaluate-test.sh: Likewise.
8682         * scripts/gen-libc-abis: Likewise.
8683         * scripts/gen-sorted.awk: Likewise.
8684         * scripts/list-fixed-bugs.py: Likewise.
8685         * scripts/merge-test-results.sh: Likewise.
8686         * scripts/mkinstalldirs: Likewise.
8687         * scripts/rellns-sh: Likewise.
8688         * scripts/test-installation.pl: Likewise.
8689         * scripts/update-copyrights: Likewise.
8690         * stdio-common/tst-printf.sh: Likewise.
8691         * stdio-common/tst-unbputc.sh: Likewise.
8692         * stdlib/tst-fmtmsg.sh: Likewise.
8693         * stdlib/tst-setcontext3.sh: Likewise.
8694         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8695         * sysdeps/unix/make-syscalls.sh: Likewise.
8697 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8699         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8700         asm stw with atomic_exchange_rel.  Add explanatory comment.
8701         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8702         Likewise.
8704 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8706         [BZ #19122]
8707         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8708         * sysdeps/generic/dl-unistd.h: New file.
8709         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8711 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8713          [BZ #19122]
8714          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8715          * sysdeps/generic/dl-mman.h: New file.
8716          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8718 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8720         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8721         trailing whitespace removed.
8722         * scripts/config.guess: Update to version 2016-01-01.
8723         * scripts/config.sub: Update to version 2016-01-01.
8724         * scripts/move-if-change: Update from gnulib.
8726 2016-01-04  Anton Blanchard  <anton@samba.org>
8728         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8729         for array indices.
8730         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8732 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8734         * NEWS: Update copyright dates.
8735         * catgets/gencat.c (print_version): Likewise.
8736         * csu/version.c (banner): Likewise.
8737         * debug/catchsegv.sh: Likewise.
8738         * debug/pcprofiledump.c (print_version): Likewise.
8739         * debug/xtrace.sh (do_version): Likewise.
8740         * elf/ldconfig.c (print_version): Likewise.
8741         * elf/ldd.bash.in: Likewise.
8742         * elf/pldd.c (print_version): Likewise.
8743         * elf/sotruss.sh: Likewise.
8744         * elf/sprof.c (print_version): Likewise.
8745         * iconv/iconv_prog.c (print_version): Likewise.
8746         * iconv/iconvconfig.c (print_version): Likewise.
8747         * locale/programs/locale.c (print_version): Likewise.
8748         * locale/programs/localedef.c (print_version): Likewise.
8749         * login/programs/pt_chown.c (print_version): Likewise.
8750         * malloc/memusage.sh (do_version): Likewise.
8751         * malloc/memusagestat.c (print_version): Likewise.
8752         * malloc/mtrace.pl: Likewise.
8753         * manual/libc.texinfo: Likewise.
8754         * nptl/version.c (banner): Likewise.
8755         * nscd/nscd.c (print_version): Likewise.
8756         * nss/getent.c (print_version): Likewise.
8757         * nss/makedb.c (print_version): Likewise.
8758         * posix/getconf.c (main): Likewise.
8759         * scripts/test-installation.pl: Likewise.
8760         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8762         * All files with FSF copyright notices: Update copyright dates
8763         using scripts/update-copyrights.
8764         * intl/plural.c: Regenerated.
8765         * locale/programs/charmap-kw.h: Likewise.
8766         * locale/programs/locfile-kw.h: Likewise.
8768 2016-01-02  Helge Deller  <deller@gmx.de>
8770         [BZ #19285]
8771         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8772         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8773         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8774         (MADV_xxK_PAGES): Remove.
8776 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8778         [BZ #15421]
8779         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8780         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8781         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8782         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8784 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8786         [BZ #19408]
8787         * sysdeps/unix/sysv/linux/personality.c: New file.
8788         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8789         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8790         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8791         (sysdep_routines): Add personality.
8792         (tests): Add tst-personality.
8793         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8794         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8795         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8796         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8797         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8798         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8799         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8800         Likewise.
8801         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8802         Likewise.
8803         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8804         Likewise.
8805         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8806         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8807         Likewise.
8809 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8811         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8812         (PATH_ARM_SYSTYPE): Remove.
8813         (PATH_CPUINFO): Likewise.
8814         (IO_BASE_FOOTBRIDGE): Likewise.
8815         (IO_SHIFT_FOOTBRIDGE): Likewise.
8816         (struct platform): Likewise.
8817         (init_iosys): Remove compatibility code for 2.4 kernels.
8818         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8820 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8822         * malloc/tst-malloc-thread-fail.c: New file.
8823         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8824         (tst-malloc-thread-fail): Link against libpthread.
8826 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8828         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8829         (get_parser): New function.
8830         (main): New function.
8832 2015-12-29  Rob Wu  <rob@robwu.nl>
8834         [BZ #19369]
8835         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8837 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8839         [BZ #19270]
8840         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8842 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8844         [BZ #15421]
8845         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8847 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8849         [BZ #13690]
8850         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8851         after releasing it.
8852         (__lll_robust_unlock): Likewise.
8853         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8854         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8855         (lll_robust_unlock): Likewise.
8856         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8857         Prevent warnings in callers.
8859 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8861         * malloc/arena.c (list_lock): Update comment.
8863 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8865         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8866         __parse_hwcap_and_convert_at_platform to libc.a.
8868 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8870         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8871         platform and feature support for POWER9.
8872         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8873         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8874         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8875         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8876         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8877         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8878         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8879         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8881 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8883         Harmonize generic stdio-lock support with nptl
8885         This fixes build when _IO_funlockfile is a macro, fixes build where
8886         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8887         stack unwind.
8889         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8890         _IO_release_lock ): Use cleanup attribute on new
8891         _IO_acquire_lock_file variable instead of assuming that
8892         _IO_release_lock will be called.
8893         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8894         _IO_acquire_lock_needs_exceptions_enabled.
8895         (_IO_acquire_lock_clear_flags2): New macro.
8897 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8899         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8901 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8903         [BZ #19182]
8904         * malloc/arena.c (list_lock): Document lock ordering requirements.
8905         (free_list_lock): New lock.
8906         (ptmalloc_lock_all): Comment on free_list_lock.
8907         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8908         (detach_arena): Update comment.  free_list_lock is now needed.
8909         (_int_new_arena): Use free_list_lock around detach_arena call.
8910         Acquire arena lock after list_lock.  Add comment, including FIXME
8911         about incorrect synchronization.
8912         (get_free_list): Switch to free_list_lock.
8913         (reused_arena): Acquire free_list_lock around detach_arena call
8914         and attached threads counter update.  Add two FIXMEs about
8915         incorrect synchronization.
8916         (arena_thread_freeres): Switch to free_list_lock.
8917         * malloc/malloc.c (struct malloc_state): Update comments to
8918         mention free_list_lock.
8920 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8922         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8923         Remove functions.
8924         (sloww, sloww1): Accept argument to offset quadrant.
8925         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8926         quadrant.
8927         (__sin, __cos): Consolidate common code into new functions.
8928         (reduce_sincos_1, do_sincos_1): New functions.
8929         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8931         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8932         code to new functions.
8933         (reduce_sincos_2, do_sincos_2): New functions.
8934         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8936         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8937         common code for sincos.
8938         (__cos) [!IN_SINCOS]: Likewise.
8939         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8940         New function.
8941         (__sincos): Use it.
8943 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8945         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8946         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8947         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8949 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8951         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8952         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8954         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8955         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8956         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8957         index_Prefer_No_VZEROUPPER): New feature.
8958         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8959         Prefer_No_VZEROUPPER for Knights Landing.
8961 015-12-18  Torvald Riegel  <triegel@redhat.com>
8963         * math/atest-exp2.c (mp_exp_m1): Remove.
8965 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8967         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8968         syscalls.
8969         (__SYSCALL0): New macro.
8970         (__SYSCALL1): Likewise.
8971         (__SYSCALL2): Likewise.
8972         (__SYSCALL3): Likewise.
8973         (__SYSCALL4): Likewise.
8974         (__SYSCALL5): Likewise.
8975         (__SYSCALL6): Likewise.
8976         (__SYSCALL_CONCAT_X): Likewise.
8977         (__SYSCALL_CONCAT): Likewise.
8978         (__SYSCALL_DIST): Likewise.
8979         (__SYSCALL_CALL): Likewise.
8981 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8983         [BZ #19363]
8984         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8986 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8988         [BZ #19375]
8989         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8990         negative subnormals.
8992 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8994         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8995         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8996         (INTERNAL_SYSCALL_NCS): Use it.
8997         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8999 2015-12-16  Florian Weimer  <fweimer@redhat.com>
9001         [BZ #19243]
9002         * malloc/arena.c (get_free_list): Remove assert and adjust
9003         reference count handling.  Add comment about reused_arena
9004         interaction.
9005         (reused_arena): Add comments abount get_free_list interaction.
9006         * malloc/tst-malloc-thread-exit.c: New file.
9007         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
9008         (tst-malloc-thread-exit): Link against libpthread.
9010 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9012         [BZ #19367]
9013         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
9014         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
9015         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
9016         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
9017         (index_Prefer_MAP_32BIT_EXEC): Likewise.
9019 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
9021         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
9022         Silvermont optimizations for Knights Landing.
9024 2015-12-15  Andreas Schwab  <schwab@suse.de>
9026         [BZ #17197]
9027         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
9028         immediately after emitting SI.
9029         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
9030         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
9031         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
9032         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
9033         * iconvdata/bug-iconv10.c: New file.
9034         * iconvdata/Makefile (tests): Add bug-iconv10.
9035         ($(objpfx)bug-iconv10.out): New rule.
9037 2015-12-15  Florian Weimer  <fweimer@redhat.com>
9039         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
9040         aliasing violation.
9042 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
9044         [BZ #18472]
9045         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
9046         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
9047         conditionals for them.
9048         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
9049         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
9050         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
9051         sys/kdaemon.h.
9052         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
9053         compat-only syscall, obsoleted in glibc 2.23.
9054         (create_module): Likewise.
9055         (get_kernel_syms): Likewise.
9056         (query_module): Likewise.
9057         (uselib): Likewise.
9058         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
9060 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
9062         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
9063         <linux/version.h>.
9064         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
9065         conditional code.
9066         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
9067         and ioshift_name initialization.
9069 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9071         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9072         Fix indentation.
9074 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9076         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
9078 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
9080         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
9082 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
9083             Jakub Wilk  <jwilk@debian.org>
9085         [BZ #19347]
9086         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
9087         to change the group of the device to the tty group.
9089 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
9091         Split large string section; add truncation advice
9092         * manual/examples/strncat.c: Remove.
9093         This example was misleading, as the code would have undefined
9094         behavior if "hello" was longer than SIZE.  Anyway, the manual
9095         shouldn't encourage strncpy+strncat for this sort of thing.
9096         * manual/string.texi (Copying Strings and Arrays): Split into
9097         three sections Copying Strings and Arrays, Concatenating Strings,
9098         and Truncating Strings, as this section was way too long.  All
9099         cross-referenced changed.  Add advice about string-truncation
9100         functions.  Remove misleading strncat example.
9102 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
9104         * manual/nss.texi (NSS Modules Interface): Document
9105         NSS_STATUS_NOTFOUND and SUCCESS.
9107 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9109         [BZ 18568]
9110         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
9111         201505L, for Unicode 8.
9113 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
9115         * locale/C-translit.h: Regenerate.
9117 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
9119         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
9120         and U+0153.
9122 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #19351]
9125         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
9126         expanding log(1+z), compare z rather than its square with epsilon
9127         to determine when to avoid evaluating the expansion.
9129         [BZ #19350]
9130         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9131         Increase overflow threshold.
9133         [BZ #19349]
9134         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
9135         when small.
9137         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9138         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9139         New macro.
9140         [__LINUX_KERNEL_VERSION >= 0x040300]
9141         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9142         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9143         Likewise.
9144         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9145         Likewise.
9146         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9147         Likewise.
9148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9149         Likewise.
9150         [__LINUX_KERNEL_VERSION >= 0x040300]
9151         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9152         [__LINUX_KERNEL_VERSION >= 0x040300]
9153         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9154         [__LINUX_KERNEL_VERSION >= 0x040300]
9155         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9156         [__LINUX_KERNEL_VERSION >= 0x040300]
9157         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9158         [__LINUX_KERNEL_VERSION >= 0x040300]
9159         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9161         Likewise.
9162         [__LINUX_KERNEL_VERSION >= 0x040300]
9163         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9165         Likewise.
9166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9167         Likewise.
9168         [__LINUX_KERNEL_VERSION >= 0x040300]
9169         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9170         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9171         Likewise.
9172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9173         Likewise.
9174         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9175         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
9176         Likewise.
9177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
9178         Likewise.
9179         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
9180         Likewise.
9181         [__LINUX_KERNEL_VERSION >= 0x040300]
9182         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9183         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
9184         Likewise.
9185         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
9186         Likewise.
9187         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
9188         Likewise.
9189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
9190         Likewise.
9191         [__LINUX_KERNEL_VERSION >= 0x040300]
9192         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
9193         [__LINUX_KERNEL_VERSION >= 0x040300]
9194         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9195         [__LINUX_KERNEL_VERSION >= 0x040300]
9196         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9197         [__LINUX_KERNEL_VERSION >= 0x040300]
9198         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9199         [__LINUX_KERNEL_VERSION >= 0x040300]
9200         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
9202         Likewise.
9203         [__LINUX_KERNEL_VERSION >= 0x040300]
9204         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
9205         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9206         Likewise.
9207         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
9208         Likewise.
9209         [__LINUX_KERNEL_VERSION >= 0x040300]
9210         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
9211         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9212         Likewise.
9213         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
9214         Likewise.
9215         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9216         (__ASSUME_SOCKET_SYSCALL): Likewise.
9217         (__ASSUME_BIND_SYSCALL): Likewise.
9218         (__ASSUME_CONNECT_SYSCALL): Likewise.
9219         (__ASSUME_LISTEN_SYSCALL): Likewise.
9220         (__ASSUME_ACCEPT_SYSCALL): Likewise.
9221         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9222         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9223         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9224         (__ASSUME_SEND_SYSCALL): Likewise.
9225         (__ASSUME_SENDTO_SYSCALL): Likewise.
9226         (__ASSUME_RECV_SYSCALL): Likewise.
9227         (__ASSUME_RECVFROM_SYSCALL): Likewise.
9228         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
9229         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9230         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9231         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9232         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9233         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9234         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
9235         Likewise.
9236         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
9237         Likewise.
9238         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
9239         Likewise.
9240         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
9241         Likewise.
9242         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
9243         Likewise.
9244         [__LINUX_KERNEL_VERSION >= 0x020625]
9245         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
9246         [__LINUX_KERNEL_VERSION >= 0x020625]
9247         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
9248         [__LINUX_KERNEL_VERSION >= 0x020625]
9249         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
9250         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
9251         Likewise.
9252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
9253         Likewise.
9254         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
9255         Likewise.
9256         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
9257         Likewise.
9258         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
9259         Likewise.
9260         [__LINUX_KERNEL_VERSION >= 0x020625]
9261         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
9262         [__LINUX_KERNEL_VERSION >= 0x020625]
9263         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
9264         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
9265         Likewise.
9266         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
9267         Likewise.
9269 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9271         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
9272         record the current if the current ABI and CPU support the FP64
9273         extension.
9274         (has-modd-spreg): Define to record the current if the current ABI and
9275         CPU support 32-bit floating point values in odd FPU registers.
9276         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9277         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
9278         $(has-modd-spreg) equals yes.
9279         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
9280         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
9281         $(has-modd-spreg) equal yes.
9283 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
9285         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
9286         basename.
9288 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
9290         * benchtests/Makefile (bench-math): Move ffs and ffsll...
9291         (bench-string): ... here.
9292         (bench): Add bench-string.
9293         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
9294         to *-benchset to reflect what they are.
9295         (benchset): Adjust.
9297         * benchtests/sincos-inputs: Add inputs from sin-inputs and
9298         cos-inputs.
9300 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
9302         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
9303         __attribute__ ((__simd__)) for vector math function declarations.
9305 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9307         Fix typo in strncat, wcsncat manual entries
9308         * manual/string.texi (Copying and Concatenation): Fix typos in
9309         sample implementations of strncat and wcsncat, by having them use
9310         the old value of the destination length, not the new one.
9312 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
9314         [BZ #16961]
9315         [BZ #16962]
9316         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
9317         string on the stack for strtod.
9318         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
9319         a string on the stack for strtof.
9320         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
9321         constructing a string on the stack for strtold.
9322         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
9323         __strtold_nan to GLIBC_PRIVATE.
9324         * math/test-nan-overflow.c: New file.
9325         * math/test-nan-payload.c: Likewise.
9326         * math/Makefile (tests): Add test-nan-overflow and
9327         test-nan-payload.
9329 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9331         Consistency about byte vs character in string.texi
9332         * manual/string.texi (String and Array Utilities):
9333         Distinguish more carefully among bytes, multibyte characters,
9334         and wide characters.  Use "byte" when talking about C 'char',
9335         to distinguish it more clearly from multibyte characters.
9336         Say "wide character" or "multibyte character" instead of
9337         "character", when a wide or multibyte character is intended.
9338         Similarly for "multibyte string" versus "string".
9339         Define these terms more carefully.
9341 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
9343         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
9344         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
9345         Likewise.
9346         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9347         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
9348         * sysdeps/sh/math_private.h: New file.
9349         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
9350         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
9351         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
9352         long double function name.
9353         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9354         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9355         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9356         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
9359         Remove __finitel, __isinfl, and __isnanl.
9360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9361         Likewise.
9362         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9364         Remove __finitel.
9365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9366         Likewise.
9367         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9369 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
9371         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
9372         installed libmvec_nonshared.a.
9374 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9376         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
9377         (sysdep_routines): Likewise.
9378         (sysdep-rtld-routines): Likewise.
9379         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
9380         [$(subdir) = nptl](tests-static): test-get_hwcap-static
9381         * sysdeps/powerpc/Versions: Added new
9382         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
9383         * sysdeps/powerpc/hwcapinfo.c: New file.
9384         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
9385         and parse hwcap, hwcap2 and platform number information.
9386         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
9387         to store HWCAP+HWCAP2 and platform number.
9388         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
9389         for HWCAP+HWCAP2 and platform number in the TCB.
9390         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
9391         the HWCAP, HWCAP2 and platform number in the TCB.
9392         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
9393         (TLS_INIT_TP): Included calls to add the hwcap and
9394         at_platform values in the TCB in TP initialization.
9395         (TLS_DEFINE_INIT_TP): Likewise.
9396         (THREAD_GET_HWCAP): New macro.
9397         (THREAD_SET_HWCAP): Likewise.
9398         (THREAD_GET_AT_PLATFORM): Likewise.
9399         (THREAD_SET_AT_PLATFORM): Likewise.
9400         * sysdeps/powerpc/powerpc32/dl-machine.h:
9401         (dl_platform_init): New function that calls
9402         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
9403         powerpc32.
9404         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
9405         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
9406         this functionality, static linking case.
9407         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
9408         linking case.
9409         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
9410         __parse_hwcap_and_convert_at_platform for the static linking case.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
9412         Included the new __parse_hwcap_and_convert_at_platform symbol in the
9413         ABI list for GLIBC 2.23.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
9415         Likewise.
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
9417         Likewise.
9419 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
9421         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
9422         * configure: Regenerate.
9423         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
9424         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
9426 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
9428         * iconvdata/ibm930.c: Add comment explaining encoding uses.
9429         * iconvdata/ibm933.c: Likewise.
9430         * iconvdata/ibm935.c: Likewise.
9431         * iconvdata/ibm937.c: Likewise.
9432         * iconvdata/ibm939.c: Likewise.
9434 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9436         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
9437         pthread_join.
9438         * nptl/tst-cancel21.c (tf): Likewise.
9440 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
9442         [BZ #19313]
9443         * bits/typesizes.h (__CPU_MASK_TYPE): New.
9444         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9445         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
9446         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
9447         Likewise.
9448         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
9449         Likewise.
9450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
9451         Likewise.
9452         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
9453         Likewise.
9454         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
9455         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
9456         unsigned long int with __CPU_MASK_TYPE.
9458 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9460         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9462 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
9464         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
9465         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
9466         t512.x.
9467         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
9469 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
9471         [BZ #19214]
9472         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
9473         argument to return extended model.  Update family and model
9474         with extended family and model when family == 0x0f.
9475         (init_cpu_features): Updated.
9477 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9479         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9480         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9482         * sysdeps/mach/hurd/mmap64.c: New file.
9484 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9486         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9487         rights for its main user thread in NEWTASK.
9489 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9491         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9492         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9494 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9496         [BZ #14259]
9497         * Makeconfig: Rename localedir to complocaledir.
9498         Rename inst_localedir to inst_complocaledir.
9499         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9500         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9501         * configure.ac: Use libc_cv_complocaledir.
9502         * configure: Regenerate.
9503         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9504         -DCOMPLOCALEDIR.
9505         * locale/findlocale.c: Use COMPLOCALEDIR.
9506         * locale/loadarchive.c: Likewise.
9507         * locale/programs/locale.c: Likewise.
9508         * locale/programs/localedef.c: Likewise.
9509         * locale/programs/locarchive.c: Likewise.
9510         * localedata/Makefile: Use inst_complocaledir.
9511         * sysdeps/gnu/configure: Regenerate.
9512         * sysdeps/hppa/configure: Regenerate.
9513         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9514         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9516         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9517         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9518         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9519         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9521 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9523         [BZ #19058]
9524         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9525         AS_NEEDED.
9526         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9527         workaround.
9528         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9529         libmvec-static-only-routines): Added new file.
9530         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9532 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9534         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9535         of interrupted RPC instead of restoring it.
9537         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9538         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9539         libc_hidden_def.
9540         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9541         into initialized data instead of common. Define rtld_hidden_data_def.
9542         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9543         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9544         libc_hidden_def.
9545         (if_freenameindex): Add libc_hidden_weak.
9546         (if_nameindex): Add libc_hidden_weak.
9547         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9548         __open64.
9549         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9550         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9551         * sysdeps/mach/nanosleep.c: Include <time.h>
9552         (__nanosleep): Rename to __libc_nanosleep.
9553         (__nanosleep): Add weak_alias.
9554         (nanosleep): Update alias.
9556 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9558         * stdlib/strtod_nan.c: New file.
9559         * stdlib/strtod_nan_double.h: Likewise.
9560         * stdlib/strtod_nan_float.h: Likewise.
9561         * stdlib/strtod_nan_main.c: Likewise.
9562         * stdlib/strtod_nan_narrow.h: Likewise.
9563         * stdlib/strtod_nan_wide.h: Likewise.
9564         * stdlib/strtof_nan.c: Likewise.
9565         * stdlib/strtold_nan.c: Likewise.
9566         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9567         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9568         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9569         * wcsmbs/wcstod_nan.c: Likewise.
9570         * wcsmbs/wcstof_nan.c: Likewise.
9571         * wcsmbs/wcstold_nan.c: Likewise.
9572         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9573         strtold_nan.
9574         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9575         wcstof_nan.
9576         * include/stdlib.h (__strtof_nan): Declare and use
9577         libc_hidden_proto.
9578         (__strtod_nan): Likewise.
9579         (__strtold_nan): Likewise.
9580         (__wcstof_nan): Likewise.
9581         (__wcstod_nan): Likewise.
9582         (__wcstold_nan): Likewise.
9583         * include/wchar.h (____wcstoull_l_internal): Declare.
9584         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9585         (____strtoull_l_internal): Remove declaration.
9586         (STRTOF_NAN): Define macro.
9587         (SET_MANTISSA): Remove macro.
9588         (STRTOULL): Likewise.
9589         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9590         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9591         (STRTOF_NAN): Define macro.
9592         (SET_MANTISSA): Remove macro.
9593         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9594         (SET_MANTISSA): Remove macro.
9595         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9596         macro.
9597         (SET_MANTISSA): Remove macro.
9598         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9599         macro.
9600         (SET_MANTISSA): Remove macro.
9601         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9602         (SET_MANTISSA): Remove macro.
9603         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9604         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9605         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9607         [BZ #19266]
9608         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9609         upper case and lower case letters inside NAN(), not using TOLOWER.
9610         * stdlib/tst-strtod-nan-locale-main.c: New file.
9611         * stdlib/tst-strtod-nan-locale.c: Likewise.
9612         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9613         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9614         Depend on $(gen-locales).
9615         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9616         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9617         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9618         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9619         Depend on $(gen-locales).
9620         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9622 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9624         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9626         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9628         __finitel, __isinfl, and __isnanl.
9629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9630         Likewise.
9631         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9633         __finitel.
9634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9635         Likewise.
9636         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9638 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9640         * malloc/memusage.c (me): Remove redundant getenv call.
9642 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9644         [BZ #19143]
9645         [BZ #19164]
9646         * nptl/check-cpuset.h: Remove.
9647         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9648         Remove CPU set size check.
9649         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9650         Likewise.
9651         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9652         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9653         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9654         (__pthread_setaffinity_new): Remove CPU set size check.
9655         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9656         (__kernel_cpumask_size): Remove.
9657         (__sched_setaffinity_new): Remove CPU set size check.
9658         * manual/threads.texi (Default Thread Attributes): Remove stale
9659         reference to check_cpuset_attr, determine_cpumask_size in comment.
9660         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9661         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9662         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9663         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9664         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9665         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9666         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9667         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9668         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9669         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9670         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9671         skeleton test file.
9672         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9673         tst-affinity-pid.
9675 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9677         * scripts/update-abilist.sh: New file.
9678         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9679         * Makerules (update-all-abi-%, update-all-abi)
9680         (subdir_update-all-abi): New targets.
9681         * elf/Makefile (update-all-abi): New target.
9683 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9685         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9686         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9687         (__libc_lock_define_initialized): Use it.
9688         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9689         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9690         * malloc/malloc.c (main_arena): Likewise.
9691         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9692         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9694 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9696         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9697         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9698         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9699         (PTRACE_O_MASK): Update value.
9700         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9701         New value in enum __ptrace_setoptions.
9702         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9703         (PTRACE_O_MASK): Update value.
9704         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9705         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9706         (PTRACE_O_MASK): Update value.
9707         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9708         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9709         (PTRACE_O_MASK): Update value.
9710         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9711         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9712         (PTRACE_O_MASK): Update value.
9713         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9714         New value in enum __ptrace_setoptions.
9715         (PTRACE_O_MASK): Update value.
9716         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9717         New value in enum __ptrace_setoptions.
9718         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9719         (PTRACE_O_MASK): Update value.
9721         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9722         New macro.
9723         (PACKET_AUXDATA): Likewise.
9724         (PACKET_ORIGDEV): Likewise.
9725         (PACKET_VERSION): Likewise.
9726         (PACKET_HDRLEN): Likewise.
9727         (PACKET_RESERVE): Likewise.
9728         (PACKET_TX_RING): Likewise.
9729         (PACKET_LOSS): Likewise.
9730         (PACKET_VNET_HDR): Likewise.
9731         (PACKET_TX_TIMESTAMP): Likewise.
9732         (PACKET_TIMESTAMP): Likewise.
9733         (PACKET_FANOUT): Likewise.
9734         (PACKET_TX_HAS_OFF): Likewise.
9735         (PACKET_QDISC_BYPASS): Likewise.
9736         (PACKET_ROLLOVER_STATS): Likewise.
9737         (PACKET_FANOUT_DATA): Likewise.
9738         (PACKET_MR_UNICAST): Likewise.
9740         [BZ #19242]
9741         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9742         (TOUPPER): Likewise.
9743         * stdlib/tst-strtol-locale-main.c: New file.
9744         * stdlib/tst-strtol-locale.c: Likewise.
9745         * stdlib/Makefile (tests): Add tst-strtol-locale.
9746         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9747         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9748         Depend on $(gen-locales).
9749         * wcsmbs/tst-wcstol-locale.c: New file.
9750         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9751         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9752         tr_TR.ISO-8859-9.
9753         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9754         Depend on $(gen-locales).
9756 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9758         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9759         __glibc_likely instead of __builtin_expect.  After falling back to
9760         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9761         system interface to register the code pages as occupied.
9763 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9765         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9766         [!ARM_MATH_PRIVATE_H].
9767         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9768         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9769         [!HPPA_MATH_PRIVATE_H].
9770         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9771         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9772         to [!I386_MATH_PRIVATE_H].
9773         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9774         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9775         Change guard to [!M68K_MATH_PRIVATE_H].
9776         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9777         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9778         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9779         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9780         macro.
9781         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9782         [!MIPS_MATH_PRIVATE_H].
9783         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9784         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9785         [!NIO2_MATH_PRIVATE_H].
9786         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9787         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9788         [!TILE_MATH_PRIVATE_H].
9789         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9791         [BZ #15421]
9792         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9793         initialize with 0 and define as weak alias of __signgam.
9794         * include/math.h [!_ISOMAC] (__signgam): Declare.
9795         * math/Makefile (libm-calls): Add w_lgamma_compat.
9796         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9797         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9798         test-signgam-ullong-init.
9799         (tests-static): Add test-signgam-uchar-static,
9800         test-signgam-uchar-init-static, test-signgam-uint-static,
9801         test-signgam-uint-init-static, test-signgam-ullong-static and
9802         test-signgam-ullong-init-static.
9803         (CFLAGS-test-signgam-uchar.c): New variable.
9804         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9805         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9806         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9807         (CFLAGS-test-signgam-uint.c): Likewise.
9808         (CFLAGS-test-signgam-uint-init.c): Likewise.
9809         (CFLAGS-test-signgam-uint-static.c): Likewise.
9810         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9811         (CFLAGS-test-signgam-ullong.c): Likewise.
9812         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9813         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9814         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9815         * math/Versions (libm): Add GLIBC_2.23.
9816         * math/lgamma-compat.h: New file.
9817         * math/test-signgam-main.c: Likewise.
9818         * math/test-signgam-uchar-init-static.c: Likewise.
9819         * math/test-signgam-uchar-init.c: Likewise.
9820         * math/test-signgam-uchar-static.c: Likewise.
9821         * math/test-signgam-uchar.c: Likewise.
9822         * math/test-signgam-uint-init-static.c: Likewise.
9823         * math/test-signgam-uint-init.c: Likewise.
9824         * math/test-signgam-uint-static.c: Likewise.
9825         * math/test-signgam-uint.c: Likewise.
9826         * math/test-signgam-ullong-init-static.c: Likewise.
9827         * math/test-signgam-ullong-init.c: Likewise.
9828         * math/test-signgam-ullong-static.c: Likewise.
9829         * math/test-signgam-ullong.c: Likewise.
9830         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9831         wrapper of w_lgamma_main.c.
9832         * math/w_lgamma_compat.c: New file.
9833         * math/w_lgamma_compatf.c: Likewise.
9834         * math/w_lgamma_compatl.c: Likewise.
9835         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9836         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9837         defining compatibility symbols.
9838         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9839         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9840         wrapper of w_lgammaf_main.c.
9841         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9842         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9843         defining compatibility symbols.
9844         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9845         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9846         wrapper of w_lgammal_main.c.
9847         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9848         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9849         defining compatibility symbols.
9850         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9851         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9852         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9853         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9854         <lgamma-compat.h>.
9855         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9856         (__ieee754_gamma): Define as alias.
9857         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9858         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9859         <lgamma-compat.h>.
9860         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9861         (__ieee754_gammaf): Define as alias.
9862         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9863         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9864         <lgamma-compat.h>.
9865         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9866         (__ieee754_gammal): Define as alias.
9867         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9868         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9869         <math/w_lgamma_compat.c>.
9870         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9871         Define as alias of __lgamma_compat and use in defining lgammal.
9872         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9873         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9874         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9875         (USE_AS_COMPAT): New macro.
9876         (LGAMMA_OLD_VER): Undefine and redefine.
9877         (lgammal): Do not define here.
9878         (gammal): Only define here if [GAMMA_ALIAS].
9879         * conform/linknamespace.pl (@whitelist): Remove signgam.
9880         * sysdeps/nacl/libm.abilist: Update.
9881         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9886         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9887         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9888         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9889         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9890         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9891         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9892         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9894         Likewise.
9895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9896         Likewise.
9897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9898         Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9902         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9905         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9907         Likewise.
9908         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9909         Likewise.
9910         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9911         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9912         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9914 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9916         [BZ #16364]
9917         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9918         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9920 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9922         * sysdeps/s390/fpu/bits/mathinline.h:
9923         Use __asm__ [__volatile__] instead of asm [volatile].
9924         * sysdeps/s390/abort-instr.h: Likewise.
9925         * sysdeps/s390/atomic-machine.h: Likewise.
9926         * sysdeps/s390/bits/string.h: Likewise.
9927         * sysdeps/s390/dl-tls.h: Likewise.
9928         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9929         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9930         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9931         * sysdeps/s390/fpu/fesetround.c: Likewise.
9932         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9933         * sysdeps/s390/fpu/s_fma.c: Likewise.
9934         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9935         * sysdeps/s390/memusage.h: Likewise.
9936         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9937         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9938         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9939         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9940         * sysdeps/s390/nptl/tls.h: Likewise.
9941         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9942         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9943         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9944         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9945         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9946         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9947         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9948         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9949         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9950         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9951         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9952         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9953         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9954         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9955         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9956         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9957         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9958         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9959         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9960         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9961         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9962         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9963         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9965 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9966             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9968         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9969         Add lwarx hint, and use macro for acquire instruction.
9970         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9971         Likewise.
9972         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9973         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9974         update to use new atomic macros.
9976 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9978         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9979         (__lll_trylock_elision): Fix setting of adapt_count.
9980         * sysdeps/unix/sysv/linux/powerpc/htm.h
9981         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9982         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9983         (_ABORT_SYSCALL): Renumber, and clarify definition.
9984         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9986 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9988         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9989         after system headers to prevent MIN/MAX redefinition.  Define
9990         HAVE_ALLOCA to preserve builtin alloca usage.
9992 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9994         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9995         static and don't set or restore rounding.
9996         (__cos)[IN_SINCOS]: Likewise.
9997         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9998         (__sincos): Set and restore rounding mode.  Remove check for infinite
9999         or NaN input.
10001         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
10003         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
10004         as used.
10006 2015-11-16  Florian Weimer  <fweimer@redhat.com>
10008         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
10010 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
10012         * config.make.in (have-glob-dat-reloc): New.
10013         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
10014         target supports GLOB_DAT relocaton. AC_SUBST.
10015         * configure: Regenerated.
10016         * elf/Makefile (tests): Add tst-prelink.
10017         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10018         (tst-prelink-ENV): New.
10019         ($(objpfx)tst-prelink-conflict.out): Likewise.
10020         ($(objpfx)tst-prelink-cmp.out): Likewise.
10021         * sysdeps/x86/tst-prelink.c: Moved to ...
10022         * elf/tst-prelink.c: Here.
10023         * sysdeps/x86/tst-prelink.exp: Moved to ...
10024         * elf/tst-prelink.exp: Here.
10025         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
10026         (tst-prelink-ENV): Removed.
10027         ($(objpfx)tst-prelink-conflict.out): Likewise.
10028         ($(objpfx)tst-prelink-cmp.out): Likewise.
10029         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
10031 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
10033         [BZ #14551]
10034         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
10035         (__mpn_construct_long_double): If high part overflows to infinity,
10036         set errno and recompute overflowed result of the correct sign.
10037         * sysdeps/ieee754/ldbl-128ibm/Makefile
10038         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
10039         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
10040         $(libm).
10041         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
10043 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
10045         [BZ #15479]
10046         [BZ #19238]
10047         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
10048         floating-point state after first operation on input.  Restore full
10049         state rather than just rounding mode.
10050         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10051         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10052         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10054         [BZ #19235]
10055         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
10056         add 0.5 to integer arguments.
10057         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
10058         Likewise.
10059         (.LC2): New object.
10061 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
10063         * scripts/pylintrc (reports): Set to no.
10065 2015-11-10  Roland McGrath  <roland@hack.frob.com>
10067         * elf/dl-load.c (open_verify): Take new argument FD.
10068         Skip __open call if passed FD is not -1.
10069         (_dl_map_object, open_path): Update callers.
10070         * elf/dl-sysdep-open.h: New file.
10071         * elf/dl-load.c: Include it.
10072         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
10073         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
10074         * sysdeps/nacl/dl-sysdep-open.h: New file.
10075         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
10076         from libc to rtld.
10078 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10080         [BZ #19228]
10081         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
10082         and restore full floating-point state.
10083         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10084         Likewise.
10085         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10086         Likewise.
10087         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10088         Likewise.
10089         * math/test-nearbyint-except-2.c: New file.
10090         * math/Makefile (tests): Add test-nearbyint-except-2.
10092 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
10094         [BZ #19178]
10095         * sysdeps/x86/Makefile (tests): Add tst-prelink.
10096         (tst-prelink-ENV): New.
10097         ($(objpfx)tst-prelink-conflict.out): Likewise.
10098         ($(objpfx)tst-prelink-cmp.out): Likewise.
10099         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
10100         * sysdeps/x86/tst-prelink.c: New file.
10101         * sysdeps/x86/tst-prelink.exp: Likewise.
10103 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
10105         * math/auto-libm-test-in: Add another test of pow.
10106         * math/auto-libm-test-out: Regenerated.
10107         * math/libm-test.inc (pow_test_data): Add another test.
10109 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10111         [BZ #19219]
10112         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
10113         weak_alias to nearbyintl.
10115 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10117         * sysdeps/aarch64/bits/string.h: New file.
10118         (_STRING_ARCH_unaligned): Define.
10120 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
10122         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
10123         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10124         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10125         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
10126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
10128 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
10130         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
10131         for original name of the DSO.  Add it to the name list of the DSO
10132         if it is actually given.
10133         (_dl_map_object): Keep track of whether an audit module rewrote
10134         the file name.  If yes, pass the original name to
10135         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
10136         debugging is enabled, log the change of the file name.
10137         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
10138         _dl_map_object_from_fd.
10139         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
10140         * elf/tst-audit11.c: New file
10141         * elf/tst-auditmod11.c: New file.
10142         * elf/tst-audit11mod1.c: New file.
10143         * elf/tst-audit11mod2.c: New file.
10144         * elf/tst-audit11mod2.map: New file.
10145         * elf/tst-audit12.c: New file
10146         * elf/tst-auditmod12.c: New file.
10147         * elf/tst-audit12mod1.c: New file.
10148         * elf/tst-audit12mod2.c: New file.
10149         * elf/tst-audit12mod2.map: New file.
10150         * elf/tst-audit12mod3.c: New file.
10152 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10154         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
10155         Don't create weak aliases,
10156         because versioned symbols are created later.
10157         * sysdeps/s390/s390-32/setjmp.S
10158         (setjmp, _setjmp): Remove weak and rename to an unique name
10159         in SHARED case due to existing versioned symbols.
10160         * sysdeps/s390/s390-64/setjmp.S: Likewise.
10161         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
10162         (getcontext): Create weak alias only in non SHARED case.
10163         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10165 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10167         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
10168         (__ASSUME_*_SYSCALL) Define new macros.
10169         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
10170         Remove socketcall syscalls.
10171         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
10172         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
10173         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
10174         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
10175         * sysdeps/unix/sysv/linux/send.c (__libc_send):
10176         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
10178 2015-11-09  Florian Weimer  <fweimer@redhat.com>
10180         [BZ #12926]
10181         Terminate process on invalid netlink response.
10182         * sysdeps/unix/sysv/linux/netlinkaccess.h
10183         (__netlink_assert_response): Declare.
10184         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
10185         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
10186         (sysdep_routines): Add netlink_assert_response.
10187         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
10188         __netlink_assert_response.
10189         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10190         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10191         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
10192         __netlink_assert_response.
10194 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
10196         [BZ #19178]
10197         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
10198         (RTYPE_CLASS_PLT): Likewise.
10199         (RTYPE_CLASS_COPY): Likewise.
10200         (RTYPE_CLASS_TLS): Likewise.
10201         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
10202         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
10203         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
10204         DL_DEBUG_PRELINK.
10206 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
10208         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
10209         calls with argument -0.5.
10210         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
10212         * configure.ac (libc_cv_z_nodelete): Remove configure test.
10213         (libc_cv_z_nodlopen): Likewise.
10214         (libc_cv_z_initfirst): Likewise.
10215         * configure: Regenerated.
10217 2015-11-06  Florian Weimer  <fweimer@redhat.com>
10219         Simplify abilist format to be line-based.
10220         * scripts/abilist.awk: Collect descriptors in the descs variable.
10221         (emit): Write descs variable and sort it
10222         externally, with sort.
10223         * sysdeps/**/*.abilist: Convert to new format.
10225 2015-11-06  Mark Wielaard  <mjw@redhat.com>
10227         [BZ #11460]
10228         * io/Makefile (routines): Add fts64.
10229         (tests): Add tst-fts and tst-fts-lfs.
10230         (CFLAGS-fts64.c): New.
10231         * io/Versions (GLIBC_2.23): New.
10232         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
10233         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
10234         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
10235         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
10236         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
10237         (FTSENT64): Likewise.
10238         (fts64_children): Likewise.
10239         (fts64_close): Likewise.
10240         (fts64_open): Likewise.
10241         (fts64_read): Likewise.
10242         (fts64_set): Likewise.
10243         * io/fts64.c: New file.
10244         * io/tst-fts.c: New test.
10245         * io/tst-fts-lfs.c: Likewise.
10246         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
10247         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
10248         fts64_set.
10249         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10250         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10251         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10252         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10253         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10254         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10255         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10256         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10257         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10258         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10259         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10260         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10261         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10263         Likewise.
10264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10265         Likewise.
10266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10268         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10269         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10270         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10271         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10275         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10276         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10277         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10278         * sysdeps/wordsize-64/fts.c: New file.
10279         * sysdeps/wordsize-64/fts64.c: Likewise.
10280         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
10281         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
10282         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
10283         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
10285 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10287         * math/libm-test.inc (NON_FINITE): New macro.
10288         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
10289         * math/gen-libm-test.pl (show_exceptions): Add argument
10290         $non_finite.
10291         (parse_args): Update call to show_exceptions.
10292         * math/test-math-finite.h: New file.
10293         * math/test-math-no-finite.h: Likewise.
10294         * math/test-double-finite.c: Likewise.
10295         * math/test-float-finite.c: Likewise.
10296         * math/test-ldouble-finite.c: Likewise.
10297         * math/test-double.c: Include "test-math-no-finite.h".
10298         * math/test-float.c: Include "test-math-no-finite.h".
10299         * math/test-ldouble.c: Include "test-math-no-finite.h".
10300         * math/test-math-inline.h (TEST_FINITE): New macro.
10301         * math/test-math-vector.h (TEST_FINITE): Likewise.
10302         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
10303         (libm-tests): Add test-float-finite and test-double-finite.
10304         ($(objpfx)test-float-finite.o): New dependency on
10305         $(objpfx)libm-test.stmp.
10306         ($(objpfx)test-double-finite.o): Likewise.
10307         ($(objpfx)test-ldouble-finite.o): Likewise.
10308         (libm-test-no-inline-cflags): New variable.
10309         (libm-test-finite-cflags): Likewise.
10310         (CFLAGS-test-float-finite.c): Likewise.
10311         (CFLAGS-test-double-finite.c): Likewise.
10312         (CFLAGS-test-ldouble-finite.c): Likewise.
10313         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
10314         (CFLAGS-test-double.c): Likewise.
10315         (CFLAGS-test-ldouble.c): Likewise.
10317 2015-11-05  Roland McGrath  <roland@hack.frob.com>
10319         * io/fcntl.c (__fcntl): Add ... to prototype.
10320         * misc/ioctl.c (__ioctl): Likewise.
10321         * misc/syscall.c (syscall): Likewise.
10323 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
10325         * scripts/list-fixed-bugs.py: New file.
10327         [BZ #19213]
10328         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
10329         returned for argument 1.
10330         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
10331         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
10332         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
10333         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
10334         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
10335         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
10337         [BZ #19211]
10338         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
10339         __USE_XOPEN], not if [!__USE_ISOC99].
10340         (lgammaf): Likewise.
10341         (lgammal): Likewise.
10342         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
10343         (gammaf): Likewise.
10344         (gammal): Likewise.
10345         * math/test-signgam-finite-c11.c: New file.
10346         * math/test-signgam-finite-c99.c: Likewise.
10347         * math/test-signgam-finite.c: Likewise.
10348         * math/Makefile (tests): Add test-signgam-finite,
10349         test-signgam-finite-c99 and test-signgam-finite-c11.
10350         (CFLAGS-test-signgam-finite.c): New variable.
10351         (CFLAGS-test-signgam-finite-c99.c): Likewise.
10352         (CFLAGS-test-signgam-finite-c11.c): Likewise.
10354         [BZ #19212]
10355         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
10356         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
10357         500].
10358         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
10359         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
10360         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
10361         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
10362         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
10363         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
10364         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
10365         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
10366         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
10367         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
10369         [BZ #19209]
10370         * math/bits/math-finite.h (ldexp): Remove declaration.
10371         (ldexpf): Likewise.
10372         (ldexpl): Likewise.
10374         [BZ #19205]
10375         * math/bits/math-finite.h (acosf): Condition declaration on
10376         [__USE_ISOC99].
10377         (acosl): Likewise.
10378         (acoshf): Likewise.
10379         (acoshl): Likewise.
10380         (asinf): Likewise.
10381         (asinl): Likewise.
10382         (atan2f): Likewise.
10383         (atan2l): Likewise.
10384         (atanhf): Likewise.
10385         (atanhl): Likewise.
10386         (coshf): Likewise.
10387         (coshl): Likewise.
10388         (expf): Likewise.
10389         (expl): Likewise.
10390         (fmodf): Likewise.
10391         (fmodl): Likewise.
10392         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
10393         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
10394         (j0l): Likewise.
10395         (y0f): Likewise.
10396         (y0l): Likewise.
10397         (j1f): Likewise.
10398         (j1l): Likewise.
10399         (y1f): Likewise.
10400         (y1l): Likewise.
10401         (jnf): Likewise.
10402         (jnl): Likewise.
10403         (ynf): Likewise.
10404         (ynl): Likewise.
10405         (lgammaf_r): Condition declaration on [__USE_ISOC99].
10406         (lgammal_r): Likewise.
10407         (__lgamma_r_finite): New declaration.
10408         (__lgammaf_r_finite): Likewise.
10409         (__lgammal_r_finite): Likewise.
10410         (lgamma): Use __lgamma_r_finite.
10411         (lgammaf): Condition definition on [__USE_ISOC99].  Use
10412         __lgammaf_r_finite.
10413         (lgammal): Condition definition on [__USE_ISOC99].  Use
10414         __lgammal_r_finite.
10415         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
10416         __lgamma_r_finite.
10417         (gammaf): Condition definition on [__USE_ISOC99].  Use
10418         __lgammaf_r_finite.
10419         (gammal): Condition definition on [__USE_ISOC99].  Use
10420         __lgammal_r_finite.
10421         (logf): Condition declaration on [__USE_ISOC99].
10422         (logl): Likewise.
10423         (log10f): Likewise.
10424         (log10l): Likewise.
10425         (ldexpf): Likewise.
10426         (ldexpl): Likewise.
10427         (powf): Likewise.
10428         (powl): Likewise.
10429         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
10430         __USE_ISOC99].
10431         (remainderf): Condition declaration on [__USE_ISOC99].
10432         (remainderl): Likewise.
10433         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
10434         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
10435         (scalbl): Likewise.
10436         (sinhf): Condition declaration on [__USE_ISOC99].
10437         (sinhl): Likewise.
10438         (sqrtf): Likewise.
10439         (sqrtl): Likewise.
10441 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10443         * sysdeps/arm/atomic-machine.h
10444         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10445         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10446         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
10447         Remove conditional code.
10448         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
10449         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
10450         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
10451         Change conditional to [__ASSEMBLER__].
10452         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10453         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
10454         [!__ASSEMBLER__].
10455         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
10456         code.
10457         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
10458         conditional macro definitions.
10459         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
10460         (__arch_compare_and_exchange_val_16_acq): Likewise.
10461         (__arch_compare_and_exchange_val_32_acq): Likewise.
10462         (atomic_exchange_and_add): Likewise.
10463         (atomic_add): Likewise.
10464         (atomic_add_negative): Likewise.
10465         (atomic_add_zero): Likewise.
10466         (atomic_bit_set): Likewise.
10467         (atomic_bit_test_set): Likewise.
10468         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
10469         code unconditional.
10470         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10472         * math/test-math-errno.h: New file.
10473         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10474         empty.
10475         (TEST_ERRNO): New macro.
10476         (TEST_EXCEPTIONS): Likewise.
10477         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10478         (TEST_EXCEPTIONS): Likewise.
10479         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10480         * math/test-double.c: Include "test-math-errno.h".
10481         * math/test-float.c: Likewise.
10482         * math/test-ldouble.c: Likewise.
10483         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10484         code unconditional.
10485         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10486         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10487         unconditional.
10488         (test_errno): Only run code if TEST_ERRNO.
10489         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10491 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10493         * nptl/tst-once5.cc: Remove attribution.
10495 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10497         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10498         sqrt, tan, tanh, y0, y1 and yn.
10499         * math/auto-libm-test-out: Regenerated.
10500         * math/libm-test.inc (scalb_test_data): Add more tests.
10501         (scalbn_test_data): Likewise.
10502         (scalbln_test_data): Likewise.
10503         (signbit_test_data): Likewise.
10504         (sin_test_data): Likewise.
10505         (sincos_test_data): Likewise.
10506         (sinh_test_data): Likewise.
10507         (sqrt_test_data): Likewise.
10508         (tan_test_data): Likewise.
10509         (tanh_test_data): Likewise.
10510         (tgamma_test_data): Likewise.
10511         (y0_test_data): Likewise.
10512         (y1_test_data): Likewise.
10513         (yn_test_data): Likewise.
10514         (significand_test_data): Likewise.
10515         * sysdeps/i386/fpu/libm-test-ulps: Update.
10517 2015-11-03  David Kastrup  <dak@gnu.org>
10519         [BZ #18604]
10520         * assert/assert.h (assert): Don't macro-expand failed assertion
10521         expression in error message.
10522         * malloc/malloc.c (assert): Likewise.
10524 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10526         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10527         test.
10528         * configure: Regenerated.
10530 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10532         * math/libm-test.inc (modf_test_data): Add more tests.
10533         (nearbyint_test_data): Likewise.
10534         (nextafter_test_data): Likewise.
10535         (nexttoward_test_data): Likewise.
10536         (pow_test_data): Likewise.
10537         (remainder_test_data): Likewise.
10538         (remquo_test_data): Likewise.
10539         (rint_test_data): Likewise.
10541         [BZ #19201]
10542         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10543         Check for zero remainder in case of large exponents and ensure
10544         correct sign of result in that case.
10545         * math/libm-test.inc (remainder_test_data): Add more tests.
10547         [BZ #6799]
10548         * math/s_nextafter.c: Include <errno.h>.
10549         (__nextafter): Set errno on overflow and underflow.
10550         * math/s_nexttowardf.c: Include <errno.h>.
10551         (__nexttowardf): Set errno on overflow and underflow.
10552         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10553         (__nextafterl): Set errno on overflow and underflow.
10554         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10555         (__nexttoward): Set errno on overflow and underflow.
10556         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10557         (__nexttowardf): Set errno on overflow and underflow.
10558         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10559         (__nextafterf): Set errno on overflow and underflow.
10560         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10561         (__nextafterl): Set errno on overflow and underflow.
10562         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10563         (__nexttoward): Set errno on overflow and underflow.
10564         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10565         (__nexttowardf): Set errno on overflow and underflow.
10566         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10567         (__nextafterl): Set errno on overflow and underflow.
10568         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10569         (__nexttoward): Set errno on overflow and underflow.
10570         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10571         (__nexttowardf): Set errno on overflow and underflow.
10572         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10573         (__nexttoward): Set errno on overflow and underflow.
10574         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10575         (__nexttowardf): Set errno on overflow and underflow.
10576         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10577         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10578         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10579         (__nextafterl): Set errno on overflow and underflow.
10580         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10581         setting to be missing on overflow.  Add more tests.
10582         (nexttoward_test_data): Likewise.
10584         * configure.ac (libc_cv_initfini_array): Remove configure test.
10585         * configure: Regenerated.
10587 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10589         [BZ #19189]
10590         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10591         non-finite argument handle arguments with negative sign.
10593         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10594         result from infinite argument.
10595         (j1_test_data): Likewise.
10596         (jn_test_data): Likewise.
10597         (y0_test_data): Likewise.
10598         (y1_test_data): Likewise.
10599         (yn_test_data): Likewise.
10601         [BZ #16171]
10602         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10603         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10604         * math/w_remainderf.c (dremf): Define as weak alias of
10605         __remainderf.
10606         * math/w_remainderl.c (dreml): Define as weak alias of
10607         __remainderl.
10608         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10609         __remainder.
10610         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10611         __remainderf.
10612         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10613         __remainderl.
10614         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10615         weak alias of remainderl.
10616         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10617         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10618         alias of __remainder.
10619         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10620         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10621         strong alias of __remainderl.
10622         (dreml): Use long_double_symbol.
10623         * math/Makefile (libm-calls): Remove w_drem.
10624         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10625         (CFLAGS-nldbl-drem.c): Remove variable.
10626         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10627         * math/w_drem.c: Remove file.
10628         * math/w_dremf.c: Likewise.
10629         * math/w_dreml.c: Likewise.
10630         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10631         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10632         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10634         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10635         * sysdeps/i386/configure: Regenerated.
10636         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10637         * sysdeps/x86_64/configure: Regenerated.
10639         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10640         test.
10641         (libc_cv_visibility_attribute): Likewise.
10642         (libc_cv_protected_data): Test unconditionally.
10643         (libc_cv_broken_visibility_attribute): Remove configure test.
10644         (libc_cv_have_sdata_section): Test unconditionally.
10645         * configure: Regenerated.
10647         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10648         * include/scratch_buffer.h: Include <stddef.h> instead of
10649         <libc-internal.h>.
10650         (struct scratch_buffer): Use max_align_t instead of
10651         libc_max_align_t.
10653 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10655         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10656         instead of extend_alloca.  Change control flow to avoid a goto.
10657         Remove assert which is trivially always true.
10659 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10661         [BZ #16068]
10662         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10663         (FE_ALL_EXCEPT_X86): New macro.
10664         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10665         FE_ALL_EXCEPT.  Ensure precision control is included in
10666         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10667         handle "denormal operand exception" and clear FZ and DAZ bits.
10668         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10669         (FE_ALL_EXCEPT_X86): New macro.
10670         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10671         FE_ALL_EXCEPT.  Ensure precision control is included in
10672         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10673         handle "denormal operand exception" and clear FZ and DAZ bits.
10674         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10675         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10676         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10677         test-fenv-x87 and test-fenv-sse-2.
10678         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10680         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10681         * math/test-double.h (BUILD_COMPLEX): New macro.
10682         * math/test-float.h (BUILD_COMPLEX): Likewise.
10683         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10685         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10686         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10687         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10688         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10689         instead of DBL_DENORM_MIN in comment.
10690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10691         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10692         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10693         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10695         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10697 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10699         [BZ# 19048]
10700         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10701         attached_threads member.
10702         (main_arena): Initialize attached_threads.
10703         * malloc/arena.c (list_lock): Update comment.
10704         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10705         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10706         (deattach_arena): New function.
10707         (_int_new_arena): Initialize arena reference count and deattach
10708         replaced arena.
10709         (get_free_list, reused_arena): Update reference count and deattach
10710         replaced arena.
10711         (arena_thread_freeres): Update arena reference count and only put
10712         unreferenced arenas on the free list.
10714 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10716         [BZ #19181]
10717         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10718         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10719         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10720         * math/test-fenv-clear-main.c: New file.
10721         * math/test-fenv-clear.c: Likewise.
10722         * math/Makefile (tests): Add test-fenv-clear.
10723         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10724         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10725         test-fenv-clear-sse.
10726         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10728         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10729         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10730         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10732 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10734         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10735         static libc.
10737 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10739         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10740         test.
10741         * sysdeps/i386/configure: Regenerated.
10742         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10743         test.
10744         * sysdeps/x86_64/configure: Regenerated.
10745         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10747         memset-avx2 unconditionally instead of conditionally on
10748         [$(config-cflags-avx2) = yes].
10749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10750         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10751         unconditional.
10752         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10753         * sysdeps/x86_64/multiarch/memset_chk.S
10754         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10755         to [IS_IN (libc) && SHARED].
10757 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10759         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10760         configure test.
10761         * sysdeps/arm/configure: Regenerated.
10762         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10763         Define variable if not already defined.
10765         [BZ #17404]
10766         * sysdeps/mips/atomic-machine.h
10767         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10768         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10769         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10771         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10772         unconditional.
10773         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10774         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10775         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10776         unconditional.
10777         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10778         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10779         unconditional.
10780         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10781         * stdlib/setenv.c
10782         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10783         code unconditional.
10784         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10785         Remove conditional code.
10786         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10787         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10788         unconditional.
10789         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10790         code.
10791         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10792         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10793         unconditional.
10794         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10795         code.
10796         * sysdeps/ieee754/ldbl-128/k_tanl.c
10797         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10798         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10799         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10800         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10801         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10802         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10803         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10804         unconditional.
10805         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10806         code.
10807         * sysdeps/ieee754/ldbl-96/k_tanl.c
10808         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10809         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10811         * nptl/tst-initializers1-c11.c: New file.
10812         * nptl/tst-initializers1-gnu11.c: Likewise.
10813         * nptl/Makefile (tests): Add these new tests.
10814         (CFLAGS-tst-initializers1-c11.c): New variable.
10815         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10817         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10818         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10819         instead of -std=gnu99.
10820         * configure.ac (systemtap): Test with -std=gnu11 instead of
10821         -std=gnu99.
10822         * configure: Regenerated.
10823         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10824         in compilation command in comment.
10826         * sysdeps/nptl/configure.ac: Remove file.
10827         * sysdeps/nptl/configure: Remove generated file.
10828         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10829         * configure: Regenerated.
10830         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10831         * config.make.in (have-forced-unwind): Remove variable.
10832         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10833         unconditional.
10834         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10835         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10836         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10837         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10838         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10839         unconditional.
10841 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10843         [BZ #19174]
10844         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10845         .skip_lock_out_of_tbegin_retries.
10846         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10847         (__lll_lock_elision): Likewise, and respect a value of
10848         try_tbegin <= 0.
10850 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10852         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10853         statement.
10855 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10857         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10858         variable.
10859         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10860         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10862         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10863         of -std=c1x -D_ISOC11_SOURCE.
10865         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10866         * configure: Regenerated.
10867         * manual/install.texi (Tools for Compilation): Document
10868         requirement for GCC 4.7 or later.
10869         * INSTALL: Regenerated.
10871 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10873         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10874         on CNT to a conditional jump to 'puntdata'.
10876 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10878         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10879         (libc_cv_gcc_tls_model_attr): Likewise.
10880         * configure: Regenerated.
10882         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10883         * configure: Regenerated.
10884         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10886 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10888         * configure.ac (old_glibc_headers): Remove configure test.
10889         * configure: Regenerated.
10890         * config.make.in (old-glibc-headers): Remove variable.
10891         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10892         (install): Remove dependency on remove-old-headers.
10893         (headers2_0): Remove variable.
10894         (remove-old-headers): Remove rule.
10896         * configure.ac (libc_cv_dot_text): Remove configure test.
10897         (libc_cv_asm_set_directive): Use .text instead of
10898         ${libc_cv_dot_text} in configure test.
10899         * configure: Regenerated.
10901 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10903         [BZ #19168]
10904         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10906 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10908         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10909         not support static linking.
10910         * configure: Regenerate.
10912 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10914         * math/libm-test.inc (check_float_internal): Do not special-case
10915         errors up to 0.5 ulp.
10917         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10918         log2.
10919         * math/auto-libm-test-out: Regenerated.
10920         * math/libm-test.inc (MAX_EXP): New macro.
10921         (ilogb_test_data): Add more tests.
10922         (isfinite_test_data): Likewise.
10923         (isgreater_test_data): Likewise.
10924         (isgreaterequal_test_data): Likewise.
10925         (isinf_test_data): Likewise.
10926         (isless_test_data): Likewise.
10927         (islessequal_test_data): Likewise.
10928         (islessgreater_test_data): Likewise.
10929         (isnan_test_data): Likewise.
10930         (isnormal_test_data): Likewise.
10931         (issignaling_test_data): Likewise.
10932         (isunordered_test_data): Likewise.
10933         (j0_test_data): Likewise.
10934         (j1_test_data): Likewise.
10935         (jn_test_data): Likewise.
10936         (lgamma_test_data): Likewise.
10937         (log_test_data): Likewise.
10938         (log10_test_data): Likewise.
10939         (log1p_test_data): Likewise.
10940         (log2_test_data): Likewise.
10941         (logb_test_data): Likewise.
10942         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10944         [BZ #18611]
10945         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10946         avoid excess range and precision on underflow.
10947         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10948         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10949         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10950         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10951         underflow.
10952         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10954         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10956         * math/auto-libm-test-in: Do not allow missing errno setting for
10957         tests of j1 and jn.
10958         * math/auto-libm-test-out: Regenerated.
10960 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10962         [BZ #15491]
10963         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10964         floating-point environment instead of clearing all exceptions.
10965         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10966         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10967         merging in "invalid" exceptions from frndint.
10968         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10969         * math/test-nearbyint-except.c: New file.
10970         * math/Makefile (tests): Add test-nearbyint-except.
10972 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10974         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10976         * sysdeps/tile/libm-test-ulps: Regenerated.
10978 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10981         (__NR_sync_file_range2): Assume it is always defined.
10982         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10983         (__NR_sync_file_range): Assume it is always defined.
10985 2015-10-22  Andreas Schwab  <schwab@suse.de>
10987         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10988         INTERNAL_SYSCALL_ERRNO.
10989         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10990         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10991         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10992         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10993         Likewise.
10994         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10996 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10998         * io/tst-fcntl.c (fd): New static variable.
10999         (do_prepare): Open temporary file here....
11000         (do_test): ...not here.
11002         * io/ftwtest-sh: Also trap on exit to remove temporary files.
11004 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11006         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
11007         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11008         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11009         Moved before "#ifdef __ASSEMBLER__".
11011 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11013         [BZ #19156]
11014         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
11015         arguments very close to 0.
11017 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
11019         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
11020         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
11022 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
11024         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
11025         New.  Defined for GCC 5 and above when not compiling for
11026         profiling.
11027         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
11029         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11030         Renamed to ...
11031         (CFLAGS-epoll_pwait.o): This.
11032         (CFLAGS-mmap.c): Renamed to ...
11033         (CFLAGS-mmap.o): This.
11034         (CFLAGS-mmap64.c): Renamed to ...
11035         (CFLAGS-mmap64.o): This.
11036         (CFLAGS-epoll_pwait.os): New.
11037         (CFLAGS-mmap.os): Likewise.
11038         (CFLAGS-mmap64.os): Likewise.
11039         (CFLAGS-semtimedop.os): Likewise.
11040         (CFLAGS-semtimedop.c): Renamed to ...
11041         (CFLAGS-semtimedop.o): This.
11043 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11045         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
11046         warning message.
11048 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
11050         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
11051         * Makefile ($(objpfx)c++-types-check.out): Filter out
11052         $(+gccwarn-c) instead of -Wstrict-prototypes.
11054         * io/fts.c (fts_open): Convert to prototype-style function
11055         definition.
11056         * malloc/mcheck.c (mcheck): Likewise.
11057         (mcheck_pedantic): Likewise.
11058         * posix/regexec.c (re_search_2_stub): Likewise.  Use
11059         internal_function.
11060         (re_search_internal): Likewise.
11061         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
11062         prototype-style function definition.
11063         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11064         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
11065         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
11066         (xdr_utmpptr): Likewise.
11067         (xdr_utmparr): Likewise.
11068         (xdr_utmpidle): Likewise.
11069         (xdr_utmpidleptr): Likewise.
11070         (xdr_utmpidlearr): Likewise.
11072         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
11073         log, log10 and log2.
11074         * math/auto-libm-test-out: Regenerated.
11075         * math/libm-test.inc (fmod_test_data): Add more tests.
11076         (fpclassify_test_data): Likewise.
11077         (frexp_test_data): Likewise.
11078         (hypot_test_data): Likewise.
11079         (ilogb_test_data): Likewise.
11081 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
11083         * debug/fortify_fail.c (__fortify_fail): Convert to
11084         prototype-style function definition.  Use internal_function.
11085         * libio/genops.c (save_for_backup): Convert to prototype-style
11086         function definition.
11087         * libio/wgenops.c (save_for_wbackup): Likewise.
11088         * login/grantpt.c (grantpt): Likewise.
11089         * login/ptsname.c (ptsname): Likewise.
11090         (__ptsname_r): Likewise.
11091         * login/unlockpt.c (unlockpt): Likewise.
11092         * mach/msgserver.c (__mach_msg_server): Likewise.
11093         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
11094         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
11095         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
11096         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
11097         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
11098         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
11099         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
11100         Likewise.
11101         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
11102         internal_function.
11103         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
11104         prototype-style function definition.
11105         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
11106         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
11107         (__pthread_create_2_0): Likewise.
11108         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
11109         * nptl/register-atfork.c (__register_atfork): Likewise.
11110         * posix/glob.c (glob): Likewise.
11111         * posix/regcomp.c (re_comp): Likewise.
11112         * posix/regexec.c (re_exec): Likewise.
11113         * stdlib/add_n.c [__STDC__]: Make code unconditional.
11114         [!__STDC__]: Remove conditional code.
11115         * stdlib/cmp.c [__STDC__]: Make code unconditional.
11116         [!__STDC__]: Remove conditional code.
11117         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
11118         [!__STDC__]: Remove conditional code.
11119         * stdlib/divrem.c [__STDC__]: Make code unconditional.
11120         [!__STDC__]: Remove conditional code.
11121         * stdlib/lshift.c [__STDC__]: Make code unconditional.
11122         [!__STDC__]: Remove conditional code.
11123         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
11124         [!__STDC__]: Remove conditional code.
11125         * stdlib/mul.c [__STDC__]: Make code unconditional.
11126         [!__STDC__]: Remove conditional code.
11127         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
11128         [!__STDC__]: Remove conditional code.
11129         * stdlib/rshift.c [__STDC__]: Make code unconditional.
11130         [!__STDC__]: Remove conditional code.
11131         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
11132         function definition.
11133         (STRTOF): Likewise.
11134         * stdlib/strtod_l.c (__STRTOF): Likewise.
11135         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
11136         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
11137         (__strtol_l): Likewise.
11138         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
11139         [!__STDC__]: Remove conditional code.
11140         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
11141         definition.
11142         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11143         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11144         type.
11145         (__strcasecmp): Convert to prototype-style function definition.
11146         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
11147         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11148         type.
11149         (__strncasecmp): Convert to prototype-style function definition.
11150         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
11151         * sunrpc/xdr.c (xdr_union): Likewise.
11152         * sunrpc/xdr_array.c (xdr_array): Likewise.
11153         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
11154         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
11155         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
11156         Likewise.
11157         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
11158         Likewise.
11159         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
11160         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11161         Likewise.
11162         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
11163         (LOCALE_PARAM_PROTO): Likewise.
11164         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
11165         argument type.
11166         (ut_argument_spec): Remove macro.
11167         (ut_argument_spec_iso): Rename to ut_argument_spec.
11168         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
11169         prototype-style function definition.
11170         (memcpy_uppcase): Likewise.
11171         (__strftime_internal): Likewise.
11172         (my_strftime): Likewise.
11173         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
11174         (LOCALE_PARAM_DECL): Likewise.
11175         [_LIBC] (LOCALE_PARAM): Include argument type.
11176         (__strptime_internal): Convert to prototype-style function
11177         definition.
11178         (strptime): Likewise.
11179         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
11180         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11181         type.
11182         (__wcscasecmp): Convert to prototype-style function definition.
11183         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
11184         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
11185         type.
11186         (__wcsncasecmp): Convert to prototype-style function definition.
11188         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
11189         function definition.
11190         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
11191         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11192         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
11193         * elf/dl-minimal.c (_itoa): Likewise.
11194         * hurd/hurdmalloc.c (malloc): Likewise.
11195         (free): Likewise.
11196         (realloc): Likewise.
11197         * inet/inet6_option.c (inet6_option_space): Likewise.
11198         (inet6_option_init): Likewise.
11199         (inet6_option_append): Likewise.
11200         (inet6_option_alloc): Likewise.
11201         (inet6_option_next): Likewise.
11202         (inet6_option_find): Likewise.
11203         * io/ftw.c (FTW_NAME): Likewise.
11204         (NFTW_NAME): Likewise.
11205         (NFTW_NEW_NAME): Likewise.
11206         (NFTW_OLD_NAME): Likewise.
11207         * libio/iofwide.c (_IO_fwide): Likewise.
11208         * libio/strops.c (_IO_str_init_static_internal): Likewise.
11209         (_IO_str_init_static): Likewise.
11210         (_IO_str_init_readonly): Likewise.
11211         (_IO_str_overflow): Likewise.
11212         (_IO_str_underflow): Likewise.
11213         (_IO_str_count): Likewise.
11214         (_IO_str_seekoff): Likewise.
11215         (_IO_str_pbackfail): Likewise.
11216         (_IO_str_finish): Likewise.
11217         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
11218         (_IO_wstr_overflow): Likewise.
11219         (_IO_wstr_underflow): Likewise.
11220         (_IO_wstr_count): Likewise.
11221         (_IO_wstr_seekoff): Likewise.
11222         (_IO_wstr_pbackfail): Likewise.
11223         (_IO_wstr_finish): Likewise.
11224         * locale/programs/localedef.c (normalize_codeset): Likewise.
11225         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11226         (add_locales_to_archive): Likewise.
11227         (delete_locales_from_archive): Likewise.
11228         * malloc/malloc.c (__libc_mallinfo): Likewise.
11229         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
11230         * misc/tsearch.c (__tfind): Likewise.
11231         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
11232         * nptl/pthread_attr_getdetachstate.c
11233         (__pthread_attr_getdetachstate): Likewise.
11234         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
11235         Likewise.
11236         * nptl/pthread_attr_getinheritsched.c
11237         (__pthread_attr_getinheritsched): Likewise.
11238         * nptl/pthread_attr_getschedparam.c
11239         (__pthread_attr_getschedparam): Likewise.
11240         * nptl/pthread_attr_getschedpolicy.c
11241         (__pthread_attr_getschedpolicy): Likewise.
11242         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
11243         Likewise.
11244         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
11245         Likewise.
11246         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
11247         Likewise.
11248         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
11249         Likewise.
11250         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
11251         (__pthread_attr_init_2_0): Likewise.
11252         * nptl/pthread_attr_setdetachstate.c
11253         (__pthread_attr_setdetachstate): Likewise.
11254         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
11255         Likewise.
11256         * nptl/pthread_attr_setinheritsched.c
11257         (__pthread_attr_setinheritsched): Likewise.
11258         * nptl/pthread_attr_setschedparam.c
11259         (__pthread_attr_setschedparam): Likewise.
11260         * nptl/pthread_attr_setschedpolicy.c
11261         (__pthread_attr_setschedpolicy): Likewise.
11262         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
11263         Likewise.
11264         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
11265         Likewise.
11266         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
11267         Likewise.
11268         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
11269         Likewise.
11270         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
11271         Likewise.
11272         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
11273         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
11274         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
11275         use internal_function.
11276         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
11277         prototype-style function definition.
11278         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
11279         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
11280         internal_function.
11281         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
11282         Convert to prototype-style function definition.
11283         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11284         Likewise.
11285         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
11286         Likewise.
11287         (__pthread_mutex_unlock): Likewise.
11288         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
11289         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
11290         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
11291         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
11292         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
11293         * nss/makedb.c (process_input): Likewise.
11294         * posix/fnmatch.c (__strchrnul): Likewise.
11295         (__wcschrnul): Likewise.
11296         (fnmatch): Likewise.
11297         * posix/fnmatch_loop.c (FCT): Likewise.
11298         * posix/glob.c (globfree): Likewise.
11299         (__glob_pattern_type): Likewise.
11300         (__glob_pattern_p): Likewise.
11301         * posix/regcomp.c (re_compile_pattern): Likewise.
11302         (re_set_syntax): Likewise.
11303         (re_compile_fastmap): Likewise.
11304         (regcomp): Likewise.
11305         (regerror): Likewise.
11306         (regfree): Likewise.
11307         * posix/regexec.c (regexec): Likewise.
11308         (re_match): Likewise.
11309         (re_search): Likewise.
11310         (re_match_2): Likewise.
11311         (re_search_2): Likewise.
11312         (re_search_stub): Likewise.  Use internal_function
11313         (re_copy_regs): Likewise.
11314         (re_set_registers): Convert to prototype-style function
11315         definition.
11316         (prune_impossible_nodes): Likewise.  Use internal_function.
11317         * resolv/inet_net_pton.c (inet_net_pton): Convert to
11318         prototype-style function definition.
11319         (inet_net_pton_ipv4): Likewise.
11320         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11321         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
11322         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
11323         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
11324         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11325         Make variadic.
11326         * time/strptime_l.c (localtime_r): Convert to prototype-style
11327         function definition.
11328         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11329         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11330         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11331         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11333         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
11334         definition.
11335         (_ufc_doit_r): Likewise.
11336         * crypt/crypt_util.c (_ufc_copymem): Likewise.
11337         (_ufc_output_conversion_r): Likewise.
11338         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
11339         * inet/rcmd.c (rcmd_af): Likewise.
11340         (rcmd): Likewise.
11341         (ruserok_af): Likewise.
11342         (ruserok): Likewise.
11343         (ruserok2_sa): Likewise.
11344         (ruserok_sa): Likewise.
11345         (iruserok_af): Likewise.
11346         (iruserok): Likewise.
11347         (__ivaliduser): Likewise.
11348         (__validuser2_sa): Likewise.
11349         * inet/rexec.c (rexec_af): Likewise.
11350         (rexec): Likewise.
11351         * inet/ruserpass.c (ruserpass): Likewise.
11352         * locale/programs/xmalloc.c (xcalloc): Likewise.
11353         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
11354         * math/w_drem.c (__drem): Likewise.
11355         * math/w_dremf.c (__dremf): Likewise.
11356         * math/w_dreml.c (__dreml): Likewise.
11357         * misc/daemon.c (daemon): Likewise.
11358         * resolv/res_debug.c (p_fqnname): Likewise.
11359         * stdlib/div.c (div): Likewise.
11360         * string/memcmp.c (memcmp_bytes): Likewise.
11361         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
11362         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
11364         * crypt/cert.c (main): Convert to prototype-style function
11365         definition.
11366         * io/pipe.c (__pipe): Likewise.
11367         * io/pipe2.c (__pipe2): Likewise.
11368         * misc/futimesat.c (futimesat): Likewise.
11369         * misc/utimes.c (__utimes): Likewise.
11370         * posix/execve.c (__execve): Likewise.
11371         * posix/execvp.c (execvp): Likewise.
11372         * posix/execvpe.c (__execvpe): Likewise.
11373         * posix/fexecve.c (fexecve): Likewise.
11374         * socket/socketpair.c (socketpair): Likewise.
11375         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
11376         * stdlib/erand48.c (erand48): Likewise.
11377         * stdlib/erand48_r.c (__erand48_r): Likewise.
11378         * stdlib/jrand48.c (jrand48): Likewise.
11379         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
11380         * stdlib/lcong48.c (lcong48): Likewise.
11381         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
11382         * stdlib/nrand48.c (nrand48): Likewise.
11383         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
11384         * stdlib/seed48.c (seed48): Likewise.
11385         * stdlib/seed48_r.c (__seed48_r): Likewise.
11386         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
11387         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
11388         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
11390 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11392         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
11393         * configure: Regenerated.
11394         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
11395         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
11396         unconditional.
11397         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11398         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11399         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11400         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
11401         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
11402         unconditional.
11403         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
11405         * posix/Makefile (CFLAGS-regex.c): Remove variable.
11406         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
11408         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
11409         function definition.
11410         * crypt/crypt_util.c (__encrypt_r): Likewise.
11411         * libio/genops.c (_IO_no_init): Likewise.
11412         * libio/iofopncook.c (_IO_fopencookie): Likewise.
11413         (_IO_old_fopencookie): Likewise.
11414         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11415         * libio/iogetline.c (_IO_getline): Likewise.
11416         (_IO_getline_info): Likewise.
11417         * libio/iogetwline.c (_IO_getwline): Likewise.
11418         (_IO_getwline_info): Likewise.
11419         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
11420         * libio/vswprintf.c (_IO_vswprintf): Likewise.
11421         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
11422         (find_entry): Likewise.
11423         (iterate_table): Likewise.
11424         (lookup): Likewise.
11425         * login/forkpty.c (forkpty): Likewise.
11426         * misc/hsearch_r.c (__hsearch_r): Likewise.
11427         * misc/select.c (__select): Likewise.
11428         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
11429         Likewise.
11430         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
11431         Likewise.
11432         * nptl/old_pthread_cond_timedwait.c
11433         (__pthread_cond_timedwait_2_0): Likewise.
11434         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
11435         * nptl/pthread_barrierattr_getpshared.c
11436         (pthread_barrierattr_getpshared): Likewise.
11437         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
11438         Likewise.
11439         * nptl/pthread_mutex_setprioceiling.c
11440         (pthread_mutex_setprioceiling): Likewise.
11441         * nptl/pthread_mutexattr_getprioceiling.c
11442         (pthread_mutexattr_getprioceiling): Likewise.
11443         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
11444         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11445         Likewise.
11446         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11447         Likewise.
11448         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
11449         Likewise.
11450         * socket/recvfrom.c (__recvfrom): Likewise.
11451         * socket/sendto.c (__sendto): Likewise.
11452         * socket/setsockopt.c (__setsockopt): Likewise.
11453         * stdio-common/_itoa.c (_itoa): Likewise.
11454         * stdio-common/_itowa.c (_itowa): Likewise.
11455         * stdio-common/reg-printf.c (__register_printf_specifier):
11456         Likewise.
11457         (__register_printf_function): Likewise.
11458         * stdio-common/tempname.c (__path_search): Likewise.
11459         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
11460         * stdlib/mul_1.c (mpn_mul_1): Likewise.
11461         * stdlib/random_r.c (__initstate_r): Likewise.
11462         * stdlib/setenv.c (__add_to_environ): Likewise.
11463         * stdlib/submul_1.c (mpn_submul_1): Likewise.
11464         * streams/getpmsg.c (getpmsg): Likewise.
11465         * streams/putmsg.c (putmsg): Likewise.
11466         * streams/putpmsg.c (putpmsg): Likewise.
11467         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
11468         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
11469         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
11470         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
11471         * sunrpc/pm_getport.c (pmap_getport): Likewise.
11472         * sunrpc/svc_udp.c (cache_get): Likewise.
11473         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11474         * sysdeps/mach/hurd/getcwd.c
11475         (__canonicalize_directory_name_internal): Likewise.
11476         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11477         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11478         * sysdeps/mach/hurd/select.c (__select): Likewise.
11479         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11480         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11481         * sysdeps/sparc/nptl/pthread_barrier_init.c
11482         (__pthread_barrier_init): Likewise.
11483         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11484         (__pthread_cond_timedwait): Likewise.
11485         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11486         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11487         Likewise.
11488         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11489         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11490         Likewise.
11491         * sysvipc/semtimedop.c (semtimedop): Likewise.
11492         * time/setitimer.c (__setitimer): Likewise.
11493         * time/strftime_l.c (emacs_strftime): Likewise.
11495 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11497         * config.make.in (have-ssp): Delete.
11498         (stack-protector): New variable.
11499         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11500         cache test for -fstack-protector-strong.  Export stack_protector to
11501         the best ssp flag.
11502         * configure: Regenerated.
11503         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11504         * nscd/Makefile (CFLAGS-nscd): Likewise.
11505         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11507 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11509         [BZ #19122]
11510         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11511         attribute_hidden.
11513 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11515         [BZ #18743]
11516         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11517         code to...
11518         (ELIDE_LOCK): ...here.
11519         (__get_new_count): New function with part of the code from
11520         __elide_lock that updates the value of adapt_count after a
11521         transaction abort.
11522         (__elided_trylock): Moved this code to...
11523         (ELIDE_TRYLOCK): ...here.
11525 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11527         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11528         * configure: Regenerate.
11529         * INSTALL: Regenerate.
11530         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11531         and tweak grammar.
11533 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11535         * login/programs/pt_chown.c: Include signal.h
11536         (main): Clear any signal mask from the parent process.
11538 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11540         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11541         * configure: Regenerated.
11542         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11543         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11544         $(gnu89-inline-CFLAGS).
11546         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11547         test.
11548         (libc_cv_asm_weakext_directive): Likewise.
11549         * configure: Regenerated.
11550         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11551         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11552         * include/libc-symbols.h
11553         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11554         #error.
11555         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11556         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11558         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11559         prototype-style function definition.
11560         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11561         * sysdeps/i386/ffs.c (__ffs): Likewise.
11562         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11563         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11564         Likewise.
11565         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11566         Likewise.
11567         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11569         Likewise.
11570         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11571         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11572         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11573         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11574         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11575         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11576         * sysdeps/mach/hurd/access.c (__access): Likewise.
11577         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11578         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11579         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11580         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11581         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11582         (cthread_getspecific): Likewise.
11583         (cthread_setspecific): Likewise.
11584         (__libc_getspecific): Likewise.
11585         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11586         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11587         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11588         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11589         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11590         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11591         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11592         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11593         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11594         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11595         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11596         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11597         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11598         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11599         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11600         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11601         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11602         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11603         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11604         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11605         * sysdeps/mach/hurd/link.c (__link): Likewise.
11606         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11607         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11608         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11609         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11610         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11611         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11612         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11613         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11614         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11615         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11616         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11617         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11618         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11619         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11620         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11621         * sysdeps/mach/hurd/send.c (__send): Likewise.
11622         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11623         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11624         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11625         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11626         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11627         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11628         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11629         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11630         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11631         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11632         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11633         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11634         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11635         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11636         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11637         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11638         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11639         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11640         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11641         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11642         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11643         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11644         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11645         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11646         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11647         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11648         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11649         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11650         * sysdeps/posix/alarm.c (alarm): Likewise.
11651         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11652         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11653         * sysdeps/posix/dup.c (__dup): Likewise.
11654         * sysdeps/posix/dup2.c (__dup2): Likewise.
11655         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11656         (main): Likewise.
11657         * sysdeps/posix/flock.c (__flock): Likewise.
11658         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11659         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11660         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11661         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11662         * sysdeps/posix/isatty.c (__isatty): Likewise.
11663         * sysdeps/posix/killpg.c (killpg): Likewise.
11664         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11665         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11666         * sysdeps/posix/raise.c (raise): Likewise.
11667         * sysdeps/posix/remove.c (remove): Likewise.
11668         * sysdeps/posix/rename.c (rename): Likewise.
11669         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11670         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11671         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11672         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11673         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11674         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11675         * sysdeps/posix/sigset.c (sigset): Likewise.
11676         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11677         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11678         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11679         * sysdeps/posix/time.c (time): Likewise.
11680         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11681         (ttyname): Likewise.
11682         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11683         * sysdeps/posix/utime.c (utime): Likewise.
11684         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11685         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11686         Likewise.
11687         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11688         (pthread_spin_trylock): Likewise.
11689         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11690         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11691         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11692         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11693         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11694         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11695         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11696         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11697         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11698         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11699         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11700         * sysdeps/s390/ffs.c (__ffs): Likewise.
11701         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11702         Likewise.
11703         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11704         Likewise.
11705         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11706         Likewise.
11707         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11708         (pthread_barrier_destroy): Likewise.
11709         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11710         (__pthread_barrier_wait): Likewise.
11711         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11712         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11713         (__pthread_barrier_wait): Likewise.
11714         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11715         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11716         (memcmp_not_common_alignment): Likewise.
11717         (MEMCMP): Likewise.
11718         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11719         (_wordcopy_fwd_dest_aligned): Likewise.
11720         (_wordcopy_bwd_aligned): Likewise.
11721         (_wordcopy_bwd_dest_aligned): Likewise.
11722         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11723         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11724         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11725         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11726         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11727         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11728         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11729         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11730         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11731         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11732         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11733         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11734         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11735         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11736         * sysdeps/unix/stime.c (stime): Likewise.
11737         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11738         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11739         Likewise.  Use internal_function.
11740         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11741         Convert to prototype-style function definition.
11742         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11743         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11744         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11745         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11746         Likewise.  Use internal_function.
11747         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11748         prototype-style function definition
11749         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11750         Likewise.
11751         (__getlogin_r): Likewise.
11752         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11753         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11754         (__pthread_cond_broadcast): Likewise.
11755         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11756         (__pthread_cond_destroy): Likewise.
11757         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11758         (__pthread_cond_init): Likewise.
11759         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11760         (__pthread_cond_signal): Likewise.
11761         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11762         (__pthread_cond_wait): Likewise.
11763         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11764         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11765         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11766         Likewise.
11767         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11768         Likewise.
11769         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11770         Likewise.
11771         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11772         Likewise.
11773         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11775         (__ftruncate64): Likewise.
11776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11777         (truncate64): Likewise.
11778         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11779         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11780         (pthread_getcpuclockid): Likewise.
11781         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11782         Likewise.
11783         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11784         Likewise.
11785         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11786         Likewise.
11787         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11788         Likewise.
11789         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11790         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11791         (__libc_sigaction): Likewise.
11792         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11793         Likewise.
11794         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11795         (__sigprocmask): Likewise.
11796         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11797         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11798         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11799         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11800         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11801         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11802         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11803         Likewise.
11804         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11805         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11806         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11807         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11808         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11809         Likewise.
11810         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11811         (__sigprocmask): Likewise.
11812         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11813         (cfgetispeed): Likewise.
11814         (cfsetospeed): Likewise.
11815         (cfsetispeed): Likewise.
11816         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11817         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11818         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11819         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11820         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11821         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11822         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11823         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11824         Likewise.
11825         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11826         Likewise.
11827         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11828         Likewise.
11829         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11830         Likewise.
11831         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11833 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11835         sunrpc: Rewrite with explicit TLS access using __thread.
11836         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11837         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11838         directly.
11839         (__rpc_thread_variables): Access thread_rpc_vars directly.
11840         Eliminate redundant assignment of the tvp variable.
11842 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11844         malloc: Rewrite with explicit TLS access using __thread.
11845         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11846         (tsd_setspecific, tsd_getspecific): Remove.
11847         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11848         (tsd_setspecific, tsd_getspecific): Likewise.
11849         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11850         (tsd_setspecific, tsd_getspecific): Likewise.
11851         * malloc/arena.c (thread_arena): New TLS variable.
11852         (arena_key): Remove variable.
11853         (arena_get): Use thread_arena.
11854         (arena_lookup): Remove macro.
11855         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11856         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11857         (_int_new_arena, get_free_list, reused_arena)
11858         (arena_thread_freeres): Use thread_arena.
11859         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11860         tsd_getspecific, tsd_setspecific from safety annotations.
11861         (Allocating Cleared Space): Remove arena_lookup from safety
11862         annotations.
11864 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11866         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11867         struct scratch_buffer instead of extend_alloca.
11869 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11871         * sysdeps/unix/sysv/linux/kernel-features.h
11872         (__ASSUME_SOCK_CLOEXEC): Remove.
11873         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11874         (__have_paccept): Remove unused macro.
11875         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11876         * misc/syslog.c (openlog_internal): Remove fallback code for
11877         !__ASSUME_SOCK_CLOEXEC.
11878         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11879         missing SOCK_CLOEXEC.
11880         * nscd/connections.c (have_sock_cloexec): Remove definition.
11881         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11882         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11883         !__ASSUME_SOCK_CLOEXEC.
11884         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11885         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11886         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11887         definition.
11888         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11889         code for !__ASSUME_SOCK_CLOEXEC.
11891 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11893         [BZ #18982]
11894         * manual/stdio.texi (Variable Arguments Output): Add portability
11895         note, explaining that vfprintf clobbers the va_list pointer.
11897 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11899         * math/libm-test.inc (fabs_test_data): Add more tests.
11900         (fdim_test_data): Likewise.
11901         (fma_test_data): Likewise.
11902         (fmax_test_data): Likewise.
11903         (fmin_test_data): Likewise.
11904         (fmod_test_data): Likewise.
11906 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11908         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11909         data.
11911 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11913         * math/libm-test.inc (ceil_test_data): Add more tests and more
11914         expectations for "inexact".
11915         (floor_test_data): Add more tests.
11916         (round_test_data): Likewise.
11917         (trunc_test_data): Likewise.
11919         * crypt/cert.c (good_bye): Convert to prototype-style function
11920         definition.
11921         (get8): Likewise.
11922         (put8): Likewise.
11923         * crypt/crypt-entry.c (crypt): Likewise.
11924         (__fcrypt): Likewise.
11925         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11926         (_ufc_set_bits): Likewise.
11927         (_ufc_clearmem): Likewise.
11928         (__init_des_r): Likewise.
11929         (shuffle_sb): Likewise.
11930         (shuffle_sb): Likewise.
11931         (_ufc_setup_salt_r): Likewise.
11932         (_ufc_mk_keytab_r): Likewise.
11933         (_ufc_dofinalperm_r): Likewise.
11934         (encrypt): Likewise.
11935         (__setkey_r): Likewise.
11936         (setkey): Likewise.
11937         * crypt/md5.c (md5_init_ctx): Likewise.
11938         (md5_read_ctx): Likewise.
11939         (md5_finish_ctx): Likewise.
11940         (md5_stream): Likewise.
11941         (md5_buffer): Likewise.
11942         (md5_process_bytes): Likewise.
11943         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11944         (__sha256_finish_ctx): Likewise.
11945         (__sha256_process_bytes): Likewise.
11946         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11947         (__sha512_finish_ctx): Likewise.
11948         (__sha512_process_bytes): Likewise.
11949         * ctype/isctype.c (__isctype): Likewise.
11950         * debug/backtrace.c (__backtrace): Likewise.
11951         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11952         * debug/fgets_chk.c (__fgets_chk): Likewise.
11953         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11954         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11955         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11956         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11957         * debug/memset_chk.c (__memset_chk): Likewise.
11958         * debug/strcat_chk.c (__strcat_chk): Likewise.
11959         * debug/strncat_chk.c (__strncat_chk): Likewise.
11960         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11961         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11962         * dirent/dirfd.c (dirfd): Likewise.
11963         * dirent/getdents.c (__getdirentries): Likewise.
11964         * dirent/getdents64.c (getdirentries64): Likewise.
11965         * dirent/rewinddir.c (__rewinddir): Likewise.
11966         * dirent/seekdir.c (seekdir): Likewise.
11967         * dirent/telldir.c (telldir): Likewise.
11968         * elf/sln.c (makesymlinks): Likewise.
11969         (makesymlink): Likewise.
11970         * gmon/gmon.c (__moncontrol): Likewise.
11971         (__monstartup): Likewise.
11972         (write_hist): Likewise.
11973         (write_call_graph): Likewise.
11974         (write_bb_counts): Likewise.
11975         * grp/setgroups.c (setgroups): Likewise.
11976         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11977         * inet/inet_net.c (inet_network): Likewise.
11978         * inet/inet_netof.c (inet_netof): Likewise.
11979         * inet/rcmd.c (rresvport_af): Likewise.
11980         (rresvport): Likewise.
11981         * io/access.c (__access): Likewise.
11982         * io/chdir.c (__chdir): Likewise.
11983         * io/chmod.c (__chmod): Likewise.
11984         * io/chown.c (__chown): Likewise.
11985         * io/close.c (__close): Likewise.
11986         * io/creat.c (creat): Likewise.
11987         * io/creat64.c (creat64): Likewise.
11988         * io/dup.c (__dup): Likewise.
11989         * io/dup2.c (__dup2): Likewise.
11990         * io/dup3.c (__dup3): Likewise.
11991         * io/euidaccess.c (__euidaccess): Likewise.
11992         * io/faccessat.c (faccessat): Likewise.
11993         * io/fchmod.c (__fchmod): Likewise.
11994         * io/fchmodat.c (fchmodat): Likewise.
11995         * io/fchown.c (__fchown): Likewise.
11996         * io/fchownat.c (fchownat): Likewise.
11997         * io/fcntl.c (__fcntl): Likewise.
11998         * io/flock.c (__flock): Likewise.
11999         * io/fts.c (fts_load): Likewise.
12000         (fts_close): Likewise.
12001         (fts_read): Likewise.
12002         (fts_set): Likewise.
12003         (fts_children): Likewise.
12004         (fts_build): Likewise.
12005         (fts_stat): Likewise.
12006         (fts_sort): Likewise.
12007         (fts_alloc): Likewise.
12008         (fts_lfree): Likewise.
12009         (fts_palloc): Likewise.
12010         (fts_padjust): Likewise.
12011         (fts_maxarglen): Likewise.
12012         (fts_safe_changedir): Likewise.
12013         * io/getwd.c (getwd): Likewise.
12014         * io/isatty.c (__isatty): Likewise.
12015         * io/lchown.c (__lchown): Likewise.
12016         * io/link.c (__link): Likewise.
12017         * io/linkat.c (linkat): Likewise.
12018         * io/lseek.c (__libc_lseek): Likewise.
12019         * io/mkdir.c (__mkdir): Likewise.
12020         * io/mkdirat.c (mkdirat): Likewise.
12021         * io/mkfifo.c (mkfifo): Likewise.
12022         * io/mkfifoat.c (mkfifoat): Likewise.
12023         * io/open.c (__libc_open): Likewise.
12024         * io/open64.c (__libc_open64): Likewise.
12025         * io/readlink.c (__readlink): Likewise.
12026         * io/readlinkat.c (readlinkat): Likewise.
12027         * io/rmdir.c (__rmdir): Likewise.
12028         * io/symlink.c (__symlink): Likewise.
12029         * io/symlinkat.c (symlinkat): Likewise.
12030         * io/ttyname.c (ttyname): Likewise.
12031         * io/ttyname_r.c (__ttyname_r): Likewise.
12032         * io/umask.c (__umask): Likewise.
12033         * io/unlink.c (__unlink): Likewise.
12034         * io/unlinkat.c (unlinkat): Likewise.
12035         * io/utime.c (utime): Likewise.
12036         * libio/clearerr.c (clearerr): Likewise.
12037         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
12038         * libio/feof.c (_IO_feof): Likewise.
12039         * libio/feof_u.c (feof_unlocked): Likewise.
12040         * libio/ferror.c (_IO_ferror): Likewise.
12041         * libio/ferror_u.c (ferror_unlocked): Likewise.
12042         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12043         * libio/fileno.c (__fileno): Likewise.
12044         * libio/fputc.c (fputc): Likewise.
12045         * libio/fputc_u.c (fputc_unlocked): Likewise.
12046         * libio/fputwc.c (fputwc): Likewise.
12047         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
12048         * libio/freopen.c (freopen): Likewise.
12049         * libio/freopen64.c (freopen64): Likewise.
12050         * libio/fseek.c (fseek): Likewise.
12051         * libio/fseeko.c (fseeko): Likewise.
12052         * libio/fseeko64.c (fseeko64): Likewise.
12053         * libio/ftello.c (__ftello): Likewise.
12054         * libio/ftello64.c (ftello64): Likewise.
12055         * libio/fwide.c (fwide): Likewise.
12056         * libio/genops.c (_IO_un_link): Likewise.
12057         (_IO_link_in): Likewise.
12058         (_IO_least_marker): Likewise.
12059         (_IO_switch_to_main_get_area): Likewise.
12060         (_IO_switch_to_backup_area): Likewise.
12061         (_IO_switch_to_get_mode): Likewise.
12062         (_IO_free_backup_area): Likewise.
12063         (_IO_switch_to_put_mode): Likewise.
12064         (__overflow): Likewise.
12065         (__underflow): Likewise.
12066         (__uflow): Likewise.
12067         (_IO_setb): Likewise.
12068         (_IO_doallocbuf): Likewise.
12069         (_IO_default_underflow): Likewise.
12070         (_IO_default_uflow): Likewise.
12071         (_IO_default_xsputn): Likewise.
12072         (_IO_sgetn): Likewise.
12073         (_IO_default_xsgetn): Likewise.
12074         (_IO_sync): Likewise.
12075         (_IO_default_setbuf): Likewise.
12076         (_IO_default_seekpos): Likewise.
12077         (_IO_default_doallocate): Likewise.
12078         (_IO_init): Likewise.
12079         (_IO_old_init): Likewise.
12080         (_IO_default_sync): Likewise.
12081         (_IO_default_finish): Likewise.
12082         (_IO_default_seekoff): Likewise.
12083         (_IO_sputbackc): Likewise.
12084         (_IO_sungetc): Likewise.
12085         (_IO_set_column): Likewise.
12086         (_IO_set_column): Likewise.
12087         (_IO_adjust_column): Likewise.
12088         (_IO_get_column): Likewise.
12089         (_IO_init_marker): Likewise.
12090         (_IO_remove_marker): Likewise.
12091         (_IO_marker_difference): Likewise.
12092         (_IO_marker_delta): Likewise.
12093         (_IO_seekmark): Likewise.
12094         (_IO_unsave_markers): Likewise.
12095         (_IO_nobackup_pbackfail): Likewise.
12096         (_IO_default_pbackfail): Likewise.
12097         (_IO_default_seek): Likewise.
12098         (_IO_default_stat): Likewise.
12099         (_IO_default_read): Likewise.
12100         (_IO_default_write): Likewise.
12101         (_IO_default_showmanyc): Likewise.
12102         (_IO_default_imbue): Likewise.
12103         (_IO_iter_next): Likewise.
12104         (_IO_iter_file): Likewise.
12105         * libio/getc.c (_IO_getc): Likewise.
12106         * libio/getwc.c (_IO_getwc): Likewise.
12107         * libio/iofclose.c (_IO_new_fclose): Likewise.
12108         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12109         * libio/iofflush.c (_IO_fflush): Likewise.
12110         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
12111         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
12112         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
12113         * libio/iofgets.c (_IO_fgets): Likewise.
12114         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
12115         * libio/iofgetws.c (fgetws): Likewise.
12116         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12117         * libio/iofopen64.c (_IO_fopen64): Likewise.
12118         * libio/iofopncook.c (_IO_cookie_read): Likewise.
12119         (_IO_cookie_write): Likewise.
12120         (_IO_cookie_seek): Likewise.
12121         (_IO_cookie_close): Likewise.
12122         (_IO_cookie_seekoff): Likewise.
12123         (_IO_old_cookie_seek): Likewise.
12124         * libio/iofputs.c (_IO_fputs): Likewise.
12125         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
12126         * libio/iofputws.c (fputws): Likewise.
12127         * libio/iofputws_u.c (fputws_unlocked): Likewise.
12128         * libio/iofread.c (_IO_fread): Likewise.
12129         * libio/iofread_u.c (__fread_unlocked): Likewise.
12130         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
12131         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
12132         * libio/ioftell.c (_IO_ftell): Likewise.
12133         * libio/iofwrite.c (_IO_fwrite): Likewise.
12134         * libio/iogetdelim.c (_IO_getdelim): Likewise.
12135         * libio/iogets.c (_IO_gets): Likewise.
12136         * libio/iopadn.c (_IO_padn): Likewise.
12137         * libio/iopopen.c (_IO_new_proc_open): Likewise.
12138         (_IO_new_popen): Likewise.
12139         (_IO_new_proc_close): Likewise.
12140         * libio/ioputs.c (_IO_puts): Likewise.
12141         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
12142         (_IO_seekoff): Likewise.
12143         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
12144         (_IO_seekpos): Likewise.
12145         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
12146         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
12147         * libio/ioungetc.c (_IO_ungetc): Likewise.
12148         * libio/ioungetwc.c (ungetwc): Likewise.
12149         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12150         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
12151         * libio/iowpadn.c (_IO_wpadn): Likewise.
12152         * libio/libc_fatal.c (__libc_fatal): Likewise.
12153         * libio/memstream.c (__open_memstream): Likewise.
12154         (_IO_mem_sync): Likewise.
12155         (_IO_mem_finish): Likewise.
12156         * libio/oldfileops.c (_IO_old_file_init): Likewise.
12157         (_IO_old_file_close_it): Likewise.
12158         (_IO_old_file_finish): Likewise.
12159         (_IO_old_file_fopen): Likewise.
12160         (_IO_old_file_attach): Likewise.
12161         (_IO_old_file_setbuf): Likewise.
12162         (_IO_old_do_write): Likewise.
12163         (old_do_write): Likewise.
12164         (_IO_old_file_underflow): Likewise.
12165         (_IO_old_file_overflow): Likewise.
12166         (_IO_old_file_sync): Likewise.
12167         (_IO_old_file_seekoff): Likewise.
12168         (_IO_old_file_write): Likewise.
12169         (_IO_old_file_xsputn): Likewise.
12170         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
12171         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12172         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
12173         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
12174         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12175         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
12176         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
12177         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
12178         (_IO_old_popen): Likewise.
12179         (_IO_old_proc_close): Likewise.
12180         * libio/oldpclose.c (__old_pclose): Likewise.
12181         * libio/pclose.c (__new_pclose): Likewise.
12182         * libio/peekc.c (_IO_peekc_locked): Likewise.
12183         * libio/putc.c (_IO_putc): Likewise.
12184         * libio/putc_u.c (putc_unlocked): Likewise.
12185         * libio/putchar.c (putchar): Likewise.
12186         * libio/putchar_u.c (putchar_unlocked): Likewise.
12187         * libio/putwc.c (putwc): Likewise.
12188         * libio/putwc_u.c (putwc_unlocked): Likewise.
12189         * libio/putwchar.c (putwchar): Likewise.
12190         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
12191         * libio/rewind.c (rewind): Likewise.
12192         * libio/setbuf.c (setbuf): Likewise.
12193         * libio/setlinebuf.c (setlinebuf): Likewise.
12194         * libio/vasprintf.c (_IO_vasprintf): Likewise.
12195         * libio/vscanf.c (_IO_vscanf): Likewise.
12196         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
12197         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
12198         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12199         * libio/wgenops.c (_IO_least_wmarker): Likewise.
12200         (_IO_switch_to_main_wget_area): Likewise.
12201         (_IO_switch_to_wbackup_area): Likewise.
12202         (_IO_wsetb): Likewise.
12203         (_IO_wdefault_pbackfail): Likewise.
12204         (_IO_wdefault_finish): Likewise.
12205         (_IO_wdefault_uflow): Likewise.
12206         (__woverflow): Likewise.
12207         (__wuflow): Likewise.
12208         (__wunderflow): Likewise.
12209         (_IO_wdefault_xsputn): Likewise.
12210         (_IO_wdefault_xsgetn): Likewise.
12211         (_IO_wdoallocbuf): Likewise.
12212         (_IO_wdefault_doallocate): Likewise.
12213         (_IO_switch_to_wget_mode): Likewise.
12214         (_IO_free_wbackup_area): Likewise.
12215         (_IO_switch_to_wput_mode): Likewise.
12216         (_IO_sputbackwc): Likewise.
12217         (_IO_sungetwc): Likewise.
12218         (_IO_adjust_wcolumn): Likewise.
12219         (_IO_init_wmarker): Likewise.
12220         (_IO_wmarker_delta): Likewise.
12221         (_IO_seekwmark): Likewise.
12222         (_IO_unsave_wmarkers): Likewise.
12223         * libio/wmemstream.c (open_wmemstream): Likewise.
12224         (_IO_wmem_sync): Likewise.
12225         (_IO_wmem_finish): Likewise.
12226         * locale/nl_langinfo.c (nl_langinfo): Likewise.
12227         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
12228         * locale/programs/simple-hash.c (init_hash): Likewise.
12229         (delete_hash): Likewise.
12230         (insert_entry): Likewise.
12231         (set_entry): Likewise.
12232         (next_prime): Likewise.
12233         (is_prime): Likewise.
12234         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
12235         (xmalloc): Likewise.
12236         (xrealloc): Likewise.
12237         * locale/programs/xstrdup.c (xstrdup): Likewise.
12238         * localedata/collate-test.c (xstrcoll): Likewise.
12239         * localedata/xfrm-test.c (xstrcmp): Likewise.
12240         * login/getlogin_r.c (__getlogin_r): Likewise.
12241         * login/getpt.c (__posix_openpt): Likewise.
12242         * login/login_tty.c (login_tty): Likewise.
12243         * login/setlogin.c (setlogin): Likewise.
12244         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
12245         (mach_msg_destroy_port): Likewise.
12246         (mach_msg_destroy_memory): Likewise.
12247         * malloc/mcheck.c (flood): Likewise.
12248         * misc/acct.c (acct): Likewise.
12249         * misc/brk.c (__brk): Likewise.
12250         * misc/chflags.c (chflags): Likewise.
12251         * misc/chroot.c (chroot): Likewise.
12252         * misc/fchflags.c (fchflags): Likewise.
12253         * misc/fstab.c (getfsspec): Likewise.
12254         (getfsfile): Likewise.
12255         * misc/fsync.c (fsync): Likewise.
12256         * misc/ftruncate.c (__ftruncate): Likewise.
12257         * misc/ftruncate64.c (__ftruncate64): Likewise.
12258         * misc/getdomain.c (getdomainname): Likewise.
12259         (getdomainname): Likewise.
12260         * misc/gethostname.c (__gethostname): Likewise.
12261         * misc/getpass.c (getpass): Likewise.
12262         * misc/getttyent.c (skip): Likewise.
12263         (value): Likewise.
12264         * misc/gtty.c (gtty): Likewise.
12265         * misc/hsearch.c (hsearch): Likewise.
12266         (hcreate): Likewise.
12267         * misc/hsearch_r.c (__hcreate_r): Likewise.
12268         (__hdestroy_r): Likewise.
12269         * misc/ioctl.c (__ioctl): Likewise.
12270         * misc/mkdtemp.c (mkdtemp): Likewise.
12271         * misc/mkostemp.c (mkostemp): Likewise.
12272         * misc/mkostemp64.c (mkostemp64): Likewise.
12273         * misc/mkostemps.c (mkostemps): Likewise.
12274         * misc/mkostemps64.c (mkostemps64): Likewise.
12275         * misc/mkstemp.c (mkstemp): Likewise.
12276         * misc/mkstemp64.c (mkstemp64): Likewise.
12277         * misc/mkstemps.c (mkstemps): Likewise.
12278         * misc/mkstemps64.c (mkstemps64): Likewise.
12279         * misc/mktemp.c (__mktemp): Likewise.
12280         * misc/preadv.c (preadv): Likewise.
12281         * misc/preadv64.c (preadv64): Likewise.
12282         * misc/pwritev.c (pwritev): Likewise.
12283         * misc/pwritev64.c (pwritev64): Likewise.
12284         * misc/readv.c (__readv): Likewise.
12285         * misc/revoke.c (revoke): Likewise.
12286         * misc/setdomain.c (setdomainname): Likewise.
12287         * misc/setegid.c (setegid): Likewise.
12288         * misc/seteuid.c (seteuid): Likewise.
12289         * misc/sethostid.c (sethostid): Likewise.
12290         * misc/sethostname.c (sethostname): Likewise.
12291         * misc/setregid.c (__setregid): Likewise.
12292         * misc/setreuid.c (__setreuid): Likewise.
12293         * misc/sstk.c (sstk): Likewise.
12294         * misc/stty.c (stty): Likewise.
12295         * misc/syscall.c (syscall): Likewise.
12296         * misc/syslog.c (setlogmask): Likewise.
12297         * misc/truncate.c (__truncate): Likewise.
12298         * misc/truncate64.c (truncate64): Likewise.
12299         * misc/ualarm.c (ualarm): Likewise.
12300         * misc/usleep.c (usleep): Likewise.
12301         * misc/ustat.c (ustat): Likewise.
12302         * misc/writev.c (__writev): Likewise.
12303         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
12304         * nptl/old_pthread_cond_broadcast.c
12305         (__pthread_cond_broadcast_2_0): Likewise.
12306         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
12307         Likewise.
12308         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
12309         Likewise.
12310         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
12311         Likewise.
12312         * nptl/pt-raise.c (raise): Likewise.
12313         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
12314         Likewise.
12315         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
12316         * nptl/pthread_barrierattr_destroy.c
12317         (pthread_barrierattr_destroy): Likewise.
12318         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
12319         Likewise.
12320         * nptl/pthread_barrierattr_setpshared.c
12321         (pthread_barrierattr_setpshared): Likewise.
12322         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12323         Likewise.
12324         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
12325         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
12326         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
12327         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
12328         Likewise.
12329         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
12330         Likewise.
12331         * nptl/pthread_condattr_getpshared.c
12332         (pthread_condattr_getpshared): Likewise.
12333         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
12334         Likewise.
12335         * nptl/pthread_condattr_setpshared.c
12336         (pthread_condattr_setpshared): Likewise.
12337         * nptl/pthread_detach.c (pthread_detach): Likewise.
12338         * nptl/pthread_equal.c (__pthread_equal): Likewise.
12339         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
12340         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
12341         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
12342         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
12343         Likewise.
12344         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
12345         Likewise.
12346         * nptl/pthread_mutex_getprioceiling.c
12347         (pthread_mutex_getprioceiling): Likewise.
12348         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
12349         Likewise.
12350         * nptl/pthread_mutexattr_getprotocol.c
12351         (pthread_mutexattr_getprotocol): Likewise.
12352         * nptl/pthread_mutexattr_getpshared.c
12353         (pthread_mutexattr_getpshared): Likewise.
12354         * nptl/pthread_mutexattr_getrobust.c
12355         (pthread_mutexattr_getrobust): Likewise.
12356         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
12357         Likewise.
12358         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
12359         Likewise.
12360         * nptl/pthread_mutexattr_setprioceiling.c
12361         (pthread_mutexattr_setprioceiling): Likewise.
12362         * nptl/pthread_mutexattr_setprotocol.c
12363         (pthread_mutexattr_setprotocol): Likewise.
12364         * nptl/pthread_mutexattr_setpshared.c
12365         (pthread_mutexattr_setpshared): Likewise.
12366         * nptl/pthread_mutexattr_setrobust.c
12367         (pthread_mutexattr_setrobust): Likewise.
12368         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
12369         Likewise.
12370         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
12371         Likewise.
12372         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
12373         Likewise.
12374         * nptl/pthread_rwlockattr_getkind_np.c
12375         (pthread_rwlockattr_getkind_np): Likewise.
12376         * nptl/pthread_rwlockattr_getpshared.c
12377         (pthread_rwlockattr_getpshared): Likewise.
12378         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
12379         Likewise.
12380         * nptl/pthread_rwlockattr_setkind_np.c
12381         (pthread_rwlockattr_setkind_np): Likewise.
12382         * nptl/pthread_rwlockattr_setpshared.c
12383         (pthread_rwlockattr_setpshared): Likewise.
12384         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
12385         Likewise.
12386         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
12387         Likewise.
12388         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
12389         Likewise.
12390         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
12391         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
12392         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
12393         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
12394         * nptl/sem_close.c (sem_close): Likewise.
12395         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
12396         * nptl/sem_init.c (__old_sem_init): Likewise.
12397         * nptl/sigaction.c (__sigaction): Likewise.
12398         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12399         * posix/_exit.c (_exit): Likewise.
12400         * posix/alarm.c (alarm): Likewise.
12401         * posix/confstr.c (confstr): Likewise.
12402         * posix/fpathconf.c (__fpathconf): Likewise.
12403         * posix/getgroups.c (__getgroups): Likewise.
12404         * posix/getpgid.c (__getpgid): Likewise.
12405         * posix/group_member.c (__group_member): Likewise.
12406         * posix/pathconf.c (__pathconf): Likewise.
12407         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
12408         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
12409         * posix/setgid.c (__setgid): Likewise.
12410         * posix/setpgid.c (__setpgid): Likewise.
12411         * posix/setuid.c (__setuid): Likewise.
12412         * posix/sleep.c (__sleep): Likewise.
12413         * posix/sysconf.c (__sysconf): Likewise.
12414         * posix/times.c (__times): Likewise.
12415         * posix/uname.c (__uname): Likewise.
12416         * posix/waitid.c (__waitid): Likewise.
12417         * pwd/getpw.c (__getpw): Likewise.
12418         * resolv/base64.c (b64_pton): Likewise.
12419         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
12420         * resolv/gethnamaddr.c (Dprintf): Likewise.
12421         (gethostbyname): Likewise.
12422         (gethostbyname2): Likewise.
12423         (gethostbyaddr): Likewise.
12424         (_sethtent): Likewise.
12425         (_gethtbyname): Likewise.
12426         (_gethtbyname2): Likewise.
12427         (_gethtbyaddr): Likewise.
12428         (map_v4v6_address): Likewise.
12429         (map_v4v6_hostent): Likewise.
12430         (addrsort): Likewise.
12431         (ht_sethostent): Likewise.
12432         (ht_gethostbyname): Likewise.
12433         (ht_gethostbyaddr): Likewise.
12434         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
12435         (inet_net_ntop_ipv4): Likewise.
12436         * resolv/inet_neta.c (inet_neta): Likewise.
12437         * resolv/inet_ntop.c (inet_ntop): Likewise.
12438         (inet_ntop4): Likewise.
12439         (inet_ntop6): Likewise.
12440         * resolv/inet_pton.c (__inet_pton): Likewise.
12441         (inet_pton4): Likewise.
12442         (inet_pton6): Likewise.
12443         * resolv/res_debug.c (loc_aton): Likewise.
12444         (loc_ntoa): Likewise.
12445         * resource/getpriority.c (__getpriority): Likewise.
12446         * resource/getrusage.c (__getrusage): Likewise.
12447         * resource/nice.c (nice): Likewise.
12448         * resource/setpriority.c (__setpriority): Likewise.
12449         * resource/setrlimit64.c (setrlimit64): Likewise.
12450         * resource/vlimit.c (vlimit): Likewise.
12451         * resource/vtimes.c (vtimes): Likewise.
12452         * rt/aio_error.c (aio_error): Likewise.
12453         * rt/aio_return.c (aio_return): Likewise.
12454         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
12455         * signal/kill.c (__kill): Likewise.
12456         * signal/killpg.c (killpg): Likewise.
12457         * signal/raise.c (raise): Likewise.
12458         * signal/sigaction.c (__sigaction): Likewise.
12459         * signal/sigaddset.c (sigaddset): Likewise.
12460         * signal/sigaltstack.c (sigaltstack): Likewise.
12461         * signal/sigandset.c (sigandset): Likewise.
12462         * signal/sigblock.c (__sigblock): Likewise.
12463         * signal/sigdelset.c (sigdelset): Likewise.
12464         * signal/sigempty.c (sigemptyset): Likewise.
12465         * signal/sigfillset.c (sigfillset): Likewise.
12466         * signal/sighold.c (sighold): Likewise.
12467         * signal/sigignore.c (sigignore): Likewise.
12468         * signal/sigintr.c (siginterrupt): Likewise.
12469         * signal/sigisempty.c (sigisemptyset): Likewise.
12470         * signal/sigismem.c (sigismember): Likewise.
12471         * signal/signal.c (signal): Likewise.
12472         * signal/sigorset.c (sigorset): Likewise.
12473         * signal/sigpause.c (__sigpause): Likewise.
12474         * signal/sigpending.c (sigpending): Likewise.
12475         * signal/sigprocmask.c (__sigprocmask): Likewise.
12476         * signal/sigrelse.c (sigrelse): Likewise.
12477         * signal/sigreturn.c (__sigreturn): Likewise.
12478         * signal/sigset.c (sigset): Likewise.
12479         * signal/sigsetmask.c (__sigsetmask): Likewise.
12480         * signal/sigstack.c (sigstack): Likewise.
12481         * signal/sigsuspend.c (__sigsuspend): Likewise.
12482         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12483         * signal/sysv_signal.c (__sysv_signal): Likewise.
12484         * socket/accept.c (accept): Likewise.
12485         * socket/accept4.c (__libc_accept4): Likewise.
12486         * socket/bind.c (__bind): Likewise.
12487         * socket/connect.c (__connect): Likewise.
12488         * socket/getpeername.c (getpeername): Likewise.
12489         * socket/getsockname.c (__getsockname): Likewise.
12490         * socket/getsockopt.c (getsockopt): Likewise.
12491         * socket/listen.c (__listen): Likewise.
12492         * socket/recv.c (__recv): Likewise.
12493         * socket/recvmsg.c (__recvmsg): Likewise.
12494         * socket/send.c (__send): Likewise.
12495         * socket/sendmsg.c (__sendmsg): Likewise.
12496         * socket/shutdown.c (shutdown): Likewise.
12497         * socket/sockatmark.c (sockatmark): Likewise.
12498         * socket/socket.c (__socket): Likewise.
12499         * stdio-common/ctermid.c (ctermid): Likewise.
12500         * stdio-common/cuserid.c (cuserid): Likewise.
12501         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12502         * stdio-common/remove.c (remove): Likewise.
12503         * stdio-common/rename.c (rename): Likewise.
12504         * stdio-common/renameat.c (renameat): Likewise.
12505         * stdio-common/tempname.c (__gen_tempname): Likewise.
12506         * stdio-common/xbug.c (InitBuffer): Likewise.
12507         (AppendToBuffer): Likewise.
12508         (ReadFile): Likewise.
12509         * stdlib/a64l.c (a64l): Likewise.
12510         * stdlib/drand48_r.c (drand48_r): Likewise.
12511         * stdlib/getcontext.c (getcontext): Likewise.
12512         * stdlib/getenv.c (getenv): Likewise.
12513         * stdlib/l64a.c (l64a): Likewise.
12514         * stdlib/llabs.c (llabs): Likewise.
12515         * stdlib/lldiv.c (lldiv): Likewise.
12516         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12517         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12518         * stdlib/putenv.c (putenv): Likewise.
12519         * stdlib/random.c (__srandom): Likewise.
12520         (__initstate): Likewise.
12521         (__setstate): Likewise.
12522         * stdlib/random_r.c (__srandom_r): Likewise.
12523         (__setstate_r): Likewise.
12524         (__random_r): Likewise.
12525         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12526         * stdlib/setcontext.c (setcontext): Likewise.
12527         * stdlib/setenv.c (setenv): Likewise.
12528         (unsetenv): Likewise.
12529         * stdlib/srand48.c (srand48): Likewise.
12530         * stdlib/srand48_r.c (__srand48_r): Likewise.
12531         * stdlib/swapcontext.c (swapcontext): Likewise.
12532         * stdlib/system.c (__libc_system): Likewise.
12533         * stdlib/tst-strtod.c (expand): Likewise.
12534         * stdlib/tst-strtol.c (expand): Likewise.
12535         * stdlib/tst-strtoll.c (expand): Likewise.
12536         * streams/fattach.c (fattach): Likewise.
12537         * streams/fdetach.c (fdetach): Likewise.
12538         * streams/getmsg.c (getmsg): Likewise.
12539         * streams/isastream.c (isastream): Likewise.
12540         * string/ffs.c (__ffs): Likewise.
12541         * string/ffsll.c (ffsll): Likewise.
12542         * string/memcmp.c (memcmp_common_alignment): Likewise.
12543         (memcmp_not_common_alignment): Likewise.
12544         (MEMCMP): Likewise.
12545         * string/memcpy.c (memcpy): Likewise.
12546         * string/memmove.c (MEMMOVE): Likewise.
12547         * string/memset.c (memset): Likewise.
12548         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12549         * string/strchrnul.c (STRCHRNUL): Likewise.
12550         * string/strerror.c (strerror): Likewise.
12551         * string/strndup.c (__strndup): Likewise.
12552         * string/strverscmp.c (__strverscmp): Likewise.
12553         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12554         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12555         (clnttcp_freeres): Likewise.
12556         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12557         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12558         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12559         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12560         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12561         (xdr_callhdr): Likewise.
12562         * sunrpc/rpcinfo.c (udpping): Likewise.
12563         (tcpping): Likewise.
12564         (pstatus): Likewise.
12565         (pmapdump): Likewise.
12566         (brdcst): Likewise.
12567         (deletereg): Likewise.
12568         (getprognum): Likewise.
12569         (getvers): Likewise.
12570         (get_inet_address): Likewise.
12571         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12572         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12573         (svcudp_stat): Likewise.
12574         (svcudp_recv): Likewise.
12575         (svcudp_reply): Likewise.
12576         (svcudp_getargs): Likewise.
12577         (svcudp_freeargs): Likewise.
12578         (svcudp_destroy): Likewise.
12579         * sunrpc/xdr.c (xdr_bytes): Likewise.
12580         (xdr_netobj): Likewise.
12581         (xdr_string): Likewise.
12582         (xdr_wrapstring): Likewise.
12583         * sunrpc/xdr_float.c (xdr_float): Likewise.
12584         (xdr_double): Likewise.
12585         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12586         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12587         * sysvipc/ftok.c (ftok): Likewise.
12588         * sysvipc/msgctl.c (msgctl): Likewise.
12589         * sysvipc/msgget.c (msgget): Likewise.
12590         * sysvipc/msgrcv.c (msgrcv): Likewise.
12591         * sysvipc/msgsnd.c (msgsnd): Likewise.
12592         * sysvipc/semget.c (semget): Likewise.
12593         * sysvipc/semop.c (semop): Likewise.
12594         * sysvipc/shmat.c (shmat): Likewise.
12595         * sysvipc/shmctl.c (shmctl): Likewise.
12596         * sysvipc/shmdt.c (shmdt): Likewise.
12597         * sysvipc/shmget.c (shmget): Likewise.
12598         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12599         * termios/speed.c (cfgetospeed): Likewise.
12600         (cfgetispeed): Likewise.
12601         (cfsetospeed): Likewise.
12602         (cfsetispeed): Likewise.
12603         * termios/tcflow.c (tcflow): Likewise.
12604         * termios/tcflush.c (tcflush): Likewise.
12605         * termios/tcgetattr.c (__tcgetattr): Likewise.
12606         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12607         * termios/tcgetsid.c (tcgetsid): Likewise.
12608         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12609         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12610         * time/adjtime.c (__adjtime): Likewise.
12611         * time/dysize.c (dysize): Likewise.
12612         * time/ftime.c (ftime): Likewise.
12613         * time/getitimer.c (__getitimer): Likewise.
12614         * time/gettimeofday.c (__gettimeofday): Likewise.
12615         * time/gmtime.c (__gmtime_r): Likewise.
12616         (gmtime): Likewise.
12617         * time/localtime.c (__localtime_r): Likewise.
12618         (localtime): Likewise.
12619         * time/offtime.c (__offtime): Likewise.
12620         * time/settimeofday.c (__settimeofday): Likewise.
12621         * time/stime.c (stime): Likewise.
12622         * time/strftime_l.c (tm_diff): Likewise.
12623         (iso_week_days): Likewise.
12624         * time/strptime.c (strptime): Likewise.
12625         * time/time.c (time): Likewise.
12626         * time/timespec_get.c (timespec_get): Likewise.
12627         * time/tzset.c (tzset_internal): Likewise.
12628         (compute_change): Likewise.
12629         (__tz_compute): Likewise.
12630         * wcsmbs/btowc.c (__btowc): Likewise.
12631         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12632         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12633         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12634         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12635         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12636         * wcsmbs/wcscat.c (__wcscat): Likewise.
12637         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12638         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12639         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12640         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12641         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12642         * wcsmbs/wcslen.c (__wcslen): Likewise.
12643         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12644         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12645         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12646         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12647         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12648         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12649         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12650         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12651         * wcsmbs/wcstok.c (wcstok): Likewise.
12652         * wcsmbs/wctob.c (wctob): Likewise.
12653         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12654         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12655         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12656         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12657         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12658         * wcsmbs/wmemset.c (__wmemset): Likewise.
12659         * wctype/wcfuncs.c (__towlower): Likewise.
12660         (__towupper): Likewise.
12662         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12663         (lll_unlock_elision): Add adapt_count parameter.
12665 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12667         * sysdeps/nptl/configure.ac: Do not give errors based on the
12668         results of top-level configure tests.
12669         * sysdeps/nptl/configure: Regenerated.
12671         * configure.ac (libc_cv_Bgroup): Remove configure test.
12672         * configure: Regenerated.
12673         * config.make.in (have-Bgroup): Remove variable.
12675         * configure.ac (sizeof_long_double): Remove configure test.
12676         * configure: Regenerated.
12677         * config.make.in (sizeof-long-double): Remove variable.
12679         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12680         * configure: Regenerated.
12681         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12682         variable.
12683         (exceptions): Likewise.
12684         * sysdeps/arm/configure: Regenerated.
12685         * config.make.in (exceptions): Remove variable.
12686         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12687         $(exceptions).
12688         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12689         (CFLAGS-vdprintf_chk.c): Likewise.
12690         (CFLAGS-printf_chk.c): Likewise.
12691         (CFLAGS-fprintf_chk.c): Likewise.
12692         (CFLAGS-vprintf_chk.c): Likewise.
12693         (CFLAGS-vfprintf_chk.c): Likewise.
12694         (CFLAGS-gets_chk.c): Likewise.
12695         (CFLAGS-fgets_chk.c): Likewise.
12696         (CFLAGS-fgets_u_chk.c): Likewise.
12697         (CFLAGS-fread_chk.c): Likewise.
12698         (CFLAGS-fread_u_chk.c): Likewise.
12699         (CFLAGS-wprintf_chk.c): Likewise.
12700         (CFLAGS-fwprintf_chk.c): Likewise.
12701         (CFLAGS-vwprintf_chk.c): Likewise.
12702         (CFLAGS-vfwprintf_chk.c): Likewise.
12703         (CFLAGS-fgetws_chk.c): Likewise.
12704         (CFLAGS-fgetws_u_chk.c): Likewise.
12705         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12706         (CFLAGS-fputc.c): Likewise.
12707         (CFLAGS-fputwc.c): Likewise.
12708         (CFLAGS-freopen64.c): Likewise.
12709         (CFLAGS-freopen.c): Likewise.
12710         (CFLAGS-fseek.c): Likewise.
12711         (CFLAGS-fseeko64.c): Likewise.
12712         (CFLAGS-fseeko.c): Likewise.
12713         (CFLAGS-ftello64.c): Likewise.
12714         (CFLAGS-ftello.c): Likewise.
12715         (CFLAGS-fwide.c): Likewise.
12716         (CFLAGS-genops.c): Likewise.
12717         (CFLAGS-getc.c): Likewise.
12718         (CFLAGS-getchar.c): Likewise.
12719         (CFLAGS-getwc.c): Likewise.
12720         (CFLAGS-getwchar.c): Likewise.
12721         (CFLAGS-iofclose.c): Likewise.
12722         (CFLAGS-iofflush.c): Likewise.
12723         (CFLAGS-iofgetpos64.c): Likewise.
12724         (CFLAGS-iofgetpos.c): Likewise.
12725         (CFLAGS-iofgets.c): Likewise.
12726         (CFLAGS-iofgetws.c): Likewise.
12727         (CFLAGS-iofputs.c): Likewise.
12728         (CFLAGS-iofputws.c): Likewise.
12729         (CFLAGS-iofread.c): Likewise.
12730         (CFLAGS-iofsetpos64.c): Likewise.
12731         (CFLAGS-iofsetpos.c): Likewise.
12732         (CFLAGS-ioftell.c): Likewise.
12733         (CFLAGS-iofwrite.c): Likewise.
12734         (CFLAGS-iogetdelim.c): Likewise.
12735         (CFLAGS-iogetline.c): Likewise.
12736         (CFLAGS-iogets.c): Likewise.
12737         (CFLAGS-iogetwline.c): Likewise.
12738         (CFLAGS-ioputs.c): Likewise.
12739         (CFLAGS-ioseekoff.c): Likewise.
12740         (CFLAGS-ioseekpos.c): Likewise.
12741         (CFLAGS-iosetbuffer.c): Likewise.
12742         (CFLAGS-iosetvbuf.c): Likewise.
12743         (CFLAGS-ioungetc.c): Likewise.
12744         (CFLAGS-ioungetwc.c): Likewise.
12745         (CFLAGS-oldfileops.c): Likewise.
12746         (CFLAGS-oldiofclose.c): Likewise.
12747         (CFLAGS-oldiofgetpos64.c): Likewise.
12748         (CFLAGS-oldiofgetpos.c): Likewise.
12749         (CFLAGS-oldiofsetpos64.c): Likewise.
12750         (CFLAGS-oldiofsetpos.c): Likewise.
12751         (CFLAGS-peekc.c): Likewise.
12752         (CFLAGS-putc.c): Likewise.
12753         (CFLAGS-putchar.c): Likewise.
12754         (CFLAGS-putwc.c): Likewise.
12755         (CFLAGS-putwchar.c): Likewise.
12756         (CFLAGS-rewind.c): Likewise.
12757         (CFLAGS-wfileops.c): Likewise.
12758         (CFLAGS-wgenops.c): Likewise.
12759         (CFLAGS-oldiofopen.c): Likewise.
12760         (CFLAGS-iofopen.c): Likewise.
12761         (CFLAGS-iofopen64.c): Likewise.
12762         (CFLAGS-oldtmpfile.c): Likewise.
12763         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12764         (CFLAGS-fprintf.c): Likewise.
12765         (CFLAGS-printf.c): Likewise.
12766         (CFLAGS-vfwprintf.c): Likewise.
12767         (CFLAGS-vfscanf.c): Likewise.
12768         (CFLAGS-vfwscanf.c): Likewise.
12769         (CFLAGS-fscanf.c): Likewise.
12770         (CFLAGS-scanf.c): Likewise.
12771         (CFLAGS-isoc99_vfscanf.c): Likewise.
12772         (CFLAGS-isoc99_vscanf.c): Likewise.
12773         (CFLAGS-isoc99_fscanf.c): Likewise.
12774         (CFLAGS-isoc99_scanf.c): Likewise.
12775         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12776         (CFLAGS-isoc99_fwscanf.c): Likewise.
12777         (CFLAGS-isoc99_vwscanf.c): Likewise.
12778         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12780         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12781         after mkstemp64.
12782         * login/tst-utmp.c (do_prepare): Likewise.
12783         * rt/tst-aio.c (do_prepare): Likewise.
12784         * rt/tst-aio64.c (do_prepare): Likewise.
12786 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12788         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12789         (__lll_lock_elision): Remove adapt_count decrement...
12790         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12791         (__lll_trylock_elision): Likewise.
12792         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12793         (__lll_unlock_elision): ... to here. And utilize
12794         new adapt_count parameter.
12795         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12796         (__lll_unlock_elision): Update to include adapt_count
12797         parameter.
12798         (lll_unlock_elision): Pass pointer to adapt_count
12799         variable.
12801 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12803         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12804         Add elision adapt_count parameter to list of arguments.
12805         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12806         (lll_unlock_elision): Update with new parameter list
12807         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12808         (lll_unlock_elision): Likewise.
12809         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12810         (lll_unlock_elision): Likewise.
12812 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12814         [BZ #19122]
12815         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12816         attribute_hidden.
12818         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12819         attribute_hidden.
12820         [IS_IN (rtld)] (__strdup): Likewise.
12821         [IS_IN (rtld)] (__strerror_r): Likewise.
12822         [IS_IN (rtld)] (__strsep_g): Likewise.
12823         [IS_IN (rtld)] (memchr): Likewise.
12824         [IS_IN (rtld)] (memcmp): Likewise.
12825         [IS_IN (rtld)] (memcpy): Likewise.
12826         [IS_IN (rtld)] (memmove): Likewise.
12827         [IS_IN (rtld)] (memset): Likewise.
12828         [IS_IN (rtld)] (rawmemchr): Likewise.
12829         [IS_IN (rtld)] (stpcpy): Likewise.
12830         [IS_IN (rtld)] (strchr): Likewise.
12831         [IS_IN (rtld)] (strcmp): Likewise.
12832         [IS_IN (rtld)] (strlen): Likewise.
12833         [IS_IN (rtld)] (strnlen): Likewise.
12834         [IS_IN (rtld)] (strsep): Likewise.
12836         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12837         attribute_hidden.
12838         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12840         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12841         attribute_hidden.
12842         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12844         * include/setjmp.h (__longjmp): Add attribute_hidden.
12845         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12847         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12848         Add attribute_hidden.
12850         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12851         [IS_IN (rtld)] (__open): Likewise.
12852         [IS_IN (rtld)] (__fcntl): Likewise.
12854         * include/dirent.h (__opendirat): Add attribute_hidden.
12855         (__getdents): Likewise.
12856         (__getdents64): Likewise.
12857         (__alloc_dir): Likewise.
12858         [IS_IN (rtld)] (__closedir): Likewise.
12859         [IS_IN (rtld)] (__fdopendir): Likewise.
12860         [IS_IN (rtld)] (__readdir): Likewise.
12861         [IS_IN (rtld)] (__readdir64): Likewise.
12862         [IS_IN (rtld)] (__rewinddir): Likewise.
12864         * include/dlfcn.h (_dl_catch_error): Moved to ...
12865         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12866         attribute_hidden.
12868         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12869         (_itoa_word): Likewise.
12871         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12872         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12873         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12874         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12875         (_dl_higher_prime_number): Likewise.
12876         (_dl_debug_printf_c): Likewise.
12877         (_dl_signal_cerror): Likewise.
12878         (_dl_receive_error): Likewise.
12879         (_dl_reloc_bad_type): Likewise.
12880         (_dl_resolve_conflicts): Likewise.
12881         (_dl_check_all_versions): Likewise.
12882         (_dl_check_map_versions): Likewise.
12883         (_dl_sort_fini): Likewise.
12884         (_dl_debug_initialize): Likewise.
12885         (_dl_init_paths): Likewise.
12886         (_dl_show_auxv): Likewise.
12887         (_dl_next_ld_env_entry): Likewise.
12888         (_dl_important_hwcaps): Likewise.
12889         (_dl_load_cache_lookup): Likewise.
12890         (_dl_update_slotinfo): Likewise.
12891         (_dl_show_scope): Likewise.
12893         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12894         attribute_hidden.
12895         (_wordcopy_fwd_dest_aligned): Likewise.
12896         (_wordcopy_bwd_aligned): Likewise.
12897         (_wordcopy_bwd_dest_aligned): Likewise.
12899         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12900         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12901         Likewise.
12902         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12903         Likewise.
12904         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12906 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12908         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12909         GCC 5 requirement.
12911 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12913         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12914         test.
12915         * sysdeps/i386/configure: Regenerated.
12916         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12917         code unconditional.
12919         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12920         test.
12921         (libc_cv_asm_popsection_directive): Likewise.
12922         * configure: Regenerated.
12923         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12924         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12925         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12926         (__make_section_unallocated): Make definition unconditional.
12927         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12928         Remove conditional definition.
12929         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12930         (__make_section_unallocated): Likewise.
12932         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12933         * configure: Regenerated.
12934         * config.make.in (static-libgcc): Remove variable.
12935         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12936         $(static-libgcc).
12937         (build-module-helper): Likewise.
12939         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12940         * configure: Regenerated.
12942 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12944         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12945         (struct char_buffer): New type.
12946         (char_buffer_start, char_buffer_size, char_buffer_error)
12947         (char_buffer_rewind, char_buffer_add): New functions.
12948         (ADDW): Remove macro, replaced by the char_buffer_add function.
12949         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12950         of extend_alloca.  Make control flow more explicit.
12952 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12954         [BZ #19137]
12955         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12956         Add -fomit-frame-pointer.
12957         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12959 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12961         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12962         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12963         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12964         only if !__GNUC_PREREQ (5,0).
12965         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12966         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12967         (INTERNAL_SYSCALL_NCS): Likewise.
12968         (LOADREGS_0): New macro for GCC 5.
12969         (ASMARGS_0): Likewise.
12970         (LOADREGS_1): Likewise.
12971         (ASMARGS_1): Likewise.
12972         (LOADREGS_2): Likewise.
12973         (ASMARGS_2): Likewise.
12974         (LOADREGS_3): Likewise.
12975         (ASMARGS_3): Likewise.
12976         (LOADREGS_4): Likewise.
12977         (ASMARGS_4): Likewise.
12978         (LOADREGS_5): Likewise.
12979         (ASMARGS_5): Likewise.
12980         (LOADREGS_6): Likewise.
12981         (ASMARGS_6): Likewise.
12983 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12985         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12986         -fomit-frame-pointer.
12987         (CFLAGS-mmap64.c): Likewise.
12988         (CFLAGS-semtimedop.c): Likewise.
12989         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12990         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12991         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12992         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12994 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12996         [BZ #18928]
12997         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12998         _dl_pointer_guard member.
12999         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
13000         initializer.
13001         (security_init): Always set up pointer guard.
13002         (process_envvars): Do not process LD_POINTER_GUARD.
13004 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
13006         [BZ #19134]
13007         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
13008         (.LC2): Likewise.
13009         (.LC3): Likewise.
13010         (__lround): Do not add 0.5 to integer or out-of-range arguments.
13012 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13014         [BZ #19129]
13015         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
13016         r0 and r1.
13018 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
13020         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
13022 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
13024         * include/stap-probe.h: Fix macro definition formatting.
13026 2015-10-14  Florian Weimer  <fweimer@redhat.com>
13028         [BZ #19074]
13029         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
13030         load and store num_ifs.
13032 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13034         [BZ #18822]
13035         * sysdeps/unix/sysv/linux/sched_getaffinity.c
13036         (__sched_getaffinity_new): Add libc_hidden_proto and
13037         libc_hidden_def.
13039 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13041         [BZ #19007]
13042         * scripts/localplt.awk: Also allow GOT references.
13043         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
13044         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
13045         with "+ REL R_386_GLOB_DAT".
13046         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
13047         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
13049 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
13051         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
13052         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13053         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
13054         Likewise.
13055         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13056         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
13057         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13058         INTERNAL_SYSCALLINTERNAL_SYSCALL and
13059         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13060         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13061         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13062         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13063         Likewise.
13064         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13066 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13068         [BZ #19125]
13069         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
13070         <math_private.h> and <stdint.h>.
13071         (__llround): Avoid conversions to and from long long int, and
13072         subtractions, where those might raise spurious exceptions.
13073         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
13074         <math_private.h> and <stdint.h>.
13075         (__llroundf): Avoid conversions to and from long long int, and
13076         subtractions, where those might raise spurious exceptions.
13078 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13080         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
13081         INLINE_SYSCALL_ERROR_RETURN_VALUE.
13082         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13083         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
13084         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13085         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13086         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
13087         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
13088         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
13089         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13090         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13091         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13092         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
13093         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13094         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13095         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
13096         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
13097         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13098         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
13099         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
13100         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13101         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
13102         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
13103         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13104         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
13105         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
13106         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
13107         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13108         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13109         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
13110         (__xstat64_conv): Likewise.
13111         (__xstat32_conv): Likewise.
13113 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13115         * sysdeps/unix/sysv/linux/sysdep.h: New file.
13116         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
13117         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
13118         <sysdeps/unix/sysv/linux/sysdep.h>.
13119         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
13120         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
13121         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
13122         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
13123         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
13124         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
13125         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
13126         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
13127         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
13129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13131         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13132         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13133         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
13134         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13135         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
13136         (sysdep-dl-routines): Add sysdep.
13137         [$(subdir) == nptl] (libpthread-routines): Likewise.
13138         [$(subdir) == rt] (librt-routines): Likewise.
13139         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
13140         PIC when branching to SYSCALL_ERROR_LABEL.
13141         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
13142         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
13143         <sysdeps/unix/sysv/linux/sysdep.h>.
13144         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
13145         (SYSCALL_ERROR_ERRNO): Removed.
13146         (SYSCALL_ERROR_HANDLER): Changed to empty.
13147         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
13148         (__syscall_error): New prototype.
13149         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
13150         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
13152 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
13154         [BZ #19124]
13155         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
13156         (_dl_runtime_resolve_avx512): Make it a hidden alias of
13157         _dl_runtime_resolve_avx.
13158         (_dl_runtime_profile_avx512): Make it a hidden alias of
13159         _dl_runtime_profile_avx.
13161 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
13163         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
13164         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
13165         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
13166         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
13168         [BZ #16422]
13169         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
13170         New configure test.
13171         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
13172         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
13173         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
13174         <math_private.h> and <stdint.h>.
13175         (__llrint): Avoid conversions to long long int where those might
13176         raise spurious exceptions.
13177         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
13178         <math_private.h> and <stdint.h>.
13179         (__llrintf): Avoid conversions to long long int where those might
13180         raise spurious exceptions.
13182 2015-10-12  Andreas Schwab  <schwab@suse.de>
13184         [BZ #18969]
13185         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
13186         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
13187         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
13188         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
13189         $(gen-locales).
13190         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
13191         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
13192         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
13193         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
13194         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
13195         $(gen-locales).
13196         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
13197         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
13198         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
13199         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
13200         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
13201         ($(objpfx)tst-ftell-active-handler.out)
13202         ($(objpfx)tst-ftell-append.out)
13203         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
13204         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
13205         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
13206         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
13207         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
13208         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
13209         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
13210         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
13211         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
13212         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
13213         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
13214         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
13215         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
13216         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
13217         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
13218         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
13219         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
13220         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
13221         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
13222         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
13223         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
13224         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
13225         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
13226         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
13227         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
13228         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
13229         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
13230         $(gen-locales).
13231         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
13232         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
13233         $(gen-locales).
13234         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
13235         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
13236         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
13237         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
13238         $(gen-locales).
13239         * libio/tst_wprintf2.c (main): Use explicit locale.
13240         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
13242 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13244         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
13245         __msg_sig_post.
13246         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
13248 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13250         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13251         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13253         * sysdeps/arm/libm-test-ulps: Regenerated.
13255         [BZ #15470]
13256         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
13258         [BZ #16399]
13259         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
13260         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
13261         and <fix-fp-int-convert-overflow.h>.
13262         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13263         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13264         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
13265         and <fix-fp-int-convert-overflow.h>.
13266         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
13267         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13268         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
13269         <fix-fp-int-convert-overflow.h>.
13270         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
13271         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13272         * sysdeps/ieee754/dbl-64/s_lround.c: Include
13273         <fix-fp-int-convert-overflow.h>.
13274         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
13275         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13276         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
13277         and <fix-fp-int-convert-overflow.h>.
13278         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13279         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13280         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
13281         <limits.h> and <fix-fp-int-convert-overflow.h>.
13282         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13283         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13284         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
13285         and <fix-fp-int-convert-overflow.h>.
13286         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
13287         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13288         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
13289         and <fix-fp-int-convert-overflow.h>.
13290         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
13291         FIX_DBL_LLONG_CONVERT_OVERFLOW.
13292         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
13294 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
13296         [BZ #18589]
13297         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
13298         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
13299         $(gen-locales).
13301 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13302             Phil Blundell <pb@pbcl.net>
13304         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
13305         * nptl/tst-cancel26.c: New file.
13306         * nptl/tst-cancel27.c: Likewise.
13308 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
13310         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
13311         __ILP32__ isn't defined.
13312         (lrint): Likewise.
13313         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
13314         (lrintf): Likewise.
13315         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
13316         (lrintl): Likewise.
13317         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
13318         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
13319         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
13321 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
13327         file.
13328         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
13329         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13331 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
13333         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
13334         configure test.
13335         * sysdeps/i386/configure: Regenerated.
13336         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
13337         configure test.
13338         * sysdeps/x86_64/configure: Regenerated.
13339         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
13340         Make code unconditional.
13342         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
13343         test.
13344         * sysdeps/i386/configure: Regenerated.
13345         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
13346         test.
13347         * sysdeps/x86_64/configure: Regenerated.
13348         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
13349         Make code unconditional.
13350         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
13351         Likewise.
13352         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
13353         Likewise.
13354         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13355         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
13356         code unconditional.
13357         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13358         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
13359         code unconditional.
13360         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13361         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
13362         code unconditional.
13363         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
13364         code unconditional.
13365         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13366         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
13367         code unconditional.
13368         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13369         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
13370         code unconditional.
13371         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13372         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
13373         code unconditional.
13374         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13375         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
13376         code unconditional.
13377         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
13378         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
13380         [BZ #19095]
13381         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
13382         mantissa to long int before shifting left.
13384 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13386         [BZ #19094]
13387         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
13388         <limits.h>.
13389         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13390         when result overflows but exception would not result from cast.
13391         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
13392         <limits.h>.
13393         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13394         when result overflows but exception would not result from cast.
13395         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
13396         <limits.h>.
13397         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13398         when result overflows but exception would not result from cast.
13399         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
13400         <limits.h>.
13401         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13402         when result overflows but exception would not result from cast.
13403         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
13404         <limits.h>.
13405         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
13406         when result overflows but exception would not result from cast.
13407         * math/libm-test.inc (lrint_test_data): Add more tests.
13408         (llrint_test_data): Likewise.
13410 2015-10-08  Roland McGrath  <roland@hack.frob.com>
13412         [BZ #18872]
13413         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
13414         Move out from under [$(run-built-tests) = yes] conditional.
13415         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
13416         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
13418 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
13420         [BZ #18589]
13421         * string/Makefile (tests): Add bug-strcoll2.
13422         (LOCALES): Add cs_CZ.UTF-8.
13423         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
13425         [BZ #18589]
13426         * string/bug-strcoll2.c: New file.
13427         * locale/categories.def: Revert commit
13428         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
13429         * locale/langinfo.h: Likewise.
13430         * locale/localeinfo.h: Likewise.
13431         * locale/C-collate.c: Likewise.
13432         * locale/programs/ld-collate.c (collate_output): Likewise.
13433         * string/strcoll_l.c (STRDIFF): Likewise.
13434         (STRCOLL): Likewise.
13435         * wcsmbs/wcscoll_l.c: Likewise.
13437 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
13439         * math/libm-test.inc (lround_test_data): Do not expect the absence
13440         of "inexact" for some tests with non-integer arguments.
13441         (llround_test_data): Likewise.
13443         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
13444         test.
13445         (libc_cv_cc_sse2avx): Likewise.
13446         * sysdeps/i386/configure: Regenerated.
13447         * sysdeps/i386/i686/multiarch/Makefile
13448         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
13449         [$(subdir) = math].
13450         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
13451         code unconditional.
13452         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13453         Likewise.
13454         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
13455         Likewise.
13456         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13457         Likewise.
13458         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
13459         test.
13460         (libc_cv_cc_sse2avx): Likewise.
13461         * sysdeps/x86_64/configure: Regenerated.
13462         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
13463         unconditional.
13464         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
13465         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
13466         unconditional.
13467         (_dl_runtime_profile)
13468         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
13469         conditional code.
13470         * sysdeps/x86_64/fpu/multiarch/Makefile
13471         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
13472         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
13473         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13474         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13475         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13476         * sysdeps/x86_64/fpu/multiarch/e_log.c
13477         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13478         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13479         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13480         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13481         Likewise.
13482         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13483         Likewise.
13484         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13485         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13486         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13487         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13488         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13489         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13490         (HAVE_SSE2AVX_SUPPORT): Likewise.
13492 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13494         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13495         instead of #pragma optimize.
13497 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13499         [BZ #17195]
13500         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13501         as is similarly done in systrim and _int_free already.
13503 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13505         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13507 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13509         [BZ #19088]
13510         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13511         <limits.h>.
13512         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13513         overflows but exception would not result from cast.
13514         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13515         and <limits.h>.
13516         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13517         overflows but exception would not result from cast.
13518         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13519         <limits.h>.
13520         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13521         overflows but exception would not result from cast.
13522         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13523         <limits.h>.
13524         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13525         overflows but exception would not result from cast.
13526         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13527         <limits.h>.
13528         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13529         overflows but exception would not result from cast.
13530         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13531         <limits.h>.
13532         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13533         overflows but exception would not result from cast.
13534         * math/libm-test.inc (lround_test_data): Add more tests.
13535         (llround_test_data): Likewise.
13537 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13539         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13540         (CFLAGS-ialloc.c): Ditto.
13541         (CFLAGS-scheck.c): Ditto.
13543 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13545         [BZ #19086]
13546         * manual/filesys.texi (Storage Allocation): Fix argument order for
13547         posix_fallocate64.
13549 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13551         [BZ #19085]
13552         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13553         exponent below 48 inside case for non-overflowing exponent.
13554         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13556 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13558         * iconvdata/cp737.h (from_idx): Add const.
13559         * iconvdata/cp775.h (from_idx): Likewise.
13561 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13563         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13564         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13565         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13567         [BZ #19079]
13568         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13569         file, conditioned on [!_LP64].
13570         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13571         [!_LP64] (__lround): Do not define as function or alias.
13572         [!_LP64] (lround): Likewise.
13573         [!_LP64] (__lroundl): Likewise.
13574         [!_LP64] (lroundl): Likewise.
13575         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13576         macro.
13577         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13578         Likewise.
13580 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13582         * math/libm-test.inc (lrint_test_data): Add more tests.
13583         (llrint_test_data): Likewise.
13584         (lround_test_data): Likewise.
13585         (llround_test_data): Likewise.
13587         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13588         (llrint_test_data): Add tests used for lrint.
13590         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13591         test.
13592         * sysdeps/i386/configure: Regenerated.
13593         * sysdeps/i386/i686/multiarch/Makefile
13594         [$(config-cflags-sse4) = yes]: Make code unconditional.
13595         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13596         Likewise.
13597         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13598         Likewise.
13599         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13600         test.
13601         * sysdeps/x86_64/configure: Regenerated.
13602         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13603         Make code unconditional.
13604         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13605         Likewise.
13606         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13607         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13609         * scripts/rpm2dynsym.sh: Remove file.
13611 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13613         * configure.ac (libc_cv_cxx_thread_local): Define.
13614         * configure: Regenerate.
13615         * config.make.in (have-cxx-thread_local): Define.
13616         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13617         (LDLIBS-tst-thread_local1): Define.
13618         (tests): Add tst-thread_local1.
13619         [have-cxx-thread_local != yes] (tests-unsupported): Add
13620         tst-thread_local1.
13621         * nptl/tst-thread_local1.cc: New file.
13623 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13625         [BZ #19078]
13626         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13627         (u_thres): Likewise.
13628         (__expl): Determine whether to call __kernel_standard_l based on
13629         value of result, not argument.
13631         * math/libm-test.inc (scalb_test_data): Add more expectations for
13632         the "inexact" exception.
13634         [BZ #19077]
13635         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13636         0.0L for argument 1.0L.
13638         [BZ #19076]
13639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13640         constant 0.0L when computing infinite result.
13642 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13644         [BZ #10432]
13645         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13646         malloc_usable_size.
13648 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13650         [BZ #19018]
13651         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13652         Mangle function pointer before storing it.
13653         (__call_tls_dtors): Demangle function pointer before calling it.
13655 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13657         [BZ #19012]
13658         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13659         Clean up on failure.
13661 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13663         [BZ #19071]
13664         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13665         long int variable to store possibly incremented high part of
13666         mantissa.
13667         * math/libm-test.inc (lround_test_data): Add tests used for
13668         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13669         for tests requiring 64-bit long.  Do not condition tests on
13670         [TEST_FLOAT] unnecessarily.
13671         (llround_test_data): Add tests used for lround.  Add another
13672         expectation for the "inexact" exception.  Do not condition tests
13673         on [TEST_FLOAT] unnecessarily.
13675         [BZ #887]
13676         [BZ #19049]
13677         [BZ #19050]
13678         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13679         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13680         <fix-int-fp-convert-zero.h>.
13681         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13682         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13683         <fix-int-fp-convert-zero.h>.
13684         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13685         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13686         <fix-int-fp-convert-zero.h>.
13687         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13688         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13689         <fix-int-fp-convert-zero.h>.
13690         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13691         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13692         <fix-int-fp-convert-zero.h>.
13693         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13694         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13695         <fix-int-fp-convert-zero.h>.
13696         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13697         * sysdeps/ieee754/flt-32/s_erff.c: Include
13698         <fix-int-fp-convert-zero.h>.
13699         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13700         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13701         <fix-int-fp-convert-zero.h>.
13702         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13703         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13704         <fix-int-fp-convert-zero.h>.
13705         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13707         <fix-int-fp-convert-zero.h>.
13708         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13709         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13710         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13711         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13712         file.
13713         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13715 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13719 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13721         [BZ #19059]
13722         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13723         overflowing computation.
13724         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13725         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13726         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13727         Likewise.
13728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13729         Likewise.
13730         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13731         Likewise.
13732         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13733         Likewise.
13734         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13735         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13736         Likewise.
13737         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13738         Likewise.
13739         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13741         * nss/rewrite_field.c (__nss_rewrite_field): Use
13742         internal_function.
13743         * nss/valid_field.c (__nss_valid_field): Likewise.
13744         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13746 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13748         [BZ #18724]
13749         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13750         (__nss_invalid_field_characters, __nss_valid_field)
13751         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13752         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13753         tst-field.c: New file.
13754         * nss/Makefile (routines): Add valid_field, rewrite_field.
13755         (tests-static): Define unconditionally.
13756         (tests): Include tests-static.
13757         [build-static-nss] (tests-static): Use append.
13758         [build-static-nss] (tests): Remove modification.
13759         * nss/getent.c (print_group): Call putgrent.  Report error.
13760         (print_gshadow): Call putsgent.  Report error.
13761         (print_passwd): Call putpwent.  Report error.
13762         (print_shadow): Call putspent.  Report error.
13763         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13764         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13765         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13766         name, password, directory, shell fields for valid syntax.  Rewrite
13767         GECOS field to match syntax.
13768         * pwd/Makefile (tests): Add tst-putpwent.
13769         * pwd/tst-putpwent.c: New file.
13770         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13771         Check grName, grpasswd, gr_mem fields for valid syntax.
13772         Change loop variable i to size_t.
13773         * grp/Makefile (tests): Add tst-putgrent.
13774         * grp/tst-putgrent.c: New file.
13775         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13776         valid syntax.
13777         * shadow/Makefile (tests): Add tst-putspent.
13778         * shadow/tst-putspent.c: New file.
13779         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13780         sg_mem fields for valid syntax.
13781         * gshadow/Makefile (tests): Add tst-putsgent.
13782         * gshadow/tst-putsgent.c: New file.
13784 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13786         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13787         assembly instructions.
13789 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13791         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13792         prefix from operands.
13794 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13796         [BZ #16347]
13797         [BZ #19046]
13798         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13799         <libc-internal.h>.
13800         (MAXLGM): Do not use diagnostic control macros.
13801         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13802         threshold for ldbl-128ibm.
13803         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13804         instead of multiplying by log then subtracting.
13805         * math/auto-libm-test-in: Add more tests of lgamma.
13806         * math/auto-libm-test-out: Regenerated.
13808         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13809         (TYPE_HEX_DIG): Likewise.
13810         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13811         precisions when printing floating-point numbers.
13812         (check_float_internal): Likewise.
13814 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13816         [BZ #16620]
13817         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13818         of log (10) rounded downward to 48 bits.
13819         (log10_low): Use corresponding low part of log (10).
13821         [BZ #19032]
13822         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13823         compute result as (x - x) / (x - x) not as 0 / 0.
13824         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13825         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13827         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13828         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13829         and expm1.
13830         * math/auto-libm-test-out: Regenerated.
13831         * math/libm-test.inc (acos_test_data): Add more tests.
13832         (asin_test_data): Likewise.
13833         (asinh_test_data): Likewise.
13834         (atan_test_data): Likewise.
13835         (atanh_test_data): Likewise.
13836         (atan2_test_data): Likewise.
13837         (cbrt_test_data): Likewise.
13838         (ceil_test_data): Likewise.
13839         (copysign_test_data): Likewise.
13840         (cos_test_data): Likewise.
13841         (cosh_test_data): Likewise.
13842         (erf_test_data): Likewise.
13843         (erfc_test_data): Likewise.
13844         (exp_test_data): Likewise.
13845         (exp10_test_data): Likewise.
13846         (exp2_test_data): Likewise.
13847         (expm1_test_data): Likewise.
13848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13850 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13852         [BZ #19006]
13853         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13854         to ...
13855         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13856         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13857         to ...
13858         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13859         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13860         to ...
13861         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13862         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13863         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13864         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13865         to ...
13866         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13867         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13868         Moved to ...
13869         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13870         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13871         Moved to ...
13872         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13873         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13874         to ...
13875         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13876         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13877         Moved to ...
13878         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13879         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13880         to ...
13881         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13882         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13883         Removed.
13884         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13885         Likewise.
13886         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13887         Likewise.
13888         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13889         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13890         Likewise.
13891         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13892         Likewise.
13893         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13894         Likewise.
13895         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13896         Likewise.
13897         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13898         Likewise.
13899         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13902         Likewise.
13903         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13904         Likewise.
13905         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13906         Likewise.
13907         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13908         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13909         Likewise.
13910         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13911         Likewise.
13912         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13913         Likewise.
13914         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13915         Likewise.
13916         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13917         Likewise.
13918         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13919         Replace ../i486/pthread_cond_timedwait.S with
13920         ../pthread_cond_timedwait.S.
13922 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13924         * math/libm-test.inc (acos_test_data): Refine expectations for
13925         errno and "inexact" exceptions.
13926         (acosh_test_data): Likewise.
13927         (asin_test_data): Likewise.
13928         (asinh_test_data): Likewise.
13929         (atan_test_data): Likewise.
13930         (atanh_test_data): Likewise.
13931         (atan2_test_data): Likewise.
13932         (cbrt_test_data): Likewise.
13933         (ceil_test_data): Likewise.
13934         (copysign_test_data): Likewise.
13935         (cosh_test_data): Likewise.
13936         (erf_test_data): Likewise.
13937         (erfc_test_data): Likewise.
13938         (exp_test_data): Likewise.
13939         (exp10_test_data): Likewise.
13940         (exp2_test_data): Likewise.
13941         (expm1_test_data): Likewise.
13942         (fabs_test_data): Likewise.
13943         (floor_test_data): Likewise.
13944         (fma_test_data): Likewise.
13945         (fmax_test_data): Likewise.
13946         (fmin_test_data): Likewise.
13947         (fmod_test_data): Likewise.
13948         (fpclassify_test_data): Likewise.
13949         (frexp_test_data): Likewise.
13950         (hypot_test_data): Likewise.
13951         (ilogb_test_data): Likewise.
13952         (isgreater_test_data): Likewise.
13953         (isgreaterequal_test_data): Likewise.
13954         (isinf_test_data): Likewise.
13955         (isless_test_data): Likewise.
13956         (islessequal_test_data): Likewise.
13957         (islessgreater_test_data): Likewise.
13958         (isnan_test_data): Likewise.
13959         (isnormal_test_data): Likewise.
13960         (issignaling_test_data): Likewise.
13961         (isunordered_test_data): Likewise.
13962         (j0_test_data): Likewise.
13963         (j1_test_data): Likewise.
13964         (jn_test_data): Likewise.
13965         (lgamma_test_data): Likewise.
13966         (lrint_test_data): Likewise.
13967         (llrint_test_data): Likewise.
13968         (log_test_data): Likewise.
13969         (log10_test_data): Likewise.
13970         (log1p_test_data): Likewise.
13971         (log2_test_data): Likewise.
13972         (logb_test_data): Likewise.
13973         (lround_test_data): Likewise.
13974         (llround_test_data): Likewise.
13975         (modf_test_data): Likewise.
13976         (nearbyint_test_data): Likewise.
13977         (nextafter_test_data): Likewise.
13978         (nexttoward_test_data): Likewise.
13979         (pow_test_data): Likewise.
13980         (remainder_test_data): Likewise.
13981         (remquo_test_data): Likewise.
13982         (rint_test_data): Likewise.
13983         (round_test_data): Likewise.
13984         (signbit_test_data): Likewise.
13985         (sinh_test_data): Likewise.
13986         (sqrt_test_data): Likewise.
13987         (tanh_test_data): Likewise.
13988         (tgamma_test_data): Likewise.
13989         (trunc_test_data): Likewise.
13990         (y0_test_data): Likewise.
13991         (y1_test_data): Likewise.
13992         (yn_test_data): Likewise.
13993         (significand_test_data): Likewise.
13995 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13997         * manual/filesys.texi (Storage Allocation): Document that
13998         posix_fallocate emulation fails when fd is open with O_WRONLY.
14000 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
14002         [BZ #19016]
14003         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
14004         allow more cases with X^2 + Y^2 >= 0.5.
14005         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
14006         normal element in sum instead of special-casing based on values of
14007         arguments.
14008         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
14009         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
14010         -1 as normal element in sum instead of special-casing based on
14011         values of arguments.
14012         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
14013         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
14014         (__x2y2m1): Update comment.
14015         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
14016         as normal element in sum instead of special-casing based on values
14017         of arguments.
14018         * math/s_clog.c (__clog): Handle more cases using log1p without
14019         hypot.
14020         * math/s_clog10.c (__clog10): Likewise.
14021         * math/s_clog10f.c (__clog10f): Likewise.
14022         * math/s_clog10l.c (__clog10l): Likewise.
14023         * math/s_clogf.c (__clogf): Likewise.
14024         * math/s_clogl.c (__clogl): Likewise.
14025         * math/auto-libm-test-in: Add more tests of clog and clog10.
14026         * math/auto-libm-test-out: Regenerated.
14027         * sysdeps/i386/fpu/libm-test-ulps: Update.
14028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14030 2015-09-28  Martin Sebor  <msebor@redhat.com>
14032         [BZ #18969]
14033         * string/Makefile (LOCALES): Define.
14034         (gen-locales.mk): Include.
14035         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
14036         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
14037         * string/tst-strxfrm2.c (do_test): Print the name of the locale
14038         on setlocale failure.
14040 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14042         [BZ #18985]
14043         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
14044         (__strftime_internal): Likewise.
14045         * time/tst-strftime.c (do_bz18985): New test.
14046         (do_test): Call it.
14048 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
14050         [BZ #18956]
14051         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
14052         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
14053         extracting high part.
14054         * math/auto-libm-test-in: Add another test of pow.
14055         * math/auto-libm-test-out: Regenerated.
14056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14058 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14060         [BZ #18825]
14061         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
14062         New macro.
14063         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
14064         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14065         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
14066         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
14067         DBL_NARROW_EVAL, reloading the PIC register as needed.
14068         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
14069         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
14070         FLT_NARROW_EVAL.  Use separate return path for case when first
14071         argument is NaN.
14072         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
14073         DEFINE_LDBL_MIN.
14074         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
14075         PIC register.
14076         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
14077         math_check_force_underflow_nonneg.
14078         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
14079         underflow for subnormal result.
14080         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
14081         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
14082         math_check_force_underflow_nonneg.
14083         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
14084         math_check_force_underflow.
14085         * sysdeps/x86_64/fpu/x86_64-math-asm.h
14086         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
14087         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
14088         DEFINE_LDBL_MIN.
14089         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
14090         * math/auto-libm-test-in: Add more tests of pow.
14091         * math/auto-libm-test-out: Regenerated.
14093 2015-09-25  Florian Weimer  <fweimer@redhat.com>
14095         * nss/bug17079.c (init_test_items): Add diagnostic for
14096         inconsistent entries.
14097         (test_buffer_size): Skip inconsistent entries.
14099 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
14101         [BZ #13304]
14102         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
14103         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
14104         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
14106         [BZ #13304]
14107         * sysdeps/microblaze/s_fma.c: New file.
14108         * sysdeps/microblaze/s_fmaf.c: Likewise.
14109         * sysdeps/microblaze/sfp-machine.h: Likewise.
14111 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
14113         [BZ #17250]
14114         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
14115         member.
14117 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14119         [BZ #18803]
14120         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
14121         (MO): New macro.
14122         (__ieee754_hypot) [PIC]: Load PIC register.
14123         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
14124         DBL_NARROW_EVAL.
14125         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
14126         math_check_force_underflow_nonneg in case where result might be
14127         tiny.
14128         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14129         Likewise.
14130         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14131         Likewise.
14132         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
14133         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
14134         * math/auto-libm-test-in: Add more tests of hypot.
14135         * math/auto-libm-test-out: Regenerated.
14137 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
14139         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
14141 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
14143         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
14144         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
14145         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14146         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14147         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
14148         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14149         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14151         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
14152         LOAD_PIC_REG.
14154         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
14155         (FLT_CHECK_FORCE_UFLOW): Likewise.
14156         (DBL_CHECK_FORCE_UFLOW): Likewise.
14157         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
14158         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
14159         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
14160         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14161         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
14162         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14163         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14164         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
14165         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
14166         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14167         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
14168         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
14169         (flt_min): Replace with use of DEFINE_FLT_MIN.
14170         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
14171         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
14172         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14173         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
14174         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
14175         (flt_min): Replace with use of DEFINE_FLT_MIN.
14176         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
14177         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
14178         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14179         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
14180         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
14181         (flt_min): Replace with use of DEFINE_FLT_MIN.
14182         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
14183         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
14184         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
14185         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
14186         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
14187         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
14188         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
14189         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
14190         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14191         (__atan): Use DBL_CHECK_FORCE_UFLOW.
14192         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
14193         (flt_min): Replace with use of DEFINE_FLT_MIN.
14194         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
14195         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
14196         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14197         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
14198         main computation.
14199         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
14200         (flt_min): Replace with use of DEFINE_FLT_MIN.
14201         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
14202         main computation.
14203         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
14204         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14205         (MO): New macro.
14206         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
14207         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
14208         (flt_min): Replace with use of DEFINE_FLT_MIN.
14209         (MO): New macro.
14210         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
14211         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
14212         (__log1pl): Use MO.
14214         [BZ #19003]
14215         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
14216         $(config-cflags-nofma).
14218 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14220         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14222 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
14224         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
14225         (TWO127): Likewise.
14227         * sysdeps/generic/math_private.h (fabs_tg): New macro.
14228         (min_of_type): Likewise.
14229         (math_check_force_underflow): Likewise.
14230         (math_check_force_underflow_nonneg): Likewise.
14231         (math_check_force_underflow_complex): Likewise.
14232         * math/e_exp2l.c (__ieee754_exp2l): Use
14233         math_check_force_underflow_nonneg.
14234         * math/k_casinh.c (__kernel_casinh): Likewise.
14235         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14236         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14237         * math/s_catan.c (__catan): Use
14238         math_check_force_underflow_complex.
14239         * math/s_catanf.c (__catanf): Likewise.
14240         * math/s_catanh.c (__catanh): Likewise.
14241         * math/s_catanhf.c (__catanhf): Likewise.
14242         * math/s_catanhl.c (__catanhl): Likewise.
14243         * math/s_catanl.c (__catanl): Likewise.
14244         * math/s_ccosh.c (__ccosh): Likewise.
14245         * math/s_ccoshf.c (__ccoshf): Likewise.
14246         * math/s_ccoshl.c (__ccoshl): Likewise.
14247         * math/s_cexp.c (__cexp): Likewise.
14248         * math/s_cexpf.c (__cexpf): Likewise.
14249         * math/s_cexpl.c (__cexpl): Likewise.
14250         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
14251         * math/s_clog10.c (__clog10): Likewise.
14252         * math/s_clog10f.c (__clog10f): Likewise.
14253         * math/s_clog10l.c (__clog10l): Likewise.
14254         * math/s_clogf.c (__clogf): Likewise.
14255         * math/s_clogl.c (__clogl): Likewise.
14256         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
14257         * math/s_csinf.c (__csinf): Likewise.
14258         * math/s_csinh.c (__csinh): Likewise.
14259         * math/s_csinhf.c (__csinhf): Likewise.
14260         * math/s_csinhl.c (__csinhl): Likewise.
14261         * math/s_csinl.c (__csinl): Likewise.
14262         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
14263         * math/s_csqrtf.c (__csqrtf): Likewise.
14264         * math/s_csqrtl.c (__csqrtl): Likewise.
14265         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
14266         * math/s_ctanf.c (__ctanf): Likewise.
14267         * math/s_ctanh.c (__ctanh): Likewise.
14268         * math/s_ctanhf.c (__ctanhf): Likewise.
14269         * math/s_ctanhl.c (__ctanhl): Likewise.
14270         * math/s_ctanl.c (__ctanl): Likewise.
14271         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
14272         instead of volatile.
14273         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
14274         math_check_force_underflow.
14275         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14276         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
14277         volatile when forcing underflow.
14278         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
14279         math_check_force_underflow_nonneg.
14280         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
14281         Likewise.
14282         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
14283         math_check_force_underflow.
14284         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14285         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14286         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14287         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
14288         math_check_force_underflow_nonneg.
14289         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
14290         math_check_force_underflow.
14291         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
14292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
14293         instead of volatile.
14294         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
14295         math_check_force_underflow.
14296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14297         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
14298         math_check_force_underflow_nonneg.
14299         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
14300         math_check_force_underflow.
14301         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
14302         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14303         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
14304         math_check_force_underflow_nonneg.
14305         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14306         Likewise.
14307         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
14308         math_check_force_underflow.
14309         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14310         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14311         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
14312         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
14313         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
14314         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
14315         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
14316         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
14317         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14318         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
14319         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
14320         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
14321         Likewise.
14322         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
14323         math_check_force_underflow_nonneg.
14324         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14325         Likewise.
14326         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
14327         math_check_force_underflow.
14328         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14329         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
14330         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
14331         Likewise.
14332         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
14333         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
14334         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
14335         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
14336         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
14337         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
14338         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
14339         instead of volatile.
14340         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
14341         math_check_force_underflow.
14342         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
14343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
14344         math_check_force_underflow.
14345         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
14346         Likewise.
14347         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14348         Use math_check_force_underflow_nonneg.
14349         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
14350         math_check_force_underflow.
14351         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14352         Likewise.
14353         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
14354         Likewise.
14355         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14356         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14357         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14358         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14359         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
14360         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14361         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
14362         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
14363         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
14364         math_check_force_underflow_nonneg.
14365         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
14366         math_check_force_underflow.
14367         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14368         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
14369         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
14370         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
14371         math_check_force_underflow_nonneg.
14372         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
14373         math_check_force_underflow.
14374         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
14375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
14376         instead of volatile.
14377         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
14378         math_check_force_underflow.
14380         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
14381         * stdlib/strtod_l.c: Include <math_private.h>.
14382         (overflow_value): Use math_narrow_eval.
14383         (underflow_value): Likewise.
14384         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14385         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14386         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
14387         (__ieee754_gamma_r): Likewise.
14388         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
14389         Likewise.
14390         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
14391         Likewise.
14392         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
14393         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
14394         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
14395         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
14396         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
14397         (__ieee754_gammaf_r): Likewise.
14398         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14399         Likewise.
14400         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
14401         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
14402         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
14403         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
14404         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
14405         volatile.
14406         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
14407         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
14408         math_narrow_eval.
14409         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14410         Likewise.
14411         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14412         Likewise.
14413         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
14414         Likewise.
14415         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
14416         volatile.
14417         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
14418         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
14419         math_narrow_eval.
14420         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14421         Likewise.
14422         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14423         Likewise.
14425 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
14427         * nptl/Versions: Remove ignored symbols.
14429 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14431         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
14432         * nss/Makefile (tests): Update.
14434 2015-09-22  Florian Weimer  <fweimer@redhat.com>
14436         * nss/bug18287.c: New file.
14437         * nss/Makefile (tests): Add bug18287.
14439 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14441         * mach/Versions (__mach_host_self_): Add symbol.
14443 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14445         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
14446         vm_page_size.
14448 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14450         Really fix sysdeps/i386/fpu/s_scalbn.S build
14452         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
14453         (libc: GLIBC_2_22): Remove unused version set.
14455 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14457         * config.make.in (enable-timezone-tools): New variable.
14458         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
14459         (enable_timezone_tools): Export to generated files.
14460         * configure: Regenerate.
14461         * INSTALL: Regenerate.
14462         * manual/install.texi (--disable-timezone-tools): Document new flag.
14463         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
14464         ifeq ($(enable-timezone-tools),yes) check.
14466 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14468         * timezone/Makefile: Revert previous change.
14470         [BZ #18980]
14471         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
14472         (DEFINE_DBL_MIN): Likewise.
14473         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14474         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14475         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14476         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14477         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14478         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14479         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14480         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14481         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14482         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14483         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14484         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14485         (flt_min): Replace with use of DEFINE_FLT_MIN.
14486         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14487         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14488         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14489         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14490         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14491         (flt_min): Replace with use of DEFINE_FLT_MIN.
14492         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14493         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14494         (flt_min): Replace with use of DEFINE_FLT_MIN.
14495         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14496         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14497         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14498         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14499         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14500         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14501         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14502         (__ieee754_pow): Use DBL_NARROW_EVAL.
14503         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14504         (__ieee754_powf): Use FLT_NARROW_EVAL.
14505         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14506         (__ieee754_expf_sse2): Convert double-precision result to single
14507         precision.
14508         * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14512         * timezone/Makefile: Ignore unused variable errors due to private.h
14513         (time_t_min) and (time_t_max).
14514         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14515         Likewise.
14517 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #18981]
14520         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14521         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14522         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14523         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14524         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14525         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14526         (__scalbn): Use DBL_NARROW_EVAL.
14527         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14528         (__scalbnf): Use FLT_NARROW_EVAL.
14530 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14532         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14533         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14534         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14535         * stdio-common/printf_fp.c (___printf_fp):
14536         Use signbit to get the sign. Use isinf macro to allow inlining.
14537         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14538         * stdio-common/printf_size.c (__printf_size): Likewise.
14540 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14542         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14544 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14546         [BZ #18980]
14547         * sysdeps/generic/math_private.h: Include <float.h>.
14548         (math_narrow_eval): New macro.
14549         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14550         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14551         math_narrow_eval on overflowing return value.
14552         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14553         Likewise.
14554         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14555         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14556         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14557         Likewise.
14558         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14560 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14562         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14563         * math/Makefile: Remove isinf_ns.c.
14564         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14565         * math/multc3.c (__multc3): Likewise.
14566         * math/s_casin.c (__casin): Likewise.
14567         * math/s_casinf.c (__casinf): Likewise.
14568         * math/s_casinl.c (__casinl): Likewise.
14569         * math/s_cproj.c (__cproj): Likewise.
14570         * math/s_cprojf.c (__cprojf): Likewise.
14571         * math/s_cprojl.c (__cprofl): Likewise.
14572         * math/s_ctan.c (__ctan): Likewise.
14573         * math/s_ctanf.c (__ctanf): Likewise.
14574         * math/s_ctanh.c (__ctanh): Likewise.
14575         * math/s_ctanhf.c (__ctanhf): Likewise.
14576         * math/s_ctanhl.c (__ctanhl): Likewise.
14577         * math/s_ctanl.c (__ctanl): Likewise.
14578         * math/w_fmod.c (__fmod): Likewise.
14579         * math/w_fmodf.c (__fmodf): Likewise.
14580         * math/w_fmodl.c (_fmodl): Likewise.
14581         * math/w_remainder.c (__remainder): Likewise.
14582         * math/w_remainderf.c (__remainderf): Likewise.
14583         * math/w_remainderl.c (__remainderl): Likewise.
14584         * math/w_scalb.c (__scalb): Likewise.
14585         * math/w_scalbf.c (__scalbf): Likewise.
14586         * math/w_scalbl.c (__scalbl): Likewise.
14587         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14588         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14589         with isinf.
14590         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14592         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14593         __isinf_nsf with isinf.
14594         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14595         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14596         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14597         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14598         with isinf.
14599         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14600         __isinf_nsl with isinf.
14601         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14602         with isinf.
14603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14604         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14605         __isinf_nsl with isinf.
14606         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14607         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14608         with isinf.
14610 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14612         * resolv/base64.c (rcsid): Remove unused static.
14613         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14614         static.  (tqpi1): Likewise.
14615         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14616         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14617         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14618         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14619         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14620         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14621         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14622         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14623         Likewise.
14625 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14627         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14628         <nptl/pthreadP.h>.
14629         (_longjmp_unwind): Use __libc_ptf_call.
14630         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14632 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14634         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14635         * sysdeps/arm/__longjmp.S: Likewise.
14637 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14639         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14640         Use __builtin_signbit.
14641         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14642         Use __builtin_signbitf.
14643         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14644         Use __builtin_signbitl.
14645         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14646         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14648 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14650         [BZ #15367]
14651         [BZ #17441]
14653         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14654         * math/math.h (fpclassify): Use __builtin_fpclassify when
14655         available.  (signbit): Use __builtin_signbit(f/l).
14656         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14657         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14658         (isinf): Use __builtin_isinf_sign.
14660 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14662         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14663         * benchtests/bench-math-inlines.c: New benchmark.
14664         * benchtests/bench-util.h: New file.
14665         * benchtests/bench-util.c: New file.
14666         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14668 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14670         * elf/tst-dlmopen1.c: Define TEST_SO.
14671         (do_test): Use TEST_SO.
14673         * elf/dl-load.c: Include libc-internal.h.
14674         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14676 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14678         [BZ #17887]
14679         * time/strptime_l.c (__strptime_internal): Make %z accept
14680         [+-]HH:MM time zones.
14682 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14684         [BZ #17886]
14685         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14686         valid time zone.
14688 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14690         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14691         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14692         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14693         (__ASSUME_FDATASYNC): Delete.
14695 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14697         * conform/linknamespace.pl: Require weak undefined symbols to be
14698         in the standard namespace.
14699         (%strong_syms): Rename to %seen_syms.
14700         (%strong_seen): Rename to %seen_where.
14702 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14704         [BZ #18970]
14705         * misc/error.c (error): Replace pthread_setcancelstate with
14706         __pthread_setcancelstate.
14707         (error_at_line): Likewise.
14708         * posix/wordexp.c (parse_comm): Likewise.
14709         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14710         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14711         (__pthread_setcancelstate): This.
14712         (pthread_setcancelstate): Add an alias.
14713         * nptl/nptl-init.c (pthread_functions): Replace
14714         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14715         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14716         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14717         hidden_proto.
14718         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14719         it with hidden_def.
14720         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14721         (pthread_setcancelstate): Renamed to ...
14722         (__pthread_setcancelstate): This.
14723         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14724         __libc_ptf_call with __pthread_setcancelstate.
14726 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14727             Andreas Schwab  <schwab@suse.de>
14729         [BZ #17118]
14730         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14731         result when imaginary part of argument is infinite using sine and
14732         cosine.
14733         * math/s_ctanf.c (__ctanf): Likewise.
14734         * math/s_ctanl.c (__ctanl): Likewise.
14735         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14736         of result when real part of argument is infinite using sine and
14737         cosine.
14738         * math/s_ctanhf.c (__ctanhf): Likewise.
14739         * math/s_ctanhl.c (__ctanhl): Likewise.
14740         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14741         (ctanh_test_data): Add more tests of ctanh.
14743 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14745         [BZ #15384]
14746         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14747         bit-mask as in subtraction.
14748         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14749         Likewise.
14750         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14751         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14752         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14754         [BZ #18951]
14755         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14756         underflow exception for small results.
14757         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14758         Likewise.
14759         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14760         Likewise.
14761         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14762         Likewise.
14763         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14764         Likewise.
14765         * math/auto-libm-test-in: Add more tests of tgamma.
14766         * math/auto-libm-test-out: Regenerated.
14768 2015-09-17  Andreas Schwab  <schwab@suse.de>
14770         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14772 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14774         [BZ #18977]
14775         * math/bits/mathcalls.h
14776         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14777         not declare.
14778         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14779         Likewise.
14780         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14781         Likewise.
14782         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14783         Likewise.
14784         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14785         Likewise.
14786         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14787         Likewise.
14788         * conform/data/math.h-data
14789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14790         function.
14791         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14792         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14793         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14794         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14795         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14796         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14797         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14798         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14799         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14800         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14801         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14803         [BZ #6803]
14804         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14805         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14806         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14807         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14808         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14809         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14810         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14811         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14812         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14813         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14814         Likewise.
14815         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14816         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14817         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14818         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14819         long_double_symbol calls.
14820         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14821         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14822         strong alias of __ldexpl.
14823         (scalbnl): Define using long_double_symbol.
14824         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14825         Remove alias.
14826         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14827         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14828         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14829         (scalbln_test_data): Add more errno expectations.
14831 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14833         Cache the host port like we cache the task port.  This way we do not
14834         need to call the kernel just to get the port.  Furthermore, we no
14835         longer increase the reference count on every invocation of
14836         `mach_host_self'.
14838         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14839         Protect declarations against the macro expansion.
14840         * mach/mach_init.c (__mach_host_self_): New variable.
14841         (mach_init): Initialize `__mach_host_self_'.
14842         * mach/mach_init.h (__mach_host_self_): New declaration.
14843         (__mach_host_self, mach_host_self): New macros.
14844         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14845         Release reference.
14847 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14849         [BZ #4404]
14850         * po/de.po: Update from Translation Project.
14852         [BZ #16415]
14853         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14854         (__expm1l): Remove code to handle positive infinity and overflow.
14855         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14856         variable.
14857         (__expm1l): Remove code to handle positive infinity and overflow.
14859 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14860             Paul Pluzhnikov  <ppluzhnikov@google.com>
14862         [BZ #18872]
14863         * stdio-common/Makefile (tst-printf-bz18872): New test.
14864         (tst-printf-bz18872-mem.out): Likewise.
14865         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14866         * stdio-common/vfprintf.c: Fix memory leaks.
14868 2015-09-16  Andreas Schwab  <schwab@suse.de>
14870         [BZ #17244]
14871         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14872         Remove extra va_start/va_end calls.
14874         [BZ #17243]
14875         * posix/execl.c (execl): Add missing va_end.
14876         * posix/execle.c (execle): Likewise.
14877         * posix/execlp.c (execlp): Likewise.
14879 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14881         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14882         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14884 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14886         [BZ #18967]
14887         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14888         undefine around includes of <bits/mathcalls.h>.
14889         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14890         not declare function.
14891         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14892         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14893         (scalb): Likewise.
14894         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14895         not define macro.
14896         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14897         variable.
14898         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14899         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14900         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14902         [BZ #18857]
14903         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14904         return non-finite argument without doing ordered comparisons on
14905         it.
14907         [BZ #16296]
14908         * math/fenv.h (fegetround): Use __attribute_pure__.
14909         * include/fenv.h (__fegetround): Likewise.
14911         [BZ #18595]
14912         * math/s_ctan.c (__ctan): Force underflow exception for results
14913         whose real or imaginary part has small absolute value.
14914         * math/s_ctanf.c (__ctanf): Likewise.
14915         * math/s_ctanh.c (__ctanh): Likewise.
14916         * math/s_ctanhf.c (__ctanhf): Likewise.
14917         * math/s_ctanhl.c (__ctanhl): Likewise.
14918         * math/s_ctanl.c (__ctanl): Likewise.
14919         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14920         and ctanh.  Add more tests of ctan and ctanh.
14922         [BZ #15918]
14923         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14924         handling of cases where one argument is an infinity.
14926         [BZ #18875]
14927         [BZ #18966]
14928         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14929         (MO): New macro.
14930         (__ieee754_exp10): For small results, force underflow exception
14931         and remove excess range and precision from return value.
14932         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14933         (MO): New macro.
14934         (__ieee754_exp10f): For small results, force underflow exception
14935         and remove excess range and precision from return value.
14936         * math/auto-libm-test-in: Add more tests of exp10.
14937         * math/auto-libm-test-out: Regenerated.
14939 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14941         [BZ #18875]
14942         [BZ #18961]
14943         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14944         (MO): New macro.
14945         (__ieee754_exp): For small results, force underflow exception and
14946         remove excess range and precision from return value.
14947         (__exp_finite): Likewise.
14948         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14949         (MO): New macro.
14950         (__ieee754_expf): For small results, force underflow exception and
14951         remove excess range and precision from return value.
14952         (__expf_finite): Likewise.
14953         * math/auto-libm-test-in: Add more tests of exp.
14954         * math/auto-libm-test-out: Regenerated.
14956         [BZ #16521]
14957         [BZ #18875]
14958         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14959         small results.
14960         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14961         (MO): New macro.
14962         (__ieee754_exp2): For small results, force underflow exception and
14963         remove excess range and precision from return value.
14964         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14965         (MO): New macro.
14966         (__ieee754_exp2f): For small results, force underflow exception
14967         and remove excess range and precision from return value.
14968         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14969         (MO): New macro.
14970         (__ieee754_exp2l): Force underflow exception for small results.
14971         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14972         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14973         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14974         (MO): New macro.
14975         (__ieee754_exp2l): Force underflow exception for small results.
14976         * math/auto-libm-test-in: Add more tests or exp2.
14977         * math/auto-libm-test-out: Regenerated.
14979 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14981         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14983         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14984         /dev/null.
14986 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14988         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14989         io fs process)): Drop spurious backslash.
14991 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14993         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14994         Use sysinfo system call instead of parsing /proc/meminfo.
14995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14996         Likewise.
14998 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
15000         [BZ #16985]
15001         * programs/localedef.c (main): Display argv[remaining] when
15002         output_path is NULL.
15004 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15006         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15007         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
15008         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
15009         tanh.
15010         * math/auto-libm-test-out: Regenerated.
15011         * sysdeps/i386/fpu/libm-test-ulps: Update.
15012         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15013         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15016 2015-09-11  Roland McGrath  <roland@hack.frob.com>
15018         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
15019         Use 'override' keyword to freeze the value here, preventing
15020         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
15022 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
15024         [BZ #14912]
15025         * sysdeps/aarch64/bits/atomic.h: Move to ...
15026         * sysdeps/aarch64/atomic-machine.h: ...here.
15027         (_AARCH64_BITS_ATOMIC_H): Rename macro to
15028         _AARCH64_ATOMIC_MACHINE_H.
15029         * sysdeps/alpha/bits/atomic.h: Move to ...
15030         * sysdeps/alpha/atomic-machine.h: ...here.
15031         * sysdeps/arm/bits/atomic.h: Move to ...
15032         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
15033         * bits/atomic.h: Move to ...
15034         * sysdeps/generic/atomic-machine.h: ...here.
15035         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15036         * sysdeps/i386/bits/atomic.h: Move to ...
15037         * sysdeps/i386/atomic-machine.h: ...here.
15038         * sysdeps/ia64/bits/atomic.h: Move to ...
15039         * sysdeps/ia64/atomic-machine.h: ...here.
15040         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
15041         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
15042         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15043         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
15044         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
15045         * sysdeps/microblaze/bits/atomic.h: Move to ...
15046         * sysdeps/microblaze/atomic-machine.h: ...here.
15047         * sysdeps/mips/bits/atomic.h: Move to ...
15048         * sysdeps/mips/atomic-machine.h: ...here.
15049         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
15050         * sysdeps/powerpc/bits/atomic.h: Move to ...
15051         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
15052         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
15053         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
15054         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
15055         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
15056         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
15057         <atomic-machine.h> instead of <bits/atomic.h>.
15058         * sysdeps/s390/bits/atomic.h: Move to ...
15059         * sysdeps/s390/atomic-machine.h: ...here.
15060         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
15061         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
15062         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15063         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
15064         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
15065         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
15066         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
15067         * sysdeps/tile/bits/atomic.h: Move to ...
15068         * sysdeps/tile/atomic-machine.h: ...here.
15069         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
15070         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
15071         <sysdeps/tile/atomic-machine.h> instead of
15072         <sysdeps/tile/bits/atomic.h>.
15073         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15074         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
15075         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
15076         <sysdeps/tile/atomic-machine.h> instead of
15077         <sysdeps/tile/bits/atomic.h>.
15078         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15079         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
15080         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
15081         <sysdeps/arm/atomic-machine.h> instead of
15082         <sysdeps/arm/bits/atomic.h>.
15083         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
15084         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
15085         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15086         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
15087         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
15088         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
15089         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
15090         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
15091         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
15092         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
15093         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
15094         * sysdeps/x86_64/bits/atomic.h: Move to ...
15095         * sysdeps/x86_64/atomic-machine.h: ...here.
15096         * include/atomic.h: Include <atomic-machine.h> instead of
15097         <bits/atomic.h>.
15099         * sysdeps/mips/mips32/libm-test-ulps: Update.
15100         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15102         [BZ #18952]
15103         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
15104         not convert non-integer negative arguments to int to determine the
15105         value of signgam.
15106         * math/auto-libm-test-in: Add more tests of lgamma.
15107         * math/auto-libm-test-out: Regenerated.
15109         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
15110         cosh, csqrt, erfc, expm1 and lgamma.
15111         * math/auto-libm-test-out: Regenerated.
15112         * sysdeps/i386/fpu/libm-test-ulps: Update.
15113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15115 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
15117         [BZ #2542]
15118         [BZ #2543]
15119         [BZ #2558]
15120         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
15121         __lgamma_neg for arguments from -28.0 to -2.0.
15122         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
15123         __lgamma_negf for arguments from -15.0 to -2.0.
15124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15125         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
15126         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
15127         Call __lgamma_negl for arguments from -33.0 to -2.0.
15128         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
15129         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15130         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
15131         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
15132         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
15133         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15134         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
15135         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
15136         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
15137         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15138         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
15139         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
15140         (__lgamma_neg): Likewise.
15141         (__lgamma_negl): Likewise.
15142         (__lgamma_product): Likewise.
15143         (__lgamma_productl): Likewise.
15144         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
15145         * math/auto-libm-test-in: Add more tests of lgamma.
15146         * math/auto-libm-test-out: Regenerated.
15147         * sysdeps/i386/fpu/libm-test-ulps: Update.
15148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15150 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
15152         [BZ #18675]
15153         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
15155 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
15157         [BZ #14912]
15158         * bits/libc-lock.h: Move to ...
15159         * sysdeps/generic/libc-lock.h: ...here.
15160         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15161         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
15162         * sysdeps/mach/hurd/libc-lock.h: ...here.
15163         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15164         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
15165         * sysdeps/mach/bits/libc-lock.h: Move to ...
15166         * sysdeps/mach/libc-lock.h: ...here.
15167         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15168         * sysdeps/nptl/bits/libc-lock.h: Move to ...
15169         * sysdeps/nptl/libc-lock.h: ...here.
15170         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
15171         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
15172         * sysdeps/nptl/libc-lockP.h: ...here.
15173         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
15174         * crypt/crypt_util.c: Include <libc-lock.h> instead of
15175         <bits/libc-lock.h>.
15176         * dirent/scandir-tail.c: Likewise.
15177         * dlfcn/dlerror.c: Likewise.
15178         * elf/dl-close.c: Likewise.
15179         * elf/dl-iteratephdr.c: Likewise.
15180         * elf/dl-lookup.c: Likewise.
15181         * elf/dl-open.c: Likewise.
15182         * elf/dl-support.c: Likewise.
15183         * elf/dl-writev.h: Likewise.
15184         * elf/rtld.c: Likewise.
15185         * grp/fgetgrent.c: Likewise.
15186         * gshadow/fgetsgent.c: Likewise.
15187         * gshadow/sgetsgent.c: Likewise.
15188         * iconv/gconv_conf.c: Likewise.
15189         * iconv/gconv_db.c: Likewise.
15190         * iconv/gconv_dl.c: Likewise.
15191         * iconv/gconv_int.h: Likewise.
15192         * iconv/gconv_trans.c: Likewise.
15193         * include/link.h: Likewise.
15194         * inet/getnameinfo.c: Likewise.
15195         * inet/getnetgrent.c: Likewise.
15196         * inet/getnetgrent_r.c: Likewise.
15197         * intl/bindtextdom.c: Likewise.
15198         * intl/dcigettext.c: Likewise.
15199         * intl/finddomain.c: Likewise.
15200         * intl/gettextP.h: Likewise.
15201         * intl/loadmsgcat.c: Likewise.
15202         * intl/localealias.c: Likewise.
15203         * intl/textdomain.c: Likewise.
15204         * libidn/idn-stub.c: Likewise.
15205         * libio/libioP.h: Likewise.
15206         * locale/duplocale.c: Likewise.
15207         * locale/freelocale.c: Likewise.
15208         * locale/newlocale.c: Likewise.
15209         * locale/setlocale.c: Likewise.
15210         * login/getutent_r.c: Likewise.
15211         * login/getutid_r.c: Likewise.
15212         * login/getutline_r.c: Likewise.
15213         * login/utmp-private.h: Likewise.
15214         * login/utmpname.c: Likewise.
15215         * malloc/mtrace.c: Likewise.
15216         * misc/efgcvt.c: Likewise.
15217         * misc/error.c: Likewise.
15218         * misc/fstab.c: Likewise.
15219         * misc/getpass.c: Likewise.
15220         * misc/mntent.c: Likewise.
15221         * misc/syslog.c: Likewise.
15222         * nis/nis_call.c: Likewise.
15223         * nis/nis_callback.c: Likewise.
15224         * nis/nss-default.c: Likewise.
15225         * nis/nss_compat/compat-grp.c: Likewise.
15226         * nis/nss_compat/compat-initgroups.c: Likewise.
15227         * nis/nss_compat/compat-pwd.c: Likewise.
15228         * nis/nss_compat/compat-spwd.c: Likewise.
15229         * nis/nss_nis/nis-alias.c: Likewise.
15230         * nis/nss_nis/nis-ethers.c: Likewise.
15231         * nis/nss_nis/nis-grp.c: Likewise.
15232         * nis/nss_nis/nis-hosts.c: Likewise.
15233         * nis/nss_nis/nis-network.c: Likewise.
15234         * nis/nss_nis/nis-proto.c: Likewise.
15235         * nis/nss_nis/nis-pwd.c: Likewise.
15236         * nis/nss_nis/nis-rpc.c: Likewise.
15237         * nis/nss_nis/nis-service.c: Likewise.
15238         * nis/nss_nis/nis-spwd.c: Likewise.
15239         * nis/nss_nisplus/nisplus-alias.c: Likewise.
15240         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
15241         * nis/nss_nisplus/nisplus-grp.c: Likewise.
15242         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
15243         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
15244         * nis/nss_nisplus/nisplus-network.c: Likewise.
15245         * nis/nss_nisplus/nisplus-proto.c: Likewise.
15246         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
15247         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
15248         * nis/nss_nisplus/nisplus-service.c: Likewise.
15249         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
15250         * nis/ypclnt.c: Likewise.
15251         * nptl/libc_pthread_init.c: Likewise.
15252         * nss/getXXbyYY.c: Likewise.
15253         * nss/getXXent.c: Likewise.
15254         * nss/getXXent_r.c: Likewise.
15255         * nss/nss_db/db-XXX.c: Likewise.
15256         * nss/nss_db/db-netgrp.c: Likewise.
15257         * nss/nss_db/nss_db.h: Likewise.
15258         * nss/nss_files/files-XXX.c: Likewise.
15259         * nss/nss_files/files-alias.c: Likewise.
15260         * nss/nsswitch.c: Likewise.
15261         * posix/regex_internal.h: Likewise.
15262         * posix/wordexp.c: Likewise.
15263         * pwd/fgetpwent.c: Likewise.
15264         * resolv/res_hconf.c: Likewise.
15265         * resolv/res_libc.c: Likewise.
15266         * shadow/fgetspent.c: Likewise.
15267         * shadow/lckpwdf.c: Likewise.
15268         * shadow/sgetspent.c: Likewise.
15269         * socket/opensock.c: Likewise.
15270         * stdio-common/reg-modifier.c: Likewise.
15271         * stdio-common/reg-printf.c: Likewise.
15272         * stdio-common/reg-type.c: Likewise.
15273         * stdio-common/vfprintf.c: Likewise.
15274         * stdio-common/vfscanf.c: Likewise.
15275         * stdlib/abort.c: Likewise.
15276         * stdlib/cxa_atexit.c: Likewise.
15277         * stdlib/fmtmsg.c: Likewise.
15278         * stdlib/random.c: Likewise.
15279         * stdlib/setenv.c: Likewise.
15280         * string/strsignal.c: Likewise.
15281         * sunrpc/auth_none.c: Likewise.
15282         * sunrpc/bindrsvprt.c: Likewise.
15283         * sunrpc/create_xid.c: Likewise.
15284         * sunrpc/key_call.c: Likewise.
15285         * sunrpc/rpc_thread.c: Likewise.
15286         * sysdeps/arm/backtrace.c: Likewise.
15287         * sysdeps/generic/ldsodefs.h: Likewise.
15288         * sysdeps/generic/stdio-lock.h: Likewise.
15289         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
15290         * sysdeps/i386/backtrace.c: Likewise.
15291         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
15292         * sysdeps/m68k/backtrace.c: Likewise.
15293         * sysdeps/mach/hurd/cthreads.c: Likewise.
15294         * sysdeps/mach/hurd/dirstream.h: Likewise.
15295         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15296         * sysdeps/nptl/malloc-machine.h: Likewise.
15297         * sysdeps/nptl/stdio-lock.h: Likewise.
15298         * sysdeps/posix/dirstream.h: Likewise.
15299         * sysdeps/posix/getaddrinfo.c: Likewise.
15300         * sysdeps/posix/system.c: Likewise.
15301         * sysdeps/pthread/aio_suspend.c: Likewise.
15302         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15303         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15304         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15305         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
15306         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
15307         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
15308         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
15309         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
15310         * sysdeps/unix/sysv/linux/system.c: Likewise.
15311         * sysdeps/x86_64/backtrace.c: Likewise.
15312         * time/alt_digit.c: Likewise.
15313         * time/era.c: Likewise.
15314         * time/tzset.c: Likewise.
15315         * wcsmbs/wcsmbsload.c: Likewise.
15316         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
15317         instead of <bits/libc-lock.h> in comment.
15319 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
15321         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
15322         Only use .set mips2 if the current ISA is below mips2.
15323         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
15324         Likewise.
15325         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
15326         mips32r2 if the current ISA is below mips32r2.
15327         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
15328         (TLS_IE): Updated to use the TLD_RDHWR macro.
15329         (TLS_LE): Likewise.
15330         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
15331         __ASSEMBLER__ condition.
15333 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15335         Fix parallel build of before-compile targets.
15337         * sysdeps/mach/Makefile ($(patsubst
15338         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
15339         mach-before-compile target.
15340         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15341         io fs process)): Move rule to dedicated hurd-before-compile target.
15343 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15345         Fix rules generating headers in hurd/ and mach/ when initial make call
15346         has subdir= explicitly set.
15348         * sysdeps/mach/Makefile ($(patsubst
15349         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
15350         calling $(MAKE).
15351         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
15352         io fs process)): Force subdir to hurd when calling $(MAKE).
15353         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
15354         subdir to mach when calling $(MAKE).
15356 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
15358         Check sysheaders when looking for Mach and Hurd headers
15360         * sysdeps/mach/configure.ac: Add sysheaders check.
15361         * sysdeps/mach/configure: Regenerate.
15362         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
15363         * sysdeps/mach/hurd/configure: Regenerate.
15365 2015-09-04  Roland McGrath  <roland@hack.frob.com>
15367         [BZ #18921]
15368         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
15369         Fix inverted sense of test of 'o_directory_works' value.
15370         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
15371         Bernhard Voelker <mail@bernhard-voelker.de>.
15373 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15375         [BZ #14912]
15376         * bits/linkmap.h: Move to ...
15377         * sysdeps/generic/linkmap.h: ...here.
15378         * sysdeps/aarch64/bits/linkmap.h: Move to ...
15379         * sysdeps/aarch64/linkmap.h: ...here.
15380         * sysdeps/arm/bits/linkmap.h: Move to ...
15381         * sysdeps/arm/linkmap.h: ...here.
15382         * sysdeps/hppa/bits/linkmap.h: Move to ...
15383         * sysdeps/hppa/linkmap.h: ...here.
15384         * sysdeps/ia64/bits/linkmap.h: Move to ...
15385         * sysdeps/ia64/linkmap.h: ...here.
15386         * sysdeps/mips/bits/linkmap.h: Move to ...
15387         * sysdeps/mips/linkmap.h: ...here.
15388         * sysdeps/s390/bits/linkmap.h: Move to ...
15389         * sysdeps/s390/linkmap.h: ...here.
15390         * sysdeps/sh/bits/linkmap.h: Move to ...
15391         * sysdeps/sh/linkmap.h: ...here.
15392         * sysdeps/x86/bits/linkmap.h: Move to ...
15393         * sysdeps/x86/linkmap.h: ...here.
15394         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
15396 2015-09-04  Andreas Schwab  <schwab@suse.de>
15398         [BZ #18635]
15399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
15400         (__makecontext): Terminate FDE before return label.
15401         (__novec_makecontext): Likewise.
15403 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15405         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
15406         first member of struct sv in syscall macro.
15408 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
15410         [BZ #14912]
15411         * bits/stdio-lock.h: Move to ...
15412         * sysdeps/generic/stdio-lock.h: ...here.
15413         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15414         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
15415         * sysdeps/nptl/stdio-lock.h: ...here.
15416         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
15417         * include/libio.h: Include <stdio-lock.h> instead of
15418         <bits/stdio-lock.h>.
15419         * sysdeps/nptl/fork.c: Likewise.
15420         * sysdeps/pthread/flockfile.c: Likewise.
15421         * sysdeps/pthread/ftrylockfile.c: Likewise.
15422         * sysdeps/pthread/funlockfile.c: Likewise.
15424         [BZ #14912]
15425         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
15426         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
15427         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
15428         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
15429         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
15430         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
15431         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
15433 2015-09-03  Roland McGrath  <roland@hack.frob.com>
15435         * elf/Makefile (test-xfail-tst-protected1a): New variable.
15436         (test-xfail-tst-protected1b): New variable.
15438 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
15440         [BZ #14912]
15441         * bits/libc-tsd.h: Move to ...
15442         * sysdeps/generic/libc-tsd.h: ...here.
15443         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
15444         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
15445         * sysdeps/mach/hurd/libc-tsd.h: ...here.
15446         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
15447         * include/ctype.h: Include <libc-tsd.h> instead of
15448         <bits/libc-tsd.h>.
15449         * include/rpc/rpc.h: Likewise.
15450         * locale/localeinfo.h: Likewise.
15451         * sunrpc/rpc_thread.c: Likewise.
15452         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
15453         * sysdeps/nptl/malloc-machine.h: Likewise.
15455         * Makefile (headers): Remove bits/libc-lock.h.
15456         * libio/Makefile (headers): Remove bits/stdio-lock.h.
15458         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
15459         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
15460         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
15461         <bits/stdio-lock.h>.
15462         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
15463         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
15465 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15467         [BZ #18757]
15468         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
15469         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
15470         BZ #18757.
15472 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15474         * malloc/mtrace.pl: Filter out NULL entries.
15476 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15478         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15479         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15480         macro.
15482         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15483         (TCP_CC_INFO): Likewise.
15484         (TCP_SAVE_SYN): Likewise.
15485         (TCP_SAVED_SYN): Likewise.
15487 2015-08-31  Brett Neumeier <brett@neumeier.us>
15489         [BZ #18870]
15490         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15492 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15494         [BZ #18873]
15495         Fix broken overflow check in posix_fallocate
15496         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15497         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15498         Fix parenthesization typo.
15500 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15502         [BZ #18887]
15503         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15504         tst-mntent-blank-passno.
15505         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15506         * misc/tst-mntent-blank-corrupt.c: New test.
15507         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15508         * misc/tst-mntent.c (do_test): ... here.
15510 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15512         [BZ #4404]
15513         * po/de.po: Fix SIGALRM typo.
15515 2015-08-28  James Perkins  <james@loowit.net>
15517         * time/tst-strptime2.c (tests): Replace short list of test
15518         strings for strptime %z specifier with code which exhaustively
15519         tests every combination of sign and 0 to 5 digits. Tests for
15520         rejection of invalid strings.
15522 2015-08-28  James Perkins  <james@loowit.net>
15524         [BZ #16141]
15525         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15526         calculation, removing incorrect decimal time rounding, so that
15527         all minute values result in a valid seconds value.
15528         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15529         offset range limits to UTC-99:59 through UTC+99:59 to parse
15530         current and historical use cases.
15531         * time/tst-strptime2.c (tests): Modify and add tests for the
15532         strptime %z input field descriptor, specifically conversion of
15533         minutes to seconds and validating an offset range of -9959 to
15534         +9959.
15536 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15537             Dmitry V. Levin  <ldv@altlinux.org>
15539         [BZ #18877]
15540         * posix/Makefile (tests): Add tst-mmap-offset.
15541         * posix/tst-mmap.c: New file.
15542         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15543         offset calculation for negative values.
15545 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15547         * sysdeps/i386/init-arch.h: New file.
15548         * sysdeps/i386/i586/init-arch.h: Likewise.
15549         * sysdeps/i386/i686/init-arch.h: Likewise.
15550         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15551         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15552         * sysdeps/x86/cpu-features.h (bit_I586): New.
15553         (bit_I686): Likewise.
15554         (bit_CX8): Likewise.
15555         (bit_CMOV): Likewise.
15556         (index_CX8): Likewise.
15557         (index_CMOV): Likewise.
15558         (index_I586): Likewise.
15559         (index_I686): Likewise.
15560         (reg_CX8): Likewise.
15561         (reg_CMOV): Likewise.
15562         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15563         available at compile-time.
15564         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15565         available at compile-time.
15566         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15567         (USE_I686): Likewise.
15569 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15571         * sysdeps/i386/bcopy.S: New file.
15572         * sysdeps/i386/bzero.S: Likewise.
15573         * sysdeps/i386/memcpy.S: Likewise.
15574         * sysdeps/i386/memmove.S: Likewise.
15575         * sysdeps/i386/mempcpy.S: Likewise.
15576         * sysdeps/i386/memset.S: Likewise.
15577         * sysdeps/i386/bzero.c: Removed.
15578         * sysdeps/i386/memset.c: Likewise.
15579         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15580         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15581         * sysdeps/i386/i586/memset_chk.S: Likewise.
15582         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15583         * sysdeps/i386/memcpy_chk.S: Here.
15584         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15585         * sysdeps/i386/memmove_chk.S: Here.
15586         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15587         * sysdeps/i386/mempcpy_chk.S: Likewise.
15588         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15589         * sysdeps/i386/memset_chk.S: Likewise.
15591 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15593         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15594         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15595         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15596         * soft-fp/fmadf4.c: Ditto.
15597         * soft-fp/fmatf4.c: Ditto.
15599 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15601         * sysdeps/i386/i586/Implies: Removed.
15602         * sysdeps/i386/i686/Implies: Likewise.
15604 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15606         * sysdeps/i386/i486/strlen.S: Moved to ...
15607         * sysdeps/i386/strlen.S: Here.
15609 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15611         * sysdeps/i386/i486/strcat.S: Moved to ...
15612         * sysdeps/i386/strcat.S: Here.
15614 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15616         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15617         * sysdeps/i386/pthread_spin_trylock.S: Here.
15618         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15619         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15621 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15623         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15624         * sysdeps/i386/string-inlines.c: Here.
15626 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15628         * sysdeps/i386/i486/htonl.S: Moved ...
15629         * sysdeps/i386/htonl.S: here.
15631 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15633         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15634         * sysdeps/i386/bits/atomic.h: Here.
15636 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15638         * sysdeps/i386/i486/Versions: Removed.
15640 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15642         [BZ #2898]
15643         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15644         Based on patch by Aurelien Jarno.
15646 2015-08-26  Stan Shebs  <stanshebs@google.com>
15648         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15649         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15651 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15653         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15654         * sysdeps/powerpc/dl-procinfo.c:
15655         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15656         feature so it shows when LD_SHOW_AUXV=1.
15658 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15660         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15661         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15662         definition.  ISA 2.07B no longer requires full sync.
15664 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15666         [BZ #18863]
15667         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15668         (si_call_addr): Define.
15669         (si_syscall): Define.
15670         (si_arch): Define.
15672 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15674         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15675         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15676         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15677         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15678         (__memset_zero_constant_len_parameter): New.
15679         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15680         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15681         (__memset_zero_constant_len_parameter): Don't define if
15682         __memset_chk or USE_AS_BZERO are defined.
15684         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15685         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15686         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15688         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15689         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15690         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15691         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15692         comments.
15693         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15694         -mno-mmx for $(all-rtld-routines).
15695         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15696         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15697         i386.
15699 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15701         * sysdeps/generic/unwind.h
15702         (_Unwind_Word): Use __mode__(__unwind_word__)
15703         instead of __mode__(__word__).
15704         (_Unwind_Sword): Likewise.
15706         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15707         (MAX_NEEDED_INPUT): New define.
15708         (MAX_NEEDED_OUTPUT): New define.
15710         * NEWS: New item for IBM z13 string optimizations.
15712         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15713         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15714         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15715         * sysdeps/s390/multiarch/Makefile
15716         (sysdep_routines): Add memrchr functions.
15717         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15718         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15720         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15721         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15722         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15723         * sysdeps/s390/multiarch/Makefile
15724         (sysdep_routines): Add wmemcmp functions.
15725         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15726         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15727         * benchtests/bench-wmemcmp.c: New File.
15728         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15730         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15731         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15732         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15733         * sysdeps/s390/multiarch/Makefile
15734         (sysdep_routines): Add wmemset functions.
15735         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15736         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15737         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15738         * string/test-memset.c: Add wmemset support.
15739         * wcsmbs/test-wmemset.c: New File.
15740         * wcsmbs/Makefile (strop-tests): Add wmemset.
15741         * benchtests/bench-memset.c: Add wmemset support.
15742         * benchtests/bench-wmemset.c: New File.
15743         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15745         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15746         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15747         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15748         * sysdeps/s390/multiarch/Makefile
15749         (sysdep_routines): Add memccpy functions.
15750         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15751         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15752         * string/memccpy.c: Use MEMCCPY if defined.
15754         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15755         * sysdeps/s390/multiarch/memchr.c: Likewise.
15756         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15757         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15758         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15759         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15760         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15761         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15762         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15763         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15764         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15765         and rawmemchr functions.
15766         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15767         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15768         and wmemchr.
15769         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15770         * string/test-memchr.c: Add wmemchr support.
15771         * wcsmbs/test-wmemchr.c: New File.
15772         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15773         * benchtests/bench-memchr.c: Add wmemchr support.
15774         * benchtests/bench-wmemchr.c: New File.
15775         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15777         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15778         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15779         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15780         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15781         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15782         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15783         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15784         wcscspn functions.
15785         * sysdeps/s390/multiarch/ifunc-impl-list.c
15786         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15787         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15788         * string/test-strcspn.c: Add wcscspn support.
15789         * wcsmbs/test-wcscspn.c: New File.
15790         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15791         * benchtests/bench-strcspn.c: Add wcscspn support.
15792         * benchtests/bench-wcscspn.c: New File.
15793         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15795         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15796         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15797         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15798         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15799         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15800         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15801         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15802         wcspbrk functions.
15803         * sysdeps/s390/multiarch/ifunc-impl-list.c
15804         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15805         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15806         * string/test-strpbrk.c: Add wcspbrk support.
15807         * wcsmbs/test-wcspbrk.c: New File.
15808         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15809         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15810         * benchtests/bench-wcspbrk.c: New File.
15811         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15813         * sysdeps/s390/multiarch/strspn-c.c: New File.
15814         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15815         * sysdeps/s390/multiarch/strspn.c: Likewise.
15816         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15817         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15818         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15819         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15820         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15821         wcsspn functions.
15822         * sysdeps/s390/multiarch/ifunc-impl-list.c
15823         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15824         * string/test-strspn.c: Add wcsspn support.
15825         * wcsmbs/test-wcsspn.c: New File.
15826         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15827         * benchtests/bench-strspn.c: Add wcsspn support.
15828         * benchtests/bench-wcsspn.c: New File.
15829         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15831         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15832         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15833         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15834         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15835         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15836         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15838         wcsrchr functions.
15839         * sysdeps/s390/multiarch/ifunc-impl-list.c
15840         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15841         * benchtests/bench-wcsrchr.c: New File.
15842         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15844         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15845         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15846         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15847         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15848         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15849         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15850         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15851         wcschrnul functions.
15852         * sysdeps/s390/multiarch/ifunc-impl-list.c
15853         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15854         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15855         * string/test-strchr.c: Add wcschrnul support.
15856         * wcsmbs/test-wcschrnul.c: New File.
15857         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15858         * benchtests/bench-strchr.c: Add wcschrnul support.
15859         * benchtests/bench-wcschrnul.c: New File.
15860         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15862         * sysdeps/s390/multiarch/strchr-c.c: New File.
15863         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15864         * sysdeps/s390/multiarch/strchr.c: Likewise.
15865         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15866         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15867         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15869         wcschr functions.
15870         * sysdeps/s390/multiarch/ifunc-impl-list.c
15871         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15872         * string/strchr.c (STRCHR): Define and use macro.
15873         * benchtests/bench-wcschr.c: New File.
15874         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15876         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15877         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15878         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15879         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15880         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15881         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15882         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15883         wcsncmp functions.
15884         * sysdeps/s390/multiarch/ifunc-impl-list.c
15885         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15886         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15887         * benchtests/bench-strncmp.c: Add wcsncmp support.
15888         * benchtests/bench-wcsncmp.c: New File.
15889         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15891         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15892         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15893         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15894         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15895         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15896         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15897         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15899         wcscmp functions.
15900         * sysdeps/s390/multiarch/ifunc-impl-list.c
15901         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15902         * string/strcmp.c (STRCMP): Define and use macro.
15903         * benchtests/bench-wcscmp.c: New File.
15904         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15905         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15906         instead of _HAVE_STRING_ARCH_memchr.
15908         * sysdeps/s390/multiarch/strncat-c.c: New File.
15909         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15910         * sysdeps/s390/multiarch/strncat.c: Likewise.
15911         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15912         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15913         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15915         wcsncat functions.
15916         * sysdeps/s390/multiarch/ifunc-impl-list.c
15917         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15918         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15919         * string/test-strncat.c: Add wcsncat support.
15920         * wcsmbs/test-wcsncat.c: New File.
15921         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15922         * benchtests/bench-strncat.c: Add wcsncat support.
15923         * benchtests/bench-wcsncat.c: New File.
15924         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15926         * sysdeps/s390/multiarch/strcat-c.c: New File.
15927         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15928         * sysdeps/s390/multiarch/strcat.c: Likewise.
15929         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15930         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15931         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15932         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15933         wcscat functions.
15934         * sysdeps/s390/multiarch/ifunc-impl-list.c
15935         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15936         * string/strcat.c (STRCAT): Define and use macro.
15937         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15938         * string/test-strcat.c: Add wcscat support.
15939         * wcsmbs/test-wcscat.c: New File.
15940         * wcsmbs/Makefile (strop-tests): Add wcscat.
15941         * benchtests/bench-strcat.c: Add wcscat support.
15942         * benchtests/bench-wcscat.c: New File.
15943         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15945         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15946         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15947         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15948         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15949         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15950         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15951         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15952         wcpncpy functions.
15953         * sysdeps/s390/multiarch/ifunc-impl-list.c
15954         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15955         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15956         * string/test-stpncpy.c: Add wcpncpy support.
15957         * wcsmbs/test-wcpncpy.c: New File.
15958         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15959         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15960         * benchtests/bench-wcpncpy.c: New File.
15961         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15963         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15964         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15965         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15966         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15967         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15968         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15969         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15970         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15971         wcsncpy functions.
15972         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15973         * sysdeps/s390/multiarch/ifunc-impl-list.c
15974         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15975         * string/test-strncpy.c: Add wcsncpy support.
15976         * wcsmbs/test-wcsncpy.c: New File.
15977         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15978         * benchtests/bench-strncpy.c: Add wcsncpy support.
15979         * benchtests/bench-wcsncpy.c: New File.
15980         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15982         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15983         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15984         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15985         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15986         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15987         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15988         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15989         wcpcpy functions.
15990         * string/stpcpy.c: Use STPCPY if defined.
15991         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15992         * sysdeps/s390/multiarch/ifunc-impl-list.c
15993         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15994         * string/test-stpcpy.c: Add wcpcpy support.
15995         * wcsmbs/test-wcpcpy.c: New File.
15996         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15997         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15998         * benchtests/bench-wcpcpy.c: New File.
15999         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
16001         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
16002         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16003         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
16004         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
16005         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
16006         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
16007         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
16008         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
16009         wcscpy functions.
16010         * sysdeps/s390/multiarch/ifunc-impl-list.c
16011         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
16012         * benchtests/bench-wcscpy.c: New File.
16013         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
16015         * sysdeps/s390/multiarch/strnlen-c.c: New File.
16016         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
16017         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16018         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
16019         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
16020         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
16021         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
16022         wcsnlen functions.
16023         * sysdeps/s390/multiarch/ifunc-impl-list.c
16024         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
16025         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
16026         * string/test-strnlen.c: Add wcsnlen support.
16027         * wcsmbs/test-wcsnlen.c: New File.
16028         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
16029         * benchtests/bench-strnlen.c: Add wcsnlen support.
16030         * benchtests/bench-wcsnlen.c: New File.
16031         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
16033         * sysdeps/s390/multiarch/Makefile: New File.
16034         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
16035         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
16036         * sysdeps/s390/multiarch/strlen.c: Likewise.
16037         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
16038         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
16039         * sysdeps/s390/multiarch/wcslen.c: Likewise.
16040         * string/strlen.c (STRLEN): Define and use macro.
16041         * sysdeps/s390/multiarch/ifunc-impl-list.c
16042         (IFUNC_VX_IMPL): New macro function.
16043         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
16044         * benchtests/Makefile (wcsmbs-bench): New variable.
16045         (string-bench-all): Added wcsmbs-bench.
16046         * benchtests/bench-wcslen.c: New File.
16048         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
16049         s390_vx_libc_ifunc2): New macro function.
16051         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
16052         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
16053         assembler support.
16054         * sysdeps/s390/configure: Regenerated.
16056         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
16057         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
16059         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
16060         * sysdeps/s390/dl-procinfo.h: Add vector capability.
16061         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
16063         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
16064         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
16065         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
16066         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
16067         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
16068         (memcmp, bcmp): Use __memcmp_default as alias source.
16069         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
16070         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
16071         Rename to __memcmp_default.
16072         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
16073         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
16074         (memcpy): Use __memcpy_default as alias source.
16075         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
16076         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
16077         Rename to __memcpy_default.
16078         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
16079         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
16080         (memset): Use __memset_default as alias source.
16081         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
16082         * sysdeps/s390/s390-32/memset.S (__memset_g5):
16083         Rename to __memset_default.
16084         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
16085         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
16086         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
16087         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
16088         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
16089         (memcmp, bcmp): Use __memcmp_default as alias source.
16090         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
16091         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
16092         Rename to __memcmp_default.
16093         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
16094         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
16095         (memcpy): Use __memcpy_default as alias source.
16096         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
16097         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
16098         Rename to __memcpy_default.
16099         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
16100         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
16101         (memset): Use __memset_default as alias source.
16102         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
16103         * sysdeps/s390/s390-64/memset.S (__memset_z900):
16104         Rename to __memset_default.
16105         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
16106         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
16108         [BZ #18610]
16109         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
16110         __ieee_instruction_pointer to __unused.
16111         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
16112         __ieee_instruction_pointer.
16113         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
16114         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
16115         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16116         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16117         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
16118         Mark dxc-field as reserved.
16120 2015-08-25  Roland McGrath  <roland@hack.frob.com>
16122         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
16123         if the weak reference is not null.
16125 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16127         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
16129         [BZ #11214]
16130         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
16132 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16134         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
16135         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
16136         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
16137         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
16138         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
16139         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
16140         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
16141         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
16142         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
16143         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
16144         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
16145         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
16146         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
16147         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
16148         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
16149         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
16150         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
16151         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
16153 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16155         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
16156         register other than r0 for tabort, it has special meaning.
16157         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
16158         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
16159         transaction before starting syscall.
16161 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16163         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
16165 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16167         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
16169         * sysdeps/x86_64/rtld-memcmp.c: Removed.
16170         * sysdeps/x86_64/rtld-memset.S: Likewise.
16171         * sysdeps/x86_64/rtld-strchr.S: Likewise.
16172         * sysdeps/x86_64/rtld-strlen.S: Likewise.
16173         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
16174         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
16176         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
16178 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
16180         * debug/strcpy_chk.c: Improve performance.
16181         * debug/stpcpy_chk.c: Likewise.
16182         * sysdeps/x86_64/strcpy_chk.S: Remove.
16183         * sysdeps/x86_64/stpcpy_chk.S: Remove.
16185         [BZ #18240]
16186         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
16188 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
16190         [BZ #15128]
16191         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
16192         ifuncmain8.
16193         (modules-names): Add ifuncmod8.
16194         ($(objpfx)ifuncmain8): New rule.
16195         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
16196         <cpuid.h>.
16197         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
16198         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
16199         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
16200         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
16201         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
16202         * sysdeps/x86_64/dl-trampoline.h: Likewise.
16203         * sysdeps/x86_64/ifuncmain8.c: New file.
16204         * sysdeps/x86_64/ifuncmod8.c: Likewise.
16205         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
16206         Removed.
16207         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
16208         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
16209         Change rtld_savespace_sse to __glibc_unused2.
16210         (RTLD_CHECK_FOREIGN_CALL): Removed.
16211         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
16212         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
16213         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
16215 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16217         * sysdeps/aarch64/bzero.S (__bzero): Remove.
16219 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
16221         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
16222         Unconditionally set __fpcr to avoid uninialized warning.
16223         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
16225 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16227         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
16228         is corrupt.
16230         * malloc/arena.c (arena_get2): Drop unused argument.
16231         (arena_lock): Adjust.
16232         (arena_get_retry): Likewise.
16234 2015-08-24  Andreas Schwab  <schwab@suse.de>
16236         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
16237         Don't define.
16238         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16239         (__ASSUME_IPC64): Don't undef.
16240         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
16241         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
16242         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
16243         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
16244         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
16245         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
16246         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
16247         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
16248         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
16249         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
16250         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
16251         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
16252         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
16253         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
16254         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
16255         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
16256         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
16257         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
16258         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
16259         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
16260         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
16262 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
16264         * manual/Makefile (install): Only build manual when perl is available.
16266 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16268         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
16269         '#undef memcpy' by '#undef memchr'.
16271 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16273         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
16274         memchr not point to the internal __GI_memchr implementation.
16276 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16278         * timezone/Makefile (CFLAGS-zdump.c): Remove
16279         -Wno-strict-prototypes.
16280         (CFLAGS-zic.c): Likewise.
16281         (CFLAGS-ialloc.c): Likewise.
16282         (CFLAGS-scheck.c): Likewise.
16284         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
16285         -Wno-error=undef.
16287 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16289         * i386/i686/multiarch/strcasestr-c.c: Removed.
16290         * x86_64/multiarch/strcasestr.c: Likewise.
16291         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16292         Remove strcasestr.
16294 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
16296         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
16298         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
16299         variables for high and low parts before possibly modifying them.
16301 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16303         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
16304         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
16305         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
16306         of "multiarch/init-arch.h".
16307         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
16308         * sysdeps/x86/init-arch.h: This.
16310 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
16312         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
16313         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
16315 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
16317         [BZ #17787]
16318         * manual/macros.texi: Add twoexp macro.
16319         * manual/filesys.texi: Fix exponents.
16320         * manual/llio.texi: Likewise.
16321         * manual/stdio.texi: Likewise.
16323 2015-08-20  Florian Weimer  <fweimer@redhat.com>
16325         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
16326         incorrect use.
16328 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16330         [BZ #18370]
16331         * math/s_csqrt.c (__csqrt): Force underflow exception for results
16332         whose real or imaginary part has small absolute value.
16333         * math/s_csqrtf.c (__csqrtf): Likewise.
16334         * math/s_csqrtl.c (__csqrtl): Likewise.
16335         * math/auto-libm-test-in: Add more tests of csqrt.
16336         * math/auto-libm-test-out: Regenerated.
16337         * sysdeps/i386/fpu/libm-test-ulps: Update.
16339 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16341         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
16342         __ppc_set_ppr_very_low): New functions.
16343         * manual/platform.texi: Add documentation about
16344         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
16346 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
16348         * string/stpncpy.c (stpncpy): Improve performance using
16349         __strnlen/memcpy/memset.
16351 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
16353         [BZ #18796]
16354         * scripts/test-installation.pl: Don't add -lmvec to build options if
16355         libmvec wasn't built.
16357 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
16359         [BZ #14341]
16360         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
16361         case when there is a gap between DT_REL and DT_JMPREL sections.
16362         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
16363         (LDFLAGS-tst-split-dynreloc): New.
16364         (tst-split-dynreloc-ENV): Likewise.
16365         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
16366         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
16368 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16370         [BZ #18822]
16371         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
16372         attribute_hidden.
16373         (__xstat64_conv): Likewise.
16374         (__xstat32_conv): Likewise.
16376 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16378         [BZ #18822]
16379         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
16380         Don't load %ebx when calling __setcontext.  Call __setcontext
16381         with HIDDEN_JUMPTARGET.
16382         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
16383         libc_hidden_def.
16385 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16387         * sysdeps/i386/i686/Makefile
16388         [$(subdir) == string] (sysdep_routines): Moved to ...
16389         * sysdeps/i386/Makefile: Here.
16390         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
16391         * sysdeps/i386/cacheinfo.c: Here.
16392         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
16393         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
16394         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
16395         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
16397 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
16399         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
16400         __i586__ is defined.
16401         (HAS_I686): Defined to 1 if __i686__ is defined.
16403 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
16405         * elf/Makefile [$(have-z-execstack) = yes]
16406         (CPPFLAGS-tst-execstack.c): New variable.
16408         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
16409         conditional to [defined UTMPX || _HAVE_UT_TYPE].
16410         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
16411         UTMPX || _HAVE_UT_TV].
16412         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
16413         UTMPX || _HAVE_UT_TV - 0].
16415 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
16417         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
16418         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
16419         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
16421 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16423         * sysdeps/powerpc/dl-procinfo.c:
16424         (_dl_powerpc_cap_flags): Added missing strings for some
16425         hwcap features.
16426         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
16428 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
16430         Port the 0x7efe...feff pattern to GCC 6.
16431         See Steve Ellcey's bug report in:
16432         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
16433         * string/memrchr.c (MEMRCHR):
16434         * string/rawmemchr.c (RAWMEMCHR):
16435         * string/strchr.c (strchr):
16436         * string/strchrnul.c (STRCHRNUL):
16437         Rewrite code to avoid issues with signed shift overflow.
16439 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
16441         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
16442         whether cpuid is available only if HAS_CPUID is 0.
16443         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
16444         (HAS_I586): Likewise.
16445         (HAS_I686): Likewise.
16447 2015-08-18  Zack Weinberg  <zackw@panix.com>
16449         * misc/Versions (libc): Add GLIBC_2.23.
16451 2015-08-18  Alan Modra  <amodra@gmail.com>
16453         [BZ #18421]
16454         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
16455         .Lp__global.
16456         (_start): Load %dp via .Lp__global.
16457         [!SHARED]: Use .section .rodata.
16459 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16461         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
16462         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
16464 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16466         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
16467         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
16469 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16471         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
16472         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16474 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16476         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16477         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16479 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16481         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16482         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16484 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16486         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16487         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16489 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16491         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16493 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16495         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16496         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16497         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16498         (__ASSUME_LWS_CAS): Delete.
16500 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16502         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16503         * sysdeps/hppa/configure: Regenerated.
16504         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16505         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16506         * sysdeps/hppa/nptl/tls.h: Likewise.
16508 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16510         [BZ #18823]
16511         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16512         for scaling up small arguments.
16513         * math/s_csqrtf.c (__csqrtf): Likewise.
16514         * math/s_csqrtl.c (__csqrtl): Likewise.
16515         * math/auto-libm-test-in: Add more tests of csqrt.
16516         * math/auto-libm-test-out: Regenerated.
16518 2015-08-17  Andreas Schwab  <schwab@suse.de>
16520         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16521         version set GLIBC_2.19.
16523 2015-08-16  Zack Weinberg  <zackw@panix.com>
16525         [BZ #18681]
16526         * misc/regexp.h: This interface is no longer supported.
16527         Remove all contents, leaving only an #error directive.
16528         * misc/regexp.c (loc1, loc2, locs, step, advance):
16529         Demote to compatibility symbols.
16531 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16533         [BZ #18084]
16534         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16535         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16536         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16537         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16538         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16539         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16540         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16541         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16542         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16544 2015-08-15  Zack Weinberg  <zackw@panix.com>
16546         [BZ #18795]
16547         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16548         buffer length is known to be too large, not if it's known to be
16549         small enough.
16550         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16551         overflow at runtime, involving a length parameter, twice: once
16552         with a compile-time constant length parameter, once without.
16554 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16556         [BZ #18824]
16557         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16558         scaling x * y up instead of down.
16559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16561         * math/auto-libm-test-in: Add more tests of fma.
16562         * math/auto-libm-test-out: Regenerated.
16564 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16568 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16571         unnecessary movq.
16572         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16573         Likewise.
16575 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16577         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16578         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16579         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16580         and tgamma.
16581         * math/auto-libm-test-out: Regenerated.
16582         * sysdeps/i386/fpu/libm-test-ulps: Update.
16583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16585         [BZ #16520]
16586         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16587         (__tanh): Force underflow exception for arguments with small
16588         absolute value.
16589         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16590         (__tanhf): Force underflow exception for arguments with small
16591         absolute value.
16592         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16593         (__tanhl): Force underflow exception for arguments with small
16594         absolute value.
16595         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16596         (__tanhl): Force underflow exception for arguments with small
16597         absolute value.
16598         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16599         (__tanhl): Force underflow exception for arguments with small
16600         absolute value.
16601         * math/auto-libm-test-in: Add more tests of tanh.
16602         * math/auto-libm-test-out: Regenerated.
16603         * sysdeps/i386/fpu/libm-test-ulps: Update.
16605 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16607         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16608         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16610 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16612         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16613         <cpuid.h>.
16615 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16617         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16618         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16620 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16622         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16623         Remove $(objpfx)init-arch.o.
16624         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16625         init-arch.
16626         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16627         (INIT_ARCH_EXT): Defined as empty.
16628         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16629         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16630         __init_cpu_features call.  Replace HAS_XXX with
16631         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16632         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16636         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16637         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16638         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16639         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16640         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16642         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16643         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16644         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16645         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16646         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16647         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16648         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16649         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16650         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16651         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16652         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16653         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16654         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16655         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16656         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16658         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16660         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16662         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16663         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16664         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16665         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16666         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16668 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16670         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16671         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16672         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16673         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16674         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16675         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16676         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16677         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16678         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16679         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16680         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16681         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16682         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16683         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16684         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16685         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16686         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16687         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16688         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16689         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16690         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16691         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16692         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16693         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16694         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16695         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16696         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16697         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16698         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16699         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16700         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16701         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16702         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16703         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16704         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16705         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16706         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16707         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16708         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16709         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16710         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16711         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16712         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16714 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16716         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16717         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16719         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16720         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16721         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16722         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16723         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16724         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16726         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16727         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16728         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16729         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16730         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16731         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16732         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16733         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16734         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16735         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16737         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16738         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16739         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16740         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16741         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16742         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16743         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16744         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16745         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16746         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16747         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16748         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16749         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16750         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16751         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16752         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16753         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16754         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16755         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16756         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16757         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16758         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16760 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16762         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16763         (dl_platform_init): Call init_cpu_features.
16764         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16765         * sysdeps/i386/i686/cacheinfo.c
16766         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16767         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16768         * sysdeps/i386/i686/multiarch/Versions: Removed.
16769         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16770         Removed.
16771         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16772         * sysdeps/unix/sysv/linux/x86/Makefile
16773         (libpthread-sysdep_routines): Remove init-arch.
16774         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16775         <sysdeps/x86_64/dl-procinfo.c> instead of
16776         sysdeps/generic/dl-procinfo.c>.
16777         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16778         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16779         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16780         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16781         [$(subdir) == elf] (tests-static): Add
16782         tst-get-cpu-features-static.
16783         * sysdeps/x86/Versions: New file.
16784         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16785         * sysdeps/x86/cpu-features.c: Likewise.
16786         * sysdeps/x86/cpu-features.h: Likewise.
16787         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16788         * sysdeps/x86/libc-start.c: Likewise.
16789         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16790         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16791         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16792         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16793         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16794         Assume USE_MULTIARCH is defined and don't check it.
16795         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16796         (is_amd): Likewise.
16797         (max_cpuid): Likewise.
16798         (intel_check_word): Likewise.
16799         (__cache_sysconf): Don't call __init_cpu_features.
16800         (__x86_preferred_memory_instruction): Removed.
16801         (init_cacheinfo): Don't call __init_cpu_features. Replace
16802         __cpu_features with GLRO(dl_x86_cpu_features).
16803         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16804         (dl_platform_init): Call init_cpu_features.
16805         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16806         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16807         * sysdeps/x86_64/multiarch/Versions: Removed.
16808         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16809         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16810         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16811         Removed.
16812         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16814 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16816         [BZ #18820]
16817         * libio/Makefile (test-fmemopen-mem): New test.
16818         * libio/test-fmemopen.c (do_bz18820): New test.
16819         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16820         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16822 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16824         [BZ #16734]
16825         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16826         (FREE_BUF): Delete.
16827         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16828         * libio/genops.c (_IO_setb): Use malloc and free directly.
16829         (_IO_default_doallocate, _IO_default_finish): Likewise.
16830         ( _IO_unbuffer_all): Likewise.
16831         ( libc_freeres_fn): Likewise.
16832         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16833         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16834         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16835         (_IO_wdefault_doallocate): Likewise.
16837 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16839         [BZ #18086]
16840         * sysdeps/posix/nice.c (nice): Restore old errno.
16841         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16843 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16847 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16849         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16850         __bcopy and add a weak_alias to bcopy.
16851         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16852         for static build.
16854         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16855         cleanup macro usage.
16856         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16858         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16859         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16860         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16861         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16862         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16863         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16864         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16865         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16866         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16867         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16868         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16869         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16870         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16871         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16872         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16873         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16874         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16876         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16877         libc_hidden_def.
16878         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16880         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16881         (sysdep_routines): Add strstr-ppc64.
16882         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16884 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16886         [BZ #18778]
16887         * elf/Makefile (tests): Add Add tst-nodelete2.
16888         (modules-names): Add tst-nodelete2mod.
16889         (tst-nodelete2mod.so-no-z-defs): New.
16890         ($(objpfx)tst-nodelete2): Likewise.
16891         ($(objpfx)tst-nodelete2.out): Likewise.
16892         (LDFLAGS-tst-nodelete2): Likewise.
16893         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16894         out of loop through all loaded libraries.
16895         * elf/tst-nodelete2.c: New file.
16896         * elf/tst-nodelete2mod.c: Likewise.
16897         * elf/tst-znodelete-zlib.cc: Delete.
16899 2015-08-11  Andreas Schwab  <schwab@suse.de>
16901         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16902         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16903         (__openat64_nocancel): Likewise.
16905 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16907         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16908         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16909         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16910         * math/auto-libm-test-out: Regenerated.
16911         * sysdeps/i386/fpu/libm-test-ulps: Update.
16912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16914 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16916         [BZ #18790]
16917         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16918         threshold for returning +/- 1.
16919         * math/auto-libm-test-in: Add more tests of tanh.
16920         * math/auto-libm-test-out: Regenerated.
16921         * sysdeps/i386/fpu/libm-test-ulps: Update.
16923 2015-08-10  Andreas Schwab  <schwab@suse.de>
16925         [BZ #18781]
16926         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16927         MORE_OFLAGS to oflag.
16928         * io/test-lfs.c (do_test): Test openat64.
16930 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16932         [BZ #18789]
16933         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16934         smaller threshold for returning the argument.
16935         * math/auto-libm-test-in: Add more tests of sinh.
16936         * math/auto-libm-test-out: Regenerated.
16937         * sysdeps/i386/fpu/libm-test-ulps: Update.
16939 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16941         [BZ #18674]
16942         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16943         break.
16945 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16947         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16948         (generated): Don't add $(addprefix z.,$(tzfiles)).
16950 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16952         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16953         * scripts/sysd-rules.awk: Likewise.
16955 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16957         * iconvdata/tst-tables.sh: Change echo -n to printf.
16958         * nss/db-Makefile: Likewise.
16959         * posix/tst-getconf.sh: Likewise.
16960         * stdio-common/tst-unbputc.sh: Likewise.
16962 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16964         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16965         MADV_*_PAGES defines behind this feature check.
16967 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16969         [BZ #18480]
16970         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16971         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16972         Define.
16973         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16974         LOAD_REGS_5, LOAD_REGS_6): Update.
16975         (INTERNAL_SYSCALL): Update using new LOAD defines.
16976         (INTERNAL_SYSCALL_NCS): Likewise.
16977         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16979 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16981         [BZ #16734]
16982         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16984 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16986         [BZ #17905]
16987         * catgets/Makefile (tst-catgets-mem): New test.
16988         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16989         * catgets/open_catalog.c (__open_catalog): Likewise.
16990         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16992 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16994         [BZ #18787]
16995         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16996         clobber registers.
16997         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16998         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16999         Cast return to __typeof (oldval).
17001 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
17003         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
17004         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
17005         and delete sys/syscall.h include.
17007 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
17009         [BZ #16517]
17010         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
17011         (tan): Force underflow exception for arguments with small absolute
17012         value.
17013         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
17014         (__kernel_tanf): Force underflow exception for arguments with
17015         small absolute value.
17016         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
17017         (__kernel_tanl): Force underflow exception for arguments with
17018         small absolute value.
17019         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
17020         (__kernel_tanl): Force underflow exception for arguments with
17021         small absolute value.
17022         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
17023         (__kernel_tanl): Force underflow exception for arguments with
17024         small absolute value.
17025         * math/auto-libm-test-in: Add more tests of tan.
17026         * math/auto-libm-test-out: Regenerated.
17028 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17030         Fix sysdeps/i386/fpu/s_scalbn.S build
17032         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
17034 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
17036         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17038 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17040         Fix gcrt0.o compilation
17042         When static-start-installed-name is different from
17043         start-installed-name, we must not use the shared objects.
17045         * csu/Makefile
17046         (extra-objs): Add gmon-start.o when building shared library and
17047         $(static-start-installed-name) is different from
17048         $(start-installed-name).
17049         $(objpfx)g$(static-start-installed-name): When building shared
17050         library and $(static-start-installed-name) is different from
17051         $(static-start-installed-name), revert to non-shared rule,
17052         i.e. using $(objpfx)% and gmon-start.o.
17054 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
17056         [BZ #16519]
17057         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
17058         (__ieee754_sinh): Force underflow exception for arguments with
17059         small absolute value.
17060         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
17061         (__ieee754_sinhf): Force underflow exception for arguments with
17062         small absolute value.
17063         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
17064         (__ieee754_sinhl): Force underflow exception for arguments with
17065         small absolute value.
17066         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
17067         (__ieee754_sinhl): Force underflow exception for arguments with
17068         small absolute value.
17069         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
17070         (__ieee754_sinhl): Force underflow exception for arguments with
17071         small absolute value.
17072         * math/auto-libm-test-in: Add more tests of sinh.
17073         * math/auto-libm-test-out: Regenerated.
17074         * sysdeps/i386/fpu/libm-test-ulps: Update.
17076 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17078         * libio/oldfileops.c: Include unistd.h.
17080 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
17082         * stdlib/isomac.c: Include ctype.h.
17084 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
17086         * dirent/tst-seekdir.c (main): Converted to ...
17087         (do_test): ... this.
17088         (TEST_FUNCTION): New macro.
17089         Include test-skeleton.c.
17090         * elf/tst-dlmodcount.c (main): Converted to ...
17091         (do_test): ... this.
17092         (TEST_FUNCTION): New macro.
17093         Include test-skeleton.c.
17094         * elf/tst-order-main.c (main): Converted to ...
17095         (do_test): ... this.
17096         (TEST_FUNCTION): New macro.
17097         Include test-skeleton.c.
17098         * elf/tst-pie2.c (main): Converted to ...
17099         (do_test): ... this.
17100         (TEST_FUNCTION): New macro.
17101         Include test-skeleton.c.
17102         * inet/tst-ether_aton.c (main): Converted to ...
17103         (do_test): ... this.
17104         (TEST_FUNCTION): New macro.
17105         Include test-skeleton.c.
17106         * misc/tst-mntent.c (main): Converted to ...
17107         (do_test): ... this.
17108         (TEST_FUNCTION): New macro.
17109         Include test-skeleton.c.
17110         * misc/tst-tsearch.c (main): Converted to ...
17111         (do_test): ... this.
17112         (TEST_FUNCTION): New macro.
17113         Include test-skeleton.c.
17114         * posix/tst-regexloc.c (main): Converted to ...
17115         (do_test): ... this.
17116         (TEST_FUNCTION): New macro.
17117         Include test-skeleton.c.
17118         * resolv/tst-aton.c (main): Converted to ...
17119         (do_test): ... this.
17120         (TEST_FUNCTION): New macro.
17121         Include test-skeleton.c.
17122         * stdio-common/test-fwrite.c (main): Converted to ...
17123         (do_test): ... this.
17124         (TEST_FUNCTION): New macro.
17125         Include test-skeleton.c.
17126         * stdio-common/tst-ferror.c (main): Converted to ...
17127         (do_test): ... this.
17128         (TEST_FUNCTION): New macro.
17129         Include test-skeleton.c.
17130         * stdio-common/tst-printf.c (main): Converted to ...
17131         (do_test): ... this.
17132         (TEST_FUNCTION): New macro.
17133         Include test-skeleton.c.
17134         * stdio-common/tst-printfsz.c (main): Converted to ...
17135         (do_test): ... this.
17136         (TEST_FUNCTION): New macro.
17137         Include test-skeleton.c.
17138         * stdlib/tst-strtod.c (main): Converted to ...
17139         (do_test): ... this.
17140         (TEST_FUNCTION): New macro.
17141         Include test-skeleton.c.
17142         * string/tst-strlen.c (main): Converted to ...
17143         (do_test): ... this.
17144         (TEST_FUNCTION): New macro.
17145         Include test-skeleton.c.
17146         * string/tst-svc.c (main): Converted to ...
17147         (do_test): ... this.
17148         (TEST_FUNCTION): New macro.
17149         Include test-skeleton.c.
17150         * time/tst-strptime.c (main): Converted to ...
17151         (do_test): ... this.
17152         (TEST_FUNCTION): New macro.
17153         Include test-skeleton.c.
17154         * timezone/tst-timezone.c (main): Converted to ...
17155         (do_test): ... this.
17156         (TEST_FUNCTION): New macro.
17157         Include test-skeleton.c.
17159 2015-08-05  Zack Weinberg  <zackw@panix.com>
17161         * misc/regexp.h: Update comments.
17163 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
17165         [BZ #18635]
17166         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
17167         before return label.
17169 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17171         [BZ #18661]
17172         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
17173         when calling __errno_location.
17174         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
17175         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
17177 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17179         [BZ #18661]
17180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
17181         (__lll_timedwait_tid): Align stack to 16 bytes when calling
17182         __gettimeofday.
17184 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17186         [BZ #18661]
17187         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17188         (__start_context): Don't use pop to restore %rdi so that stack
17189         is aligned to 16 bytes when calling __setcontext.
17191 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17193         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
17194         only for libc.
17195         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17197 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17199         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
17200         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
17201         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
17203 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17205         * string/memccpy.c (memccpy):
17206         Improve performance by using memchr/memcpy/__mempcpy.
17208 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17210         * string/strncpy.c (strncpy):
17211         Improve performance by using __strnlen/memcpy.
17213 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17215         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17216         Optimize to avoid an unnecessary FPCR read.
17218 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
17220         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17221         Optimize to reduce FPCR/FPSR accesses.
17223 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
17225         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
17226         dead->data[category] != NULL.
17228 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
17230         [BZ #18647]
17231         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
17232         and |x| close to 1, use absolute value of x when computing log.
17233         * math/auto-libm-test-in: Add more tests of pow.
17234         * math/auto-libm-test-out: Regenerated.
17236 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17238         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
17239         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
17240         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
17242 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
17244         [BZ #18525]
17245         * locales/km_KH: Remove timezone definition.
17246         * locales/lo_LA: Likewise.
17247         * locales/my_MM: Likewise.
17248         * locales/nan_TW@latin: Likewise.
17249         * locales/th_TH: Likewise.
17250         * locales/uk_UA: Likewise.
17252 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17254         [BZ #18265]
17255         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
17256         (wcsncat): Likewise.
17257         (wcscmp): Likewise.
17258         (wcsncmp): Likewise.
17260 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17262         * test-skeleton.c (usage): New function.
17263         (main): Call usage when opt is '?'.
17265 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17267         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
17268         before first use.
17270 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
17272         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
17273         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
17274         in there too.
17276 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
17278         * version.h (RELEASE): Set to "development".
17279         (VERSION): Set to "2.22.90"
17281         * version.h (RELEASE): Set to "stable".
17282         (VERSION): Set to "2.22"
17283         * include/features.h (__GLIBC_MINOR__): Set to 22.
17285 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
17287         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
17288         Restructure macro to avoid "value computed is not used" warning.
17289         (atomic_compare_and_exchange_val_acq): Likewise.
17291 2015-08-04  Andreas Schwab  <schwab@suse.de>
17293         [BZ #18635]
17294         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
17295         ret.
17296         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
17298 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
17300         * po/pl.po: Updated translation.
17301         * po/uk.po: Likewise.
17302         * po/fi.po: Likewise.
17303         * po/ko.po: Likewise.
17304         * po/ru.po: Likewise.
17305         * po/vi.po: Likewise.
17307 2015-07-31  Zack Weinberg  <zackw@panix.com>
17309         [BZ #18681]
17310         * regexp.h: Add unconditional #warning stating that this header
17311         will be removed soon.  Revise banner comment to match.
17312         (compile): Consistently use ERROR instead of RETURN to report
17313         errors (partial fix for bz#18681).
17314         * regexp.c: Don't include regexp.h. Remove some unnecessary
17315         declarations.
17317 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
17319         * po/libc.pot: Regenerated.
17321 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
17323         [BZ #18740]
17324         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
17325         float-vlen4-arch-ext-cflags): Removed.
17326         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
17327         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
17329 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17331         [BZ #14113]
17332         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
17333         aligned to __aligned__.
17334         (pthread_cond_t, pthread_rwlock_t): Likewise.
17336 2015-07-30  Torvald Riegel  <triegel@redhat.com>
17338         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
17340 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17342         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
17343         (struct sigaction): Change sa_flags from a long to an int, and add
17344         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
17346 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17348         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
17349         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
17350         sysdeps/generic/sysdep.h include.
17351         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
17352         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
17353         sysdeps/hppa/sysdep.h.
17354         (ENTRY, PSEUDO): Undefine before defining.
17356 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
17358         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
17359         from scratch to use INTERNAL_SYSCALL.
17361 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
17363         [BZ #18078]
17364         * scripts/check-localplt.awk: Support alternate relocations.
17365         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
17366         sections.
17367         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
17368         malloc entries with + REL R_386_GLOB_DAT.
17369         * sysdeps/x86_64/localplt.data: New file.
17371 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
17373         [BZ #18731]
17374         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
17375         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17376         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17378 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17380         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
17382 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17384         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
17385         directly in terms of __sync_fetch_and_add and delete (int) cast.
17387 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17389         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
17390         the -D_ASM_IA64_CURRENT_H flag.
17392 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
17394         [BZ #18641]
17395         * pwd/pwd.h (putpwent): Delete __nonnull markings.
17397 2015-07-27  Andreas Schwab  <schwab@suse.de>
17399         * conform/conformtest.pl (checknamespace): Filter out string
17400         literals while tokenizing.
17402 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17404         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17405         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
17406         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17408 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
17410         * nptl/tst-join7mod.c: Add #include <string.h>.
17412 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17414         * sysdeps/nios2/libm-test-ulps: Update.
17416 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
17418         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
17419         Fix order of arguments to the rt_sigprocmask syscall.
17420         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
17421         Likewise.
17423 2015-07-24  Roland McGrath  <roland@hack.frob.com>
17425         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
17427 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17429         [BZ #18457]
17430         * nptl/Makefile (tests): New test case tst-join7.
17431         (modules-names): New test case module tst-join7mod.
17432         * nptl/tst-join7.c: New file.
17433         * nptl/tst-join7mod.c: New file.
17434         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
17435         all translation units in libc.so, libpthread.so and rtld.
17437 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17441 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17443         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
17444         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17445         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17446         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17447         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17448         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17449         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17450         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17451         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17452         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17453         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17454         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17455         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
17456         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
17457         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
17458         implementation.
17460 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17462         [BZ #17711]
17463         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17464         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
17465         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17466         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
17467         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
17468         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
17470 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17472         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
17473         instead of just saying load lock in the comments.
17475 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17477         * sysdeps/unix/Subdirs: Moved ...
17478         * sysdeps/posix/Subdirs: ... here.
17479         * login/pty.h (struct termios, struct winsize): Add forward decls.
17480         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17481         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17482         * sysdeps/arm/nacl/libc.abilist: Updated.
17483         * sysdeps/nacl/libutil.abilist: New file.
17485         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17486         (SIGWINCH): New macro.
17488         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17489         * sysdeps/arm/nacl/libc.abilist: Add it.
17491 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17493         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17495 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17497         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17498         Swap __glibc_reserved0 and sa_flags order.
17500 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17502         [BZ #18657]
17503         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17504         are pending TLS destructor calls.
17505         * include/link.h (struct link_map): Add concurrency note for
17506         L_TLS_DTOR_COUNT.
17507         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17508         Don't touch the link map flag.  Atomically increment
17509         l_tls_dtor_count.
17510         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17511         Avoid taking the load lock and don't touch the link map flag.
17512         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17513         * stdlib/Makefile (tests): Use it.
17514         * stdlib/tst-tls-atexit.c (do_test): dlopen
17515         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17516         to allow tst-tls-atexit-nodelete test case to use it.
17518 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17520         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17521         to bits/types.h.
17522         (msgqnum_t): New typedef.
17523         (msglen_t): Likewise.
17524         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17525         and msg_qbytes type to msglen_t.
17527 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17529         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17530         pad0 to __glibc_reserved0.
17531         (struct stat64): Likewise.
17533 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17535         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17536         Change sa_flags from a long to an int and add __glibc_reserved0 before
17537         it for padding.
17539 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17541         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17542         anonymous by deleting "siginfo" name.
17544 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17546         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17547         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17548         rather than __nacl_irt_filename.
17549         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17551         * NEWS: New item for arm-nacl port.
17552         * sysdeps/arm/nacl/libc.abilist: New file.
17553         * sysdeps/nacl/ld.abilist: New file.
17554         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17555         * sysdeps/nacl/libanl.abilist: New file.
17556         * sysdeps/nacl/libcrypt.abilist: New file.
17557         * sysdeps/nacl/libdl.abilist: New file.
17558         * sysdeps/nacl/libm.abilist: New file.
17559         * sysdeps/nacl/libpthread.abilist: New file.
17560         * sysdeps/nacl/libresolv.abilist: New file.
17561         * sysdeps/nacl/librt.abilist: New file.
17563 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17565         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17566         __startcontext to initialize the new context.
17567         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17568         up CFI directive to forbid further backtracing.
17570 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17572         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17573         reference.
17574         * charmaps/ANSI_X3.4-1968: Likewise.
17575         * charmaps/BS_4730: Likewise.
17576         * charmaps/BS_VIEWDATA: Likewise.
17577         * charmaps/CP1250: Likewise.
17578         * charmaps/CP1251: Likewise.
17579         * charmaps/CP1252: Likewise.
17580         * charmaps/CP1253: Likewise.
17581         * charmaps/CP1254: Likewise.
17582         * charmaps/CP1255: Likewise.
17583         * charmaps/CP1256: Likewise.
17584         * charmaps/CSN_369103: Likewise.
17585         * charmaps/EBCDIC-DK-NO: Likewise.
17586         * charmaps/GB_1988-80: Likewise.
17587         * charmaps/GREEK-CCITT: Likewise.
17588         * charmaps/GREEK7: Likewise.
17589         * charmaps/INIS-8: Likewise.
17590         * charmaps/ISIRI-3342: Likewise.
17591         * charmaps/ISO_2033-1983: Likewise.
17592         * charmaps/ISO_5427-EXT: Likewise.
17593         * locales/POSIX: Likewise.
17594         * locales/ar_SA: Likewise.
17595         * locales/be_BY: Likewise.
17596         * locales/be_BY@latin: Likewise.
17597         * locales/ca_ES: Likewise.
17598         * locales/cs_CZ: Likewise.
17599         * locales/da_DK: Likewise.
17600         * locales/de_BE: Likewise.
17601         * locales/de_CH: Likewise.
17602         * locales/de_LU: Likewise.
17603         * locales/en_AU: Likewise.
17604         * locales/en_BW: Likewise.
17605         * locales/en_CA: Likewise.
17606         * locales/en_DK: Likewise.
17607         * locales/en_GB: Likewise.
17608         * locales/en_IE: Likewise.
17609         * locales/en_NZ: Likewise.
17610         * locales/en_ZA: Likewise.
17611         * locales/en_ZW: Likewise.
17612         * locales/es_AR: Likewise.
17613         * locales/es_BO: Likewise.
17614         * locales/es_CL: Likewise.
17615         * locales/es_CO: Likewise.
17616         * locales/es_DO: Likewise.
17617         * locales/es_EC: Likewise.
17618         * locales/es_ES: Likewise.
17619         * locales/es_HN: Likewise.
17620         * locales/es_MX: Likewise.
17621         * locales/es_PA: Likewise.
17622         * locales/es_PE: Likewise.
17623         * locales/es_PY: Likewise.
17624         * locales/es_SV: Likewise.
17625         * locales/es_US: Likewise.
17626         * locales/es_UY: Likewise.
17627         * locales/es_VE: Likewise.
17628         * locales/et_EE: Likewise.
17629         * locales/fa_IR: Likewise.
17630         * locales/fo_FO: Likewise.
17631         * locales/fr_CA: Likewise.
17632         * locales/fr_CH: Likewise.
17633         * locales/gv_GB: Likewise.
17634         * locales/he_IL: Likewise.
17635         * locales/hr_HR: Likewise.
17636         * locales/id_ID: Likewise.
17637         * locales/is_IS: Likewise.
17638         * locales/it_CH: Likewise.
17639         * locales/iw_IL: Likewise.
17640         * locales/kl_GL: Likewise.
17641         * locales/ko_KR: Likewise.
17642         * locales/kw_GB: Likewise.
17643         * locales/lg_UG: Likewise.
17644         * locales/lt_LT: Likewise.
17645         * locales/lv_LV: Likewise.
17646         * locales/mi_NZ: Likewise.
17647         * locales/nhn_MX: Likewise.
17648         * locales/nl_BE: Likewise.
17649         * locales/pl_PL: Likewise.
17650         * locales/sk_SK: Likewise.
17651         * locales/sl_SI: Likewise.
17652         * locales/sv_FI: Likewise.
17653         * locales/tl_PH: Likewise.
17654         * locales/tr_TR: Likewise.
17655         * locales/vi_VN: Likewise.
17657 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17659         [BZ #17475]
17660         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17661         of tu_IN and bh_IN.
17663 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17665         [BZ #18694]
17666         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17667         bits/wordsize.h.
17668         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17670 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17672         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17673         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17674         (spawn_thread): New function.
17675         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17676         (do_test): ... here.  Use IS_LOADED to test for its
17677         availability.
17679 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17681         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17683 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17685         [BZ #18696]
17686         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17687         si_addr_bnd.
17688         (si_lower): New.
17689         (si_upper): Likewise.
17691 2015-07-16  David S. Miller  <davem@davemloft.net>
17693         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17695 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17697         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17698         buffer.
17699         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17700         fail output information.
17702 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17705         and strstr-ppc64..
17706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17707         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17708         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17709         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17710         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17712 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17714         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17715         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17716         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17717         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17719 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17721         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17722         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17723         rtld_hidden_proto.
17724         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17726 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17728         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17729         the test can fail.
17731         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17733         [BZ #18676]
17734         * elf/tst-nodelete-opened.c: New test case.
17735         * elf/tst-nodelete-opened-lib.c: New test case module.
17736         * elf/Makefile (tests, modules-names): Use them.
17737         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17738         early.
17740 2015-07-15  David S. Miller  <davem@davemloft.net>
17742         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17743         futex-intenal.h
17744         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17745         * sysdeps/sparc/sparc64/Makefile: Likewise.
17746         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17747         Remove space from macro define.
17748         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17750 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17752         [BZ #17475]
17753         * locale/iso-639.def: Update Bhili and Tulu language codes as
17754         per iso639-3.
17756 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17758         * elf/tst-leaks1.c (main): Converted to ...
17759         (do_test): ... this.
17760         (TEST_FUNCTION): New macro.
17761         Include test-skeleton.c.
17762         * localedata/tst-langinfo.c (main): Converted to ...
17763         (do_test): ... this.
17764         (TEST_FUNCTION): New macro.
17765         Include test-skeleton.c.
17766         * math/test-fpucw.c (main): Converted to ...
17767         (do_test): ... this.
17768         (TEST_FUNCTION): New macro.
17769         Include test-skeleton.c.
17770         * math/test-tgmath.c (main): Converted to ...
17771         (do_test): ... this.
17772         (TEST_FUNCTION): New macro.
17773         Include test-skeleton.c.
17774         * math/test-tgmath2.c (main): Converted to ...
17775         (do_test): ... this.
17776         (TEST_FUNCTION): New macro.
17777         Include test-skeleton.c.
17778         * setjmp/tst-setjmp.c (main): Converted to ...
17779         (do_test): ... this.
17780         (TEST_FUNCTION): New macro.
17781         Include test-skeleton.c.
17782         * stdio-common/tst-sscanf.c (main): Converted to ...
17783         (do_test): ... this.
17784         (TEST_FUNCTION): New macro.
17785         Include test-skeleton.c.
17786         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17787         (do_test): ... this.
17788         (TEST_FUNCTION): New macro.
17789         Include test-skeleton.c.
17791         * elf/tst-audit9.c (main): Converted to ...
17792         (do_test): ... this.
17793         (TEST_FUNCTION): New macro.
17794         Include test-skeleton.c.
17796 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17798         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17800 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17802         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17803         New variable.
17805 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17807         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17809 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17811         * sysdeps/generic/dl-fileid.h: New file.
17812         * sysdeps/posix/dl-fileid.h: New file.
17813         * sysdeps/nacl/dl-fileid.h: New file.
17814         * include/link.h: Include <dl-fileid.h>.
17815         (struct link_map): Replace l_dev and l_ino with l_file_id.
17816         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17817         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17818         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17820 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17822         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17824 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17826         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17827         Add iff $CXX is set.
17828         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17829         Likewise.
17830         (tst-nodelete-zmodiff): Likewise.
17831         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17833 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17835         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17837 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17839         * sysdeps/aarch64/fpu/math_private.h
17840         (define math_opt_barrier): Add AArch64 version.
17841         (math_force_eval): Likewise.
17843 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17845         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17847 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17849         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17850         %ld with %jd and cast to intmax_t.
17851         (do_test_length_zero): Likewise.
17853 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17855         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17857 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17859         * sysdeps/tile/libm-test-ulps: Regenerated.
17861         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17862         Comment out the whole function, not just its body.
17864 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17866         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17867         locks.
17869         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17871 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17873         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17874         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17876 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17878         * sysdeps/nptl/futex-internal.h: New file.
17879         * sysdeps/nacl/futex-internal.h: New file.
17880         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17881         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17882         error checking.
17883         (setxid_unmark_thread): Likewise.
17884         (__nptl_setxid): Likewise.
17885         (__wait_lookup_done): Likewise.
17886         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17887         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17888         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17889         * nptl/pthread_once.c (clear_once_control): Likewise.
17890         (__pthread_once_slow): Likewise.
17891         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17892         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17893         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17894         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17895         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17896         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17897         Likewise.
17898         (__pthread_rwlock_rdlock): Likewise.
17899         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17900         Likewise.
17901         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17902         Likewise.
17903         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17904         Likewise.
17905         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17906         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17907         Likewise.
17908         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17909         __ASSUME_PRIVATE_FUTEX check.
17910         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17911         Check that shared futexes are supported.
17912         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17913         wrappers with error checking.
17914         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17915         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17916         * nptl/pthread_barrierattr_setpshared.c
17917         (pthread_barrierattr_setpshared): Check that shared futexes are
17918         supported.
17919         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17920         Likewise.
17921         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17922         Likewise.
17923         * nptl/sem_init.c (futex_private_if_supported): Remove.
17924         (__new_sem_init): Adapt and check that shared futexes are supported.
17925         * nptl/sem_open.c (sem_open): Likewise.
17926         * nptl/sem_post.c (futex_wake): Remove.
17927         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17928         (do_futex_wait): Use futex wrappers with error checking.
17929         * nptl/sem_wait.c: Include lowlevellock.h.
17930         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17931         Use futex_supports_pshared.
17932         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17933         Use futex wrappers with error checking.
17934         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17935         Likewise.
17936         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17937         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17938         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17939         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17940         (futex_wake): Likewise.
17941         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17942         (do_futex_wait): Use futex wrappers with error checking.
17943         (__new_sem_wait_slow): Update EINTR handling.
17944         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17946 2015-07-09  Martin Sebor  <msebor@redhat.com>
17948         [BZ #18435]
17949         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17950         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17951         * nptl/Makefile (test-xfail-tst-once5): Define.
17953 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17955         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17956         * elf/dl-minimal.c: For readability, reorder some definitions and
17957         introduce more page breaks.  Include <stdio.h>.
17958         (__libc_fatal): New function.
17960         * include/unistd.h: Add rtld_hidden_proto for _exit.
17961         * posix/_exit.c: Add rtld_hidden_def.
17962         * sysdeps/mach/hurd/_exit.c: Likewise.
17963         * sysdeps/nacl/_exit.c: Likewise.
17964         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17965         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17967 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17970         bndmov encoding with zero displacement.
17972 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17973             H.J. Lu  <hongjiu.lu@intel.com>
17975         [BZ #18134]
17976         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17977         * sysdeps/i386/configure: Regenerated.
17978         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17979         (_dl_runtime_profile): Save and restore Intel MPX return bound
17980         registers when calling _dl_call_pltexit.  Add
17981         PRESERVE_BND_REGS_PREFIX before return.
17982         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17983         (LRV_BND1_OFFSET): Likewise.
17984         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17985         lrv_bnd1.
17986         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17987         typo in bndmov encoding.
17988         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17989         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17990         branch instructions to preserve bounds.
17992 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17995         [GLIBC_2.22]: Add fmemopen.
17997 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17999         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
18000         returns an error, also try to use host port from __mach_host_self for
18001         the __vm_wire call.
18002         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
18004 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18006         [BZ #18400]
18007         [BZ #18648]
18008         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
18009         Fix pr_uid and pr_gid members.
18010         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
18011         definition to elf_greg_t.
18013 2015-07-08  Roland McGrath  <roland@hack.frob.com>
18015         [BZ #18383]
18016         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
18017         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
18018         * sysdeps/arm/configure: Regenerated.
18019         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
18020         (test-xfail-tst-tlsalign-static): Variable removed.
18022         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
18023         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
18024         rather than explicit 'ln -s'.
18026         * resolv/rpc/netdb.h: New file.
18027         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
18029 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18031         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
18032         length buffers.
18033         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
18034         test-skeleton.c.
18036         [BZ #6544]
18037         [BZ #11216]
18038         [BZ #12836]
18039         [BZ #13151]
18040         [BZ #13152]
18041         [BZ #14292]
18042         * include/stdio.h (fmemopen): Remove hidden prototype.
18043         (__fmemopen): Add new hidden prototype.
18044         * libio/Makefile: Add oldfmemopen object.
18045         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18046         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
18047         compliance.
18048         * libio/oldfmemopen.c: New file: old fmemopen implementation for
18049         symbol compatibility.
18050         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
18051         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
18052         fmemopen.
18053         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
18054         on append and read mode.
18055         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
18056         fmemopen.
18057         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
18058         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
18059         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
18060         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
18061         Likewise.
18062         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18063         [GLIBC_2.22]: Likewise.
18064         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
18065         Likewise.
18066         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
18067         Likewise.
18068         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18069         [GLIBC_2.22]: Likewise.
18070         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18071         [GLIBC_2.22]: Likewise.
18072         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18073         [GLIBC_2.22]: Likewise.
18074         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18075         [GLIBC_2.22]: Likewise.
18076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18077         [GLIBC_2.22]: Likewise.
18078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18079         [GLIBC_2.22]: Likewise.
18080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18081         [GLIBC_2.22]: Likewise.
18082         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
18083         Likewise.
18084         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
18085         Likewise.
18086         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
18087         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18088         [GLIBC_2.22]: Likewise.
18089         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18090         [GLIBC_2.22]: Likewise.
18091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18092         [GLIBC_2.22]: Likewise.
18093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18094         [GLIBC_2.22]: Likewise.
18095         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
18096         Likewise.
18097         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
18098         Likewise.
18099         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
18100         Likewise.
18101         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
18102         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
18104 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18106         [BZ #18643]
18107         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
18108         IPV6_PATHMTU, and IPV6_DONTFRAG.
18110 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
18112         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
18113         and _IO_UNBUFFERED.
18114         * libio/oldfileops.c: Likewise.
18115         * libio/wfileops.c: Likewise.
18117 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18119         * nscd/selinux.c: Delete selinux/flask.h include.
18121 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
18123         [BZ #18641]
18124         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
18125         (putpwent): Likewise.
18126         (getpwnam): Likewise.
18127         (getpwent_r): Likewise.
18128         (getpwuid_r): Likewise.
18129         (getpwnam_r): Likewise.
18130         (fgetpwent_r): Likewise.
18132 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
18134         [BZ #18557]
18135         * inet/rcmd.c (__validuser2_sa): Check user first to
18136         short-circuit host check.
18138 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
18139             Mikhail Ilin  <m.ilin@samsung.com>
18141         [BZ #17833]
18142         * elf/Makefile (tests): Add tst-nodelete.
18143         (modules-names): Add tst-nodelete-uniquemod.
18144         (tst-nodelete-uniquemod.so-no-z-defs): New.
18145         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
18146         (tst-nodelete-zmod.so-no-z-defs): Likewise.
18147         ($(objpfx)tst-nodelete): Likewise.
18148         ($(objpfx)tst-nodelete.out): Likewise.
18149         (LDFLAGS-tst-nodelete): Likewise.
18150         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
18151         * elf/dl-close.c (_dl_close_worker): Add a parameter to
18152         implement forced object deletion.
18153         (_dl_close): Pass false to _dl_close_worker.
18154         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
18155         * elf/tst-nodelete.cc: New file.
18156         * elf/tst-nodeletelib.cc: Likewise.
18157         * elf/tst-znodeletelib.cc: Likewise.
18158         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
18160 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18162         [BZ #18508]
18163         * stdlib/Makefile ($(objpfx)tst-makecontext3):
18164         Depend on $(libdl).
18165         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
18166         is not called infinitely times.
18167         (backtrace_helper): New function.
18168         (trace_arg): New struct.
18169         (st1): Enlarge stack size.
18170         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18171         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
18172         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18173         Likewise.
18175 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18177         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18179 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
18181         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
18182         Include sys/types.h instead of bits/types.h.
18183         Remove inclusion of bits/wordsize.h.
18185 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18187         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
18188         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
18189         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
18190         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
18191         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
18192         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
18194 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18196         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
18197         link-defines.sym.
18198         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
18199         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
18200         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
18201         and LR_SIZE.
18202         * sysdeps/i386/link-defines.sym: New file.
18204 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
18206         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
18207         (modules-names): Add tst-auditmod3a tst-auditmod3b.
18208         ($(objpfx)tst-audit3): New rule.
18209         ($(objpfx)tst-audit3.out): Likewise.
18210         * sysdeps/i386/tst-audit3.c: New file.
18211         * sysdeps/i386/tst-audit3.h: Likewise.
18212         * sysdeps/i386/tst-auditmod3a.c: Likewise.
18213         * sysdeps/i386/tst-auditmod3b.c: Likewise.
18215 2015-07-07  Torvald Riegel  <triegel@redhat.com>
18217         [BZ #18633]
18218         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
18219         pointer in C code.
18220         (__strcat_c): Likewise.
18221         (__strcat_g): Likewise.
18223 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
18225         [BZ #18592]
18226         * misc/sbrk.c: Set errno to ENOMEM on overflow.
18228 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18230         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
18231         New function.  (__ieee754_sqrtf): New function.
18232         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
18233         New function.
18234         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
18235         New function.
18237 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
18239         * sysdeps/ieee754/support.c: Remove unused file.
18241 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18243         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
18244         registers instead of d ones so the layout is kernel abi compatible.
18245         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
18246         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
18247         Likewise.
18249 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18251         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18253 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18255         [BZ #18619]
18256         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
18257         and return argument in case of subnormal argument.
18259 2015-07-01  Martin Sebor  <msebor@redhat.com>
18261         [BZ #18435]
18262         * nptl/Makefile: Add tst-once5.cc.
18263         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
18264         Remove macro redefinitions.
18265         * nptl/tst-once5.cc: New test.
18267 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
18269         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18271         * sysdeps/arm/libm-test-ulps: Regenerated.
18273         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18274         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18276 2015-06-30  Torvald Riegel  <triegel@redhat.com>
18278         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
18279         lll_lock_wait_private and lll_futex_wake probes.
18281         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18282         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
18283         Likewise.
18284         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
18285         atomic_spin_nop.
18286         * sysdeps/x86_64/bits/atomic.h: Likewise.
18287         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
18288         to atomic_spin_nop and move ...
18289         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18290         ... here and ...
18291         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
18292         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
18293         atomic_spin_nop instead of BUSY_WAIT_NOP.
18294         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
18295         Likewise.
18296         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
18297         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
18298         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
18299         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
18300         instead of atomic_delay.
18302 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
18304         [BZ #18613]
18305         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
18306         X_ADJ not X when adjusting exponent.
18307         (__ieee754_gamma_r): Do intermediate computations in
18308         round-to-nearest then adjust overflowing and underflowing results
18309         as needed.
18310         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
18311         of X_ADJ not X when adjusting exponent.
18312         (__ieee754_gammaf_r): Do intermediate computations in
18313         round-to-nearest then adjust overflowing and underflowing results
18314         as needed.
18315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
18316         log of X_ADJ not X when adjusting exponent.
18317         (__ieee754_gammal_r): Do intermediate computations in
18318         round-to-nearest then adjust overflowing and underflowing results
18319         as needed.  Use 1.0L not 1.0f as numerator of division.
18320         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
18321         log of X_ADJ not X when adjusting exponent.
18322         (__ieee754_gammal_r): Do intermediate computations in
18323         round-to-nearest then adjust overflowing and underflowing results
18324         as needed.  Use 1.0L not 1.0f as numerator of division.
18325         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
18326         of X_ADJ not X when adjusting exponent.
18327         (__ieee754_gammal_r): Do intermediate computations in
18328         round-to-nearest then adjust overflowing and underflowing results
18329         as needed.  Use 1.0L not 1.0f as numerator of division.
18330         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
18331         to auto-libm-test-in.
18332         (tgamma_test): Use ALL_RM_TEST.
18333         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
18334         tests of tgamma with spurious-overflow.
18335         * math/auto-libm-test-out: Regenerated.
18336         * math/gen-libm-have-vector-test.sh: Do not check for START.
18337         * sysdeps/i386/fpu/libm-test-ulps: Update.
18338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18340         [BZ #18612]
18341         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
18342         arguments, just return 0.5 times the argument, with underflow
18343         forced as needed.
18344         * math/auto-libm-test-in: Add more tests of j1.
18345         * math/auto-libm-test-out: Regenerated.
18347         [BZ #16559]
18348         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
18349         (__ieee754_j1): Force underflow exception for small results.
18350         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
18351         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
18352         (__ieee754_j1f): Force underflow exception for small results.
18353         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18354         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18355         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18356         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
18357         (__ieee754_j1l): Force underflow exception for small results.
18358         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18359         * math/auto-libm-test-in: Add more tests of j1 and jn.
18360         * math/auto-libm-test-out: Regenerated.
18362         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
18363         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
18364         (PF_MPLS): Likewise.
18365         (AF_IB): Likewise.
18366         (AF_MPLS): Likewise.
18367         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
18368         value and macro.
18369         (MS_RMT_MASK): Include MS_LAZYTIME.
18371 2015-06-26  Mel Gorman  <mgorman@suse.de>
18373         [BZ #18502]
18374         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
18375         already minimal.
18377 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
18379         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
18380         (DT_MIPS_NUM): Update.
18381         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
18382         DT_MIPS_RLD_MAP_REL.
18384 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
18386         [BZ #16559]
18387         [BZ #18602]
18388         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
18389         round-to-nearest internally then recompute results that
18390         underflowed to zero in the original rounding mode.
18391         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
18392         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
18393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18394         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
18395         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
18396         * sysdeps/i386/fpu/libm-test-ulps: Update.
18397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18399 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
18401         * NEWS: Fixed description of link with vector math library.
18403 2015-06-25  Andreas Schwab  <schwab@suse.de>
18405         [BZ #18549]
18406         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
18407         * libio/test-fmemopen.c (do_test): Add test for it.
18409 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
18411         [BZ #17841]
18412         * Makeconfig (no-pie-ldflag): New.
18413         (+link): Set to $(+link-pie) if default to PIE.
18414         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
18415         * config.make.in (build-pie-default): New.
18416         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
18417         is default.  AC_SUBST.
18418         * configure: Regenerated.
18419         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
18421 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18423         * nptl/descr.h (struct pthread): Change type of field setxid_futex
18424         to 'unsigned int'.
18426         * resolv/gai_misc.h (struct waitlist): Change type of field
18427         counterp to 'volatile unsigned int *'.
18428         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
18429         FUTEXADDR and OLDVAL.
18430         * resolv/getaddrinfo_a.c (getaddrinfo_a):
18431         Give local variable TOTAL type 'volatile unsigned int'.
18432         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18433         * resolv/gai_suspend.c (gai_suspend):
18434         Give local variable CNTR type 'unsigned int'.
18436         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
18437         counterp to 'volatile unsigned int *'.
18438         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
18439         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
18440         (aio_suspend): Give local variable CNTR type 'unsigned int'.
18441         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
18442         Give local variable TOTAL type 'volatile unsigned int'.
18443         (struct async_waitlist): Change type of field counter to 'unsigned int'.
18445 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18447         [BZ #18383]
18448         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
18449         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
18450         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
18451         comment for i386/x86-64.
18452         (test-xfail-tst-tlsalign-extern-static): Removed.
18454 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18456         * math/test-double.h: New file.
18457         * math/test-float.h: Likewise.
18458         * math/test-ldouble.h: Likewise.
18459         * math/test-math-inline.h: Likewise.
18460         * math/test-math-no-inline.h: Likewise.
18461         * math/test-math-scalar.h: Likewise.
18462         * math/test-math-vector.h: Likewise.
18463         * math/test-vec-loop.h: Remove file.  Contents moved into
18464         test-math-vector.h.
18465         * math/libm-test.inc (MATHCONST): Do not document macro.
18466         * math/test-double.c: Include test-double.h, test-math-no-inline.h
18467         and test-math-scalar.h.
18468         (FUNC): Remove macro.
18469         (FUNC_TEST): Likewise.
18470         (FLOAT): Likewise.
18471         (MATHCONST): Likewise.
18472         (PRINTF_EXPR): Likewise.
18473         (PRINTF_XEXPR): Likewise.
18474         (PRINTF_NEXPR): Likewise.
18475         (TEST_DOUBLE): Likewise.
18476         (TEST_MATHVEC): Likewise.
18477         (__NO_MATH_INLINES): Likewise.
18478         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18479         and test-math-scalar.h.
18480         (FUNC): Remove macro.
18481         (FUNC_TEST): Likewise.
18482         (FLOAT): Likewise.
18483         (MATHCONST): Likewise.
18484         (PRINTF_EXPR): Likewise.
18485         (PRINTF_XEXPR): Likewise.
18486         (PRINTF_NEXPR): Likewise.
18487         (TEST_FLOAT): Likewise.
18488         (TEST_MATHVEC): Likewise.
18489         (__NO_MATH_INLINES): Likewise.
18490         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18491         and test-math-scalar.h.
18492         (FUNC): Remove macro.
18493         (FUNC_TEST): Likewise.
18494         (FLOAT): 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         (TEST_INLINE): Likewise.
18502         (__NO_MATH_INLINES): Likewise.
18503         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18504         test-math-scalar.h.
18505         (FUNC): Remove macro.
18506         (FUNC_TEST): Likewise.
18507         (FLOAT): Likewise.
18508         (MATHCONST): Likewise.
18509         (PRINTF_EXPR): Likewise.
18510         (PRINTF_XEXPR): Likewise.
18511         (PRINTF_NEXPR): Likewise.
18512         (TEST_FLOAT): Likewise.
18513         (TEST_MATHVEC): Likewise.
18514         (TEST_INLINE): Likewise.
18515         (__NO_MATH_INLINES): Likewise.
18516         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18517         and test-math-scalar.h.
18518         (FUNC): Remove macro.
18519         (FUNC_TEST): Likewise.
18520         (FLOAT): Likewise.
18521         (MATHCONST): Likewise.
18522         (PRINTF_EXPR): Likewise.
18523         (PRINTF_XEXPR): Likewise.
18524         (PRINTF_NEXPR): Likewise.
18525         (TEST_LDOUBLE): Likewise.
18526         (TEST_MATHVEC): Likewise.
18527         (TEST_INLINE): Likewise.
18528         (__NO_MATH_INLINES): Likewise.
18529         * math/test-ldouble.c: Include test-ldouble.h,
18530         test-math-no-inline.h and test-math-scalar.h.
18531         (FUNC): Remove macro.
18532         (FUNC_TEST): Likewise.
18533         (FLOAT): Likewise.
18534         (MATHCONST): Likewise.
18535         (PRINTF_EXPR): Likewise.
18536         (PRINTF_XEXPR): Likewise.
18537         (PRINTF_NEXPR): Likewise.
18538         (TEST_LDOUBLE): Likewise.
18539         (TEST_MATHVEC): Likewise.
18540         (__NO_MATH_INLINES): Likewise.
18541         * math/test-double-vlen2.h: Include test-double.h,
18542         test-math-no-inline.h and test-math-vector.h.
18543         (FLOAT): Remove macro.
18544         (FUNC): Likewise.
18545         (MATHCONST): Likewise.
18546         (PRINTF_EXPR): Likewise.
18547         (PRINTF_XEXPR): Likewise.
18548         (PRINTF_NEXPR): Likewise.
18549         (TEST_DOUBLE): Likewise.
18550         (TEST_MATHVEC): Likewise.
18551         (__NO_MATH_INLINES): Likewise.
18552         (CNCT): Likewise.
18553         (CONCAT): Likewise.
18554         (WRAPPER_NAME): Likewise.
18555         (WRAPPER_DECL): Likewise.
18556         (WRAPPER_DECL_ff): Likewise.
18557         (WRAPPER_DECL_fFF): Likewise.
18558         (VECTOR_WRAPPER): Likewise.
18559         (VECTOR_WRAPPER_ff): Likewise.
18560         (VECTOR_WRAPPER_fFF): Likewise.
18561         (VEC_LEN): New macro.
18562         * math/test-double-vlen4.h: Include test-double.h,
18563         test-math-no-inline.h and test-math-vector.h.
18564         (FLOAT): Remove macro.
18565         (FUNC): Likewise.
18566         (MATHCONST): Likewise.
18567         (PRINTF_EXPR): Likewise.
18568         (PRINTF_XEXPR): Likewise.
18569         (PRINTF_NEXPR): Likewise.
18570         (TEST_DOUBLE): Likewise.
18571         (TEST_MATHVEC): Likewise.
18572         (__NO_MATH_INLINES): Likewise.
18573         (CNCT): Likewise.
18574         (CONCAT): Likewise.
18575         (WRAPPER_NAME): Likewise.
18576         (WRAPPER_DECL): Likewise.
18577         (WRAPPER_DECL_ff): Likewise.
18578         (WRAPPER_DECL_fFF): Likewise.
18579         (VECTOR_WRAPPER): Likewise.
18580         (VECTOR_WRAPPER_ff): Likewise.
18581         (VECTOR_WRAPPER_fFF): Likewise.
18582         (VEC_LEN): New macro.
18583         * math/test-double-vlen8.h: Include test-double.h,
18584         test-math-no-inline.h and test-math-vector.h.
18585         (FLOAT): Remove macro.
18586         (FUNC): Likewise.
18587         (MATHCONST): Likewise.
18588         (PRINTF_EXPR): Likewise.
18589         (PRINTF_XEXPR): Likewise.
18590         (PRINTF_NEXPR): Likewise.
18591         (TEST_DOUBLE): Likewise.
18592         (TEST_MATHVEC): Likewise.
18593         (__NO_MATH_INLINES): Likewise.
18594         (CNCT): Likewise.
18595         (CONCAT): Likewise.
18596         (WRAPPER_NAME): Likewise.
18597         (WRAPPER_DECL): Likewise.
18598         (WRAPPER_DECL_ff): Likewise.
18599         (WRAPPER_DECL_fFF): Likewise.
18600         (VECTOR_WRAPPER): Likewise.
18601         (VECTOR_WRAPPER_ff): Likewise.
18602         (VECTOR_WRAPPER_fFF): Likewise.
18603         (VEC_LEN): New macro.
18604         * math/test-float-vlen4.h: Include test-float.h,
18605         test-math-no-inline.h and test-math-vector.h.
18606         (FLOAT): Remove macro.
18607         (FUNC): Likewise.
18608         (MATHCONST): Likewise.
18609         (PRINTF_EXPR): Likewise.
18610         (PRINTF_XEXPR): Likewise.
18611         (PRINTF_NEXPR): Likewise.
18612         (TEST_FLOAT): Likewise.
18613         (TEST_MATHVEC): Likewise.
18614         (__NO_MATH_INLINES): Likewise.
18615         (CNCT): Likewise.
18616         (CONCAT): Likewise.
18617         (WRAPPER_NAME): Likewise.
18618         (WRAPPER_DECL): Likewise.
18619         (WRAPPER_DECL_ff): Likewise.
18620         (WRAPPER_DECL_fFF): Likewise.
18621         (VECTOR_WRAPPER): Likewise.
18622         (VECTOR_WRAPPER_ff): Likewise.
18623         (VECTOR_WRAPPER_fFF): Likewise.
18624         (VEC_LEN): New macro.
18625         * math/test-float-vlen8.h: Include test-float.h,
18626         test-math-no-inline.h and test-math-vector.h.
18627         (FLOAT): Remove macro.
18628         (FUNC): Likewise.
18629         (MATHCONST): Likewise.
18630         (PRINTF_EXPR): Likewise.
18631         (PRINTF_XEXPR): Likewise.
18632         (PRINTF_NEXPR): Likewise.
18633         (TEST_FLOAT): Likewise.
18634         (TEST_MATHVEC): Likewise.
18635         (__NO_MATH_INLINES): Likewise.
18636         (CNCT): Likewise.
18637         (CONCAT): Likewise.
18638         (WRAPPER_NAME): Likewise.
18639         (WRAPPER_DECL): Likewise.
18640         (WRAPPER_DECL_ff): Likewise.
18641         (WRAPPER_DECL_fFF): Likewise.
18642         (VECTOR_WRAPPER): Likewise.
18643         (VECTOR_WRAPPER_ff): Likewise.
18644         (VECTOR_WRAPPER_fFF): Likewise.
18645         (VEC_LEN): New macro.
18646         * math/test-float-vlen16.h: Include test-float.h,
18647         test-math-no-inline.h and test-math-vector.h.
18648         (FLOAT): Remove macro.
18649         (FUNC): Likewise.
18650         (MATHCONST): Likewise.
18651         (PRINTF_EXPR): Likewise.
18652         (PRINTF_XEXPR): Likewise.
18653         (PRINTF_NEXPR): Likewise.
18654         (TEST_FLOAT): Likewise.
18655         (TEST_MATHVEC): Likewise.
18656         (__NO_MATH_INLINES): Likewise.
18657         (CNCT): Likewise.
18658         (CONCAT): Likewise.
18659         (WRAPPER_NAME): Likewise.
18660         (WRAPPER_DECL): Likewise.
18661         (WRAPPER_DECL_ff): Likewise.
18662         (WRAPPER_DECL_fFF): Likewise.
18663         (VECTOR_WRAPPER): Likewise.
18664         (VECTOR_WRAPPER_ff): Likewise.
18665         (VECTOR_WRAPPER_fFF): Likewise.
18666         (VEC_LEN): New macro.
18667         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18668         test-vec-loop.h.
18669         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18670         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18671         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18672         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18673         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18674         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18675         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18677 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18679         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18680         (__getlogin_r): ... this.
18682 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18684         [BZ #18594]
18685         * math/s_ccosh.c (__ccosh): Compare with least normal value
18686         instead of comparing class with FP_SUBNORMAL.
18687         * math/s_ccoshf.c (__ccoshf): Likewise.
18688         * math/s_ccoshl.c (__ccoshl): Likewise.
18689         * math/s_cexp.c (__cexp): Likewise.
18690         * math/s_cexpf.c (__cexpf): Likewise.
18691         * math/s_cexpl.c (__cexpl): Likewise.
18692         * math/s_csin.c (__csin): Likewise.
18693         * math/s_csinf.c (__csinf): Likewise.
18694         * math/s_csinh.c (__csinh): Likewise.
18695         * math/s_csinhf.c (__csinhf): Likewise.
18696         * math/s_csinhl.c (__csinhl): Likewise.
18697         * math/s_csinl.c (__csinl): Likewise.
18698         * math/s_ctan.c (__ctan): Likewise.
18699         * math/s_ctanf.c (__ctanf): Likewise.
18700         * math/s_ctanh.c (__ctanh): Likewise.
18701         * math/s_ctanhf.c (__ctanhf): Likewise.
18702         * math/s_ctanhl.c (__ctanhl): Likewise.
18703         * math/s_ctanl.c (__ctanl): Likewise.
18704         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18705         csin, csinh, ctan and ctanh.
18706         * math/auto-libm-test-out: Regenerated.
18707         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18708         * sysdeps/i386/fpu/libm-test-ulps: Update.
18709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18711 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18713         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18714         return value is wrong, print the expected value too.
18716 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18718         [BZ #18585]
18719         * elf/readlib.c (is_gdb_python_file): New.
18720         (process_file): Don't issue errors on filenames with -gdb.py
18721         suffix.
18723 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18725         * math/auto-libm-test-in: Add more tests of csin and csinh.
18726         * math/auto-libm-test-out: Regenerated.
18727         * math/libm-test.inc (csin_test_data): Remove tests moved to
18728         auto-libm-test-in.
18729         (csinh_test_data): Likewise.
18731         [BZ #18593]
18732         * math/s_csin.c (__csin): Negate before rather than after possibly
18733         overflowing multiplication.
18734         * math/s_csinf.c (__csinf): Likewise.
18735         * math/s_csinh.c (__csinh): Likewise.
18736         * math/s_csinhf.c (__csinhf): Likewise.
18737         * math/s_csinhl.c (__csinhl): Likewise.
18738         * math/s_csinl.c (__csinl): Likewise.
18739         * math/auto-libm-test-in: Add some tests of csin and csinh.
18740         * math/auto-libm-test-out: Regenerated.
18741         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18742         (csinh_test_data): Likewise.
18743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18745         [BZ #18586]
18746         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18747         underflow exception for small results.
18749 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18751         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18753         variable and included header.
18754         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18755         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18756         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18757         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18758         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18759         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18760         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18761         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18762         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18763         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18764         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18765         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18766         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18767         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18768         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18769         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18771 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18773         [BZ #16526]
18774         [BZ #16538]
18775         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18776         (__sin): Force underflow exception for arguments with small
18777         absolute value.
18778         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18779         (__kernel_sinf): Force underflow exception for arguments with
18780         small absolute value.
18781         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18782         (__kernel_sincosl): Force underflow exception for arguments with
18783         small absolute value.
18784         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18785         (__kernel_sinl): Force underflow exception for arguments with
18786         small absolute value.
18787         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18788         (__kernel_sincosl): Force underflow exception for arguments with
18789         small absolute value.
18790         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18791         (__kernel_sinl): Force underflow exception for arguments with
18792         small absolute value.
18793         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18794         (__kernel_sinl): Force underflow exception for arguments with
18795         small absolute value.
18796         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18797         (__kernel_sinf): Force underflow exception for arguments with
18798         small absolute value.
18799         * math/auto-libm-test-in: Add more tests of sin and sincos.
18800         * math/auto-libm-test-out: Regenerated.
18802         [BZ #18245]
18803         [BZ #18583]
18804         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18805         (__kernel_standard_l): Use feholdexcept and fesetenv around
18806         conversion to double instead of special-casing overflow and
18807         underflow.
18808         * math/libm-test.inc (fmod_test_data): Add more tests.
18809         (remainder_test_data): Likewise.
18810         (sqrt_test_data): Likewise.
18812 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18814         [BZ #17403]
18815         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18816         atomic_read_barrier, atomic_write_barrier): Define.
18817         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18818         atomic_read_barrier, atomic_write_barrier): Define.
18820 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18822         * math/Makefile [$(PERL) != no]
18823         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18824         dependency on libm-test.stmp below the inclusion of Rules.
18826 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18830         and included header.
18831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18832         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18836         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18838         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18839         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18840         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18841         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18842         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18843         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18844         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18845         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18846         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18847         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18848         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18849         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18851 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18853         [BZ #18371]
18854         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18855         intermediate but not final result might underflow.
18856         * math/s_csqrtf.c (__csqrtf): Likewise.
18857         * math/s_csqrtl.c (__csqrtl): Likewise.
18858         * math/auto-libm-test-in: Add more tests of csqrt.
18859         * math/auto-libm-test-out: Regenerated.
18860         * sysdeps/i386/fpu/libm-test-ulps: Update.
18862         [BZ #18219]
18863         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18864         threshold on absolute value of exponent for which scaling is used.
18865         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18866         * math/auto-libm-test-in: Add more tests of exp2.
18867         * math/auto-libm-test-out: Regenerated.
18869 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18871         [BZ #17977]
18872         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18873         when initializing interface list, based on the bug analysis
18874         and the patch proposed by Eric Newton.
18875         * resolv/tst-res_hconf_reorder.c: New test.
18876         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18877         tst-res_hconf_reorder.
18878         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18879         and $(shared-thread-library).
18880         (tst-res_hconf_reorder-ENV): New variable.
18882         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18883         in comment.
18885 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18887         [BZ #16353]
18888         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18889         (__expm1): Force underflow exception for arguments with small
18890         absolute value.
18891         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18892         (__expm1f): Force underflow exception for arguments with small
18893         absolute value.
18894         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18895         (__expm1): Force underflow exception for arguments with small
18896         absolute value.
18897         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18898         (__expm1f): Force underflow exception for arguments with small
18899         absolute value.
18900         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18901         Check for small arguments before calling __expm1.
18902         * math/auto-libm-test-in: Do not mark underflow exceptions as
18903         possibly missing for bug 16353.
18904         * math/auto-libm-test-out: Regenerated.
18906 2015-06-22  Andreas Schwab  <schwab@suse.de>
18908         [BZ #18513]
18909         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18910         PTR queries.
18912 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18914         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18916         * string/strcoll_l.c: Remove unused struct element idxnow.
18918 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18920         [BZ #18569]
18921         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18922         underflow and return argument in case of subnormal argument.
18923         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18924         Likewise.
18925         * math/auto-libm-test-in: Add more tests of expm1.
18926         * math/auto-libm-test-out: Regenerated.
18928         [BZ #16361]
18929         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18930         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18931         tiny results.
18932         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18933         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18934         tiny results.
18935         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18936         mark underflow exceptions as possibly missing for bug 16361.
18937         * math/auto-libm-test-out: Regenerated.
18939 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18941         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18942         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18943         Remove variable.
18944         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18945         (test-xfail-XOPEN2K8/utmpx.h/conform).
18947         * conform/conformtest.pl ($xerrors): New variable.
18948         (note_error): New function.
18949         (compiletest): New argument $xfail.  Use not_error.
18950         (runtest): Likewise.
18951         (top level): Handle xfail- lines.  Update calls to compiletest and
18952         runtest.  Handle xfail- and optional- in headers listed with
18953         allow-header.
18954         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18955         (O_EXEC): Likewise.
18956         (O_SEARCH): Likewise.
18957         * conform/data/stropts.h-data (ioctl): Likewise.
18958         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18959         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18960         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18961         (msghdr.msg_controllen): Likewise.
18962         (cmsghdr.cmsg_len): Likewise.
18963         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18964         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18965         variable.
18966         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18967         (test-xfail-XPG4/stropts.h/conform): Likewise.
18968         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18969         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18970         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18971         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18972         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18973         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18974         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18975         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18976         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18977         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18978         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18979         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18980         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18981         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18982         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18983         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18984         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18985         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18986         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18988 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18990         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18991         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18992         definitions for proper unfolding of __MATHDECL_VEC.
18994 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18996         * benchtests/bench-strcoll.c:
18997         Include string.h.
18998         (main): Remove unused variable res.
19000 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19002         * timezone/Makefile (%/UTC %/Universal):
19003         Generate test-result files for UTC and Universal.
19005 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19007         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19009 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
19011         [BZ #16350]
19012         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
19013         for arguments with small absolute value.
19014         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
19015         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
19016         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
19017         (__asinh): Force underflow exception for arguments with small
19018         absolute value.
19019         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
19020         (__asinhf): Force underflow exception for arguments with small
19021         absolute value.
19022         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
19023         (__asinhl): Force underflow exception for arguments with small
19024         absolute value.
19025         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
19026         (__asinhl): Force underflow exception for arguments with small
19027         absolute value.
19028         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
19029         (__asinhl): Force underflow exception for arguments with small
19030         absolute value.
19031         * math/auto-libm-test-in: Do not mark underflow exceptions as
19032         possibly missing for bug 16350.
19033         * math/auto-libm-test-out: Regenerated.
19035         * include/bits/ipc.h: Remove file.
19036         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
19037         variable.
19038         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19039         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19040         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19041         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19042         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19043         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19044         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19045         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19046         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19048         * math/auto-libm-test-in: Remove spurious underflow allowance for
19049         tests of cexp.
19050         * math/auto-libm-test-out: Regenerated.
19052         [BZ #18558]
19053         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
19054         unconditional definition.
19055         (MCAST_BLOCK_SOURCE): Likewise.
19056         (MCAST_UNBLOCK_SOURCE): Likewise.
19057         (MCAST_LEAVE_GROUP): Likewise.
19058         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19059         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19060         (MCAST_MSFILTER): Likewise.
19061         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
19062         Remove variable.
19063         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19064         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19065         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19066         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19067         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19069 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
19071         * NEWS: Mention addition of x86_64 vector sincosf.
19072         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
19073         * math/test-float-vlen4.h: Likewise.
19074         * math/test-float-vlen8.h: Likewise.
19075         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19076         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
19077         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19078         * sysdeps/x86_64/fpu/Versions: New versions added.
19079         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19080         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19081         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
19083         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
19084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
19085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
19086         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
19087         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
19088         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
19089         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
19090         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
19091         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
19092         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
19093         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
19094         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
19095         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
19096         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19097         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19098         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19099         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19100         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19101         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19102         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19104         * NEWS: Mention addition of x86_64 vector sincos.
19105         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
19106         * math/math.h (__MATHDECL_VEC): New macro.
19107         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
19108         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
19109         declaration under condition.
19110         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
19111         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
19112         TEST_VEC_LOOP change.
19113         * math/test-double-vlen4.h: Likewise.
19114         * math/test-double-vlen8.h: Likewise.
19115         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
19116         * math/test-float-vlen4.h: Likewise.
19117         * math/test-float-vlen8.h: Likewise.
19118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19119         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
19120         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19121         * sysdeps/x86_64/fpu/Versions: New versions added.
19122         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19123         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19124         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19125         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
19126         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
19127         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
19128         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
19129         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
19130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
19131         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
19132         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
19133         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
19134         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
19135         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
19136         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
19137         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
19138         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
19139         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19142         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19143         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19144         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19145         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19147         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19148         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19149         redirections for powf.
19150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19151         * sysdeps/x86_64/fpu/Versions: New versions added.
19152         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19153         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19154         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19155         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
19156         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
19157         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
19158         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
19159         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
19160         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
19161         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
19162         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
19163         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
19164         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
19165         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
19166         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
19167         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
19168         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
19169         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19170         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19171         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19172         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19174         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19175         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19176         * math/test-float-vlen16.h: Fixed 2 argument macro.
19177         * math/test-float-vlen4.h: Likewise.
19178         * math/test-float-vlen8.h: Likewise.
19179         * NEWS: Mention addition of x86_64 vector powf.
19181 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
19183         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19184         and redefine.
19185         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19186         and redefine.
19187         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
19188         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19189         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19191         [BZ #18553]
19192         * resource/getpriority.c (getpriority): Rename to __getpriority
19193         and define as weak alias of __getpriority.
19194         * resource/setpriority.c (setpriority): Rename to __setpriority
19195         and define as weak alias of __setpriority.
19196         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
19197         __getpriority and define as weak alias of __getpriority.
19198         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19199         __setpriority and define as weak alias of __setpriority.
19200         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
19201         strong name.
19202         (setpriority): Use __setpriority as strong name.
19203         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
19204         __getpriority and define as weak alias of __getpriority.
19205         * include/sys/resource.h (__getpriority): Declare.  Use
19206         libc_hidden_proto.
19207         (__setpriority): Likewise.
19208         (getpriority): Don't use libc_hidden_proto.
19209         (setpriority): Likewise.
19210         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
19211         getpriority.  Call __setpriority instead of setpriority.
19212         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
19213         Remove variable.
19215         [BZ #18547]
19216         * misc/getttyent.c (getttynam): Rename to __getttynam and define
19217         as weak alias of __getttynam.  Use prototype function definition.
19218         Call __setttyent, __getttyent and __endttyent instead of
19219         setttyent, getttyent and endttyent.
19220         (getttyent): Rename to __getttyent and define as weak alias of
19221         __getttyent.  Call __setttyent instead of setttyent.  Call
19222         __fgets_unlocked instead of fgets_unlocked.
19223         (setttyent): Rename to __setttyent and define as weak alias of
19224         __setttyent.
19225         (endttyent): Rename to __endttyent and define as weak alias of
19226         __endttyent.
19227         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
19228         (__setttyent): Likewise.
19229         (__endttyent): Likewise.
19230         (getttyent): Don't use libc_hidden_proto.
19231         (setttyent): Likewise.
19232         (endttyent): Likewise.
19233         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
19234         __endttyent instead of setttyent, getttyent and endttyent.
19235         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
19236         Remove variable.
19238         [BZ #18546]
19239         * socket/recv.c (__recv): Use libc_hidden_def.
19240         * socket/socket.c (__socket): Likewise.
19241         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
19242         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
19243         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
19244         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
19245         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
19246         libc_hidden_def.
19247         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
19248         libc_hidden_weak.
19249         * include/sys/socket.h (__socket): Do not use attribute_hidden.
19250         Use libc_hidden_proto.
19251         (__recv): Likewise.
19252         * socket/Versions (libc): Export __recv and __socket at version
19253         GLIBC_PRIVATE.
19254         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
19255         instead of recv.
19256         (init_mq_netlink): Call __socket instead of socket.
19257         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
19258         Remove variable.
19260         [BZ #18545]
19261         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
19262         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
19263         hidden_weak.
19264         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
19265         define as alias of __mq_timedsend.  Use hidden_weak.
19266         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
19267         __mq_timedsend as strong name.
19268         (mq_timedreceive): Use __mq_timedreceive as strong name.
19269         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
19270         (__mq_timedreceive): Likewise.
19271         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
19272         __mq_timedreceive instead of mq_timedreceive.
19273         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
19274         instead of mq_timedsend.
19275         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
19276         Remove variable.
19278         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
19279         hidden_def and hidden_weak instead of libc_hidden_def and
19280         libc_hidden_weak.
19281         (top level): Refer to hidden_def in comment.
19282         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
19283         macro.  Use it instead of libc_hidden_def.
19284         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
19285         specify __GI_* name explicitly.
19286         (mq_timedreceive): Likewise.
19287         (mq_setattr): Likewise.
19289         [BZ #18544]
19290         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
19291         __pthread_barrier_init and define as weak alias of
19292         __pthread_barrier_init.
19293         * sysdeps/sparc/nptl/pthread_barrier_init.c
19294         (pthread_barrier_init): Likewise.
19295         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
19296         __pthread_barrier_wait and define as weak alias of
19297         __pthread_barrier_wait.
19298         * sysdeps/sparc/nptl/pthread_barrier_wait.c
19299         (pthread_barrier_wait): Likewise.
19300         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
19301         (pthread_barrier_wait): Likewise.
19302         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
19303         (pthread_barrier_wait): Likewise.
19304         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
19305         (pthread_barrier_wait): Likewise.
19306         * nptl/Versions (libpthread): Export __pthread_barrier_init and
19307         __pthread_barrier_wait at version GLIBC_PRIVATE.
19308         * include/pthread.h (__pthread_barrier_init): Declare.
19309         (__pthread_barrier_wait): Likewise.
19310         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
19311         Call __pthread_barrier_wait instead of pthread_barrier_wait.
19312         (helper_thread): Likewise.
19313         (init_mq_netlink): Call __pthread_barrier_init instead of
19314         pthread_barrier_init.
19316         [BZ #18542]
19317         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
19318         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
19319         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
19320         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
19321         vswscanf.
19322         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
19323         Remove variable.
19325         [BZ #18540]
19326         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
19327         strong alias of _IO_fflush.  Use libc_hidden_def.
19328         * libio/iofflush_u.c (fflush_unlocked): Rename to
19329         __fflush_unlocked and define as weak alias of __fflush_unlocked.
19330         Use libc_hidden_weak.
19331         * include/stdio.h (__fflush_unlocked): Declare.  Use
19332         libc_hidden_proto.
19333         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
19334         fflush_unlocked.
19335         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
19336         Remove variable.
19338         [BZ #18539]
19339         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
19340         define as weak alias of __addseverity.
19341         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
19342         Remove variable.
19343         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19344         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19345         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19347         [BZ #18536]
19348         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
19349         (__tfind): Likewise.
19350         (__tdelete): Likewise.
19351         (__twalk): Likewise.
19352         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
19353         __twalk to GLIBC_PRIVATE.
19354         * include/search.h (__tsearch): Use libc_hidden_proto.
19355         (__tfind): Likewise.
19356         (__tdelete): Likewise.
19357         (__twalk): Likewise.
19358         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
19359         Call __tdelete instead of tdelete.
19360         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
19361         tfind.  Call __tsearch instead of tsearch.
19362         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
19363         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
19364         Remove variable.
19365         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19367         [BZ #18534]
19368         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
19369         (dprintf): Define as a weak alias of __dprintf, not a strong
19370         alias.
19371         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
19372         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
19373         dprintf.
19374         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
19375         Remove variable.
19376         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19377         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19379         [BZ #18533]
19380         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
19381         not a strong alias.
19382         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
19383         Remove variable.
19385         [BZ #18532]
19386         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
19387         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
19388         (in6addr_loopback): Rename to __in6addr_loopback and define as
19389         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
19390         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
19391         libc_hidden_proto.
19392         (__in6addr_any): Likewise.
19393         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
19394         in6addr_any.
19395         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
19396         variable.
19397         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19399 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
19401         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
19402         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
19403         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19404         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19405         redirections for pow.
19406         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19407         * sysdeps/x86_64/fpu/Versions: New versions added.
19408         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19409         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19410         build of SSE, AVX2 and AVX512 IFUNC versions.
19411         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
19412         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
19413         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
19414         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
19415         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
19416         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
19417         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
19418         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
19419         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
19420         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
19421         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
19422         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
19423         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
19424         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
19425         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19427         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19428         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19429         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19430         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19431         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19432         * NEWS: Mention addition of x86_64 vector pow.
19434         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19435         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19436         redirections for expf.
19437         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19438         * sysdeps/x86_64/fpu/Versions: New versions added.
19439         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19440         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19441         build of SSE, AVX2 and AVX512 IFUNC versions.
19442         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
19443         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
19444         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
19445         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
19446         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
19447         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
19448         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
19449         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
19450         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
19451         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
19452         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
19453         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
19454         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
19455         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19456         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19457         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19460         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19461         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19462         * NEWS: Mention addition of x86_64 vector expf.
19464         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
19465         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
19466         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19467         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19468         redirections for exp.
19469         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19470         * sysdeps/x86_64/fpu/Versions: New versions added.
19471         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19472         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19473         build of SSE, AVX2 and AVX512 IFUNC versions.
19474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19475         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19476         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19477         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19478         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19479         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19480         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19481         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19482         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19483         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19484         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19485         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19486         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19487         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19488         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19489         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19490         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19491         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19492         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19493         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19494         * NEWS: Mention addition of x86_64 vector exp.
19496         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19497         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19498         redirections for logf.
19499         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19500         * sysdeps/x86_64/fpu/Versions: New versions added.
19501         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19502         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19503         build of SSE, AVX2 and AVX512 IFUNC versions.
19504         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19505         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19506         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19507         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19508         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19509         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19510         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19511         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19512         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19513         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19514         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19515         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19516         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19517         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19518         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19519         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19520         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19521         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19522         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19523         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19524         * NEWS: Mention addition of x86_64 vector logf.
19526         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19527         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19528         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19529         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19530         redirections for log.
19531         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19532         * sysdeps/x86_64/fpu/Versions: New versions added.
19533         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19534         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19535         build of SSE, AVX2 and AVX512 IFUNC versions.
19536         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19537         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19538         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19539         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19540         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19541         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19542         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19543         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19544         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19545         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19546         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19547         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19548         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19549         test.
19550         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19551         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19552         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19553         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19554         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19555         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19556         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19557         * NEWS: Mention addition of x86_64 vector log.
19559 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19561         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19562         cfi_adjust_cfa_offset argument.
19563         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19564         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19566         [BZ #18034]
19567         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19568         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19569         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19570         ordering using ldar.
19571         (_dl_tlsdesc_dynamic): Likewise.
19572         (_dl_tlsdesc_return_lazy): Likewise.
19573         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19574         relaxed atomics instead of volatile and synchronize with release store.
19575         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19576         volatile.
19577         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19579 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19583         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19584         * sysdeps/x86_64/fpu/Versions: New versions added.
19585         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19586         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19587         build of SSE, AVX2 and AVX512 IFUNC versions.
19588         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19589         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19590         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19591         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19592         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19593         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19594         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19595         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19596         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19597         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19598         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19599         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19600         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19601         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19602         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19603         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19604         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19605         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19606         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19607         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19608         * NEWS: Mention addition of x86_64 vector sinf.
19610 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19612         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19613         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19614         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19615         Remove variable.
19616         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19617         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19619 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19621         [BZ #18530]
19622         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19623         strong alias of _IO_fputs.  Use libc_hidden_def.
19624         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19625         and define as weak alias of __fputs_unlocked.  Use
19626         libc_hidden_weak.
19627         * include/stdio.h (__fputs_unlocked): Declare.  Use
19628         libc_hidden_proto.
19629         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19630         fputs_unlocked.
19632         [BZ #18529]
19633         * resolv/netdb.h [__USE_POSIX]: Change condition to
19634         [__USE_XOPEN2K].
19635         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19636         not expect.
19637         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19638         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19639         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19640         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19641         [XPG4 || UNIX98] (AI_ALL): Likewise.
19642         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19643         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19644         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19645         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19646         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19647         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19648         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19649         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19650         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19651         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19652         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19653         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19654         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19655         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19656         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19657         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19658         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19659         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19660         [XPG4 || UNIX98] (gai_strerror): Likewise.
19661         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19662         [XPG4 || UNIX98] (getnameinfo): Likewise.
19664         [BZ #18528]
19665         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19666         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19667         __USE_XOPEN2K8].
19668         (getgrent): Likewise.
19669         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19670         expect.
19671         [XPG3 || POSIX2008] (endgrent): Likewise.
19672         [XPG3] (setgrent): Likewise.
19673         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19674         variable.
19675         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19677         [BZ #18527]
19678         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19679         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19680         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19681         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19682         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19683         * include/unistd.h (__getlogin_r): Declare.  Use
19684         libc_hidden_proto.
19685         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19686         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19687         variable.
19688         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19689         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19690         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19692 2015-06-12  Martin Sebor  <msebor@redhat.com>
19694         [BZ #18512]
19695         * Makerules (check-install-supported): New target.
19696         (install): Add check-install-supported as a dependency.
19697         * manual/install.texi (Installing the C Library): Document
19698         that overriding prefix and exec_prefix is not supported.
19699         Mention DESTDIR.
19700         * INSTALL: Regenerate from the above.
19702 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19704         [BZ #18519]
19705         * posix/Versions (libc): Export __libc_pread at version
19706         GLIBC_PRIVATE.
19707         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19708         instead of pread.
19709         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19710         variable.
19712         [BZ #18522]
19713         * misc/efgcvt_r.c
19714         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19715         (cvt_symbol): Use weak_alias instead of strong_alias.
19716         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19717         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19718         Remove variable.
19719         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19720         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19722         [BZ #18520]
19723         * inet/herrno.c (h_errno): Rename to __h_errno.
19724         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19725         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19726         to __h_errno instead of h_errno.
19727         * nptl/herrno.c (h_errno): Rename to __h_errno.
19728         (__h_errno_location): Refer to __h_errno not h_errno.
19729         * resolv/Versions (h_errno): Rename to __h_errno.
19730         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19731         Remove variable.
19732         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19734 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19736         * configure.ac: More strict check for AVX512 assembler support.
19737         * configure: Regenerated.
19739         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19740         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19741         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19742         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19743         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19744         * sysdeps/x86_64/fpu/Versions: New versions added.
19745         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19746         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19747         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19748         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19749         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19750         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19751         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19752         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19753         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19754         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19755         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19756         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19757         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19758         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19759         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19760         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19761         test.
19762         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19763         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19764         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19765         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19766         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19767         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19768         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19769         * NEWS: Mention addition of x86_64 vector sin.
19771 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19773         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19774         comment.
19776 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19778         [BZ #18479]
19779         * nptl/pt-interp.c: New file.
19780         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19781         Add pt-interp.
19782         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19783         $(common-objpfx)runtime-linker.h.
19785 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19787         * Makeconfig (+interp): Remove unused variable.
19788         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19789         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19790         $(elf-objpfx)runtime-linker.h.
19791         ($(elf-objpfx)runtime-linker.h): Rename to
19792         $(common-objpfx)runtime-linker.h and move ...
19793         * Makerules [$(build-shared) = yes]: ... here.
19794         * elf/interp.c: Include <runtime-linker.h> instead of
19795         <elf/runtime-linker.h>.
19797 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19799         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19800         (__gettimeofday_syscall): Remove vsyscall fallback.
19801         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19802         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19803         Add syscall fallback function.
19804         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19805         if vDSO is not present.
19806         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19807         fallback function.
19808         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19809         present.
19810         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19811         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19813 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19815         [BZ #18497]
19816         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19817         of wcscmp.
19818         (wcscmp): Define as weak alias of WCSCMP.
19819         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19820         wcscoll.
19821         (USE_HIDDEN_DEF): Define.
19822         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19823         __wcscoll.  Don't use libc_hidden_weak.
19824         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19825         wcscmp.
19826         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19827         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19828         __GI_wcscmp.
19829         (weak_alias): Undefine and redefine.
19830         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19831         __wcscmp and define as weak alias of __wcscmp.
19832         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19833         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19834         (__wcscoll): Likewise.
19835         (wcscmp): Don't use libc_hidden_proto.
19836         (wcscoll): Likewise.
19837         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19838         wcscoll.
19839         * posix/regexec.c (check_node_accept_bytes): Likewise.
19840         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19841         variable.
19842         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19843         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19845         [BZ #18507]
19846         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19847         __fstatvfs and define as weak alias of __fstatvfs.  Use
19848         libc_hidden_weak.
19849         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19850         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19851         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19852         Define as alias of __fstatvfs, not fstatvfs.
19853         (fstatvfs64): Likewise.
19854         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19855         Define as alias of __statvfs, not statvfs.
19856         (statvfs64): Likewise.
19857         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19858         Remove variable.
19860 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19863         (HAVE_GETCPU_VSYSCALL): Define.
19864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19865         (HAVE_GETCPU_VSYSCALL): Likewise.
19866         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19867         * sysdeps/unix/sysv/linux/sched_getcpu.c
19868         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19869         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19870         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19871         prototype.
19872         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19873         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19874         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19876         Define.
19877         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19878         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19879         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19880         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19882 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19884         * sysdeps/x86_64/fpu/Makefile: New file.
19885         * sysdeps/x86_64/fpu/Versions: New file.
19886         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19887         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19888         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19889         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19890         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19891         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19892         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19894         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19895         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19897         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19898         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19900         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19901         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19902         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19903         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19904         * sysdeps/x86_64/configure: Regenerated.
19905         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19906         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19907         * manual/install.texi (Configuring and compiling): Document
19908         --disable-mathvec.
19909         * INSTALL: Regenerated.
19910         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19912         * math/Makefile: Added rules for vector tests.
19913         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19914         declaration under condition.
19915         * math/test-double-vlen2.h: New file.
19916         * math/test-double-vlen4.h: New file.
19917         * math/test-double-vlen8.h: New file.
19918         * math/test-vec-loop.h: Added initialization macro.
19919         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19921         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19922         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19923         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19924         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19926         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19927         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19928         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19929         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19931         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19932         * sysdeps/x86_64/fpu/Versions: New versions added.
19933         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19936         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19937         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19940         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19941         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19942         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19943         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19944         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19945         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19946         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19947         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19949         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19950         * NEWS: Mention addition of x86_64 vector cosf.
19952         * math/Makefile: Added CFLAGS for new tests.
19953         * math/test-float-vlen16.h: New file.
19954         * math/test-float-vlen4.h: New file.
19955         * math/test-float-vlen8.h: New file.
19956         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19957         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19958         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19960         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19962         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19966         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19968 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19970         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19971         * locale/programs/ld-ctype.c: Likewise.
19973 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19975         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19976         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19977         bit_ZMM16_31_state): New macro.
19978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19979         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19981 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19983         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19985 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19987         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19989 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19991         [BZ #18498]
19992         * libio/memstream.c (open_memstream): Rename to __open_memstream
19993         and define as weak alias of __open_memstream.
19994         * include/stdio.h (__open_memstream): Declare.  Use
19995         libc_hidden_proto.
19996         (open_memstream): Don't use libc_hidden_proto.
19997         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19998         open_memstream.
19999         * posix/getopt.c (_getopt_internal_r): Likewise.
20000         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
20001         variable.
20002         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
20003         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
20004         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
20006         [BZ #18496]
20007         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20008         instead of wcrtomb.
20010         [BZ #18483]
20011         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
20012         [__USE_XOPEN2K8].  Remove redundant #endif.
20013         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
20014         Remove redundant #if.
20015         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
20016         Remove variable.
20017         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
20018         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
20020         [BZ #18495]
20021         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
20022         (__iswlower): Likewise.
20023         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
20024         (__iswlower): Likewise.
20025         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
20026         instead of towlower.
20027         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
20028         instead of iswlower.  Call __towupper instead of towupper.
20029         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
20030         instead of iswalnum.
20032 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20034         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
20035         errors to stderr.
20037 2015-06-05  Florian Weimer  <fweimer@redhat.com>
20039         [BZ #15661]
20040         [BZ #17322]
20041         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20042         Check for overflow properly.  Check for O_APPEND.  Ignore large
20043         file system block sizes.  Add comments about problems.
20044         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
20045         * manual/filesys.texi (Storage Allocation): New node.
20047 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20049         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
20050         cancellable syscalls.
20051         (SYS_ify): Add guard to no redefine it.
20052         (INLINE_SYSCALL): Likewise.
20053         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
20054         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
20055         SYSCALL_CANCEL instead.
20056         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
20057         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20058         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20059         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20060         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20061         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
20062         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
20063         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
20064         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
20065         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
20066         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
20067         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
20068         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
20069         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
20070         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
20071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20072         Likewise.
20073         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20074         (__libc_pread64): Likewise.
20075         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
20076         (__libc_preadv): Likewise.
20077         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
20078         (__libc_readv64): Likewise.
20079         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20080         (__libc_pwrite): Likewise.
20081         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20082         (__libc_pwrite64): Likewise.
20083         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
20084         (__libc_pwritev): Likewise.
20085         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
20086         (__libc_pwritev64): Likewise.
20087         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
20088         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20089         (sync_file_range): Likewise.
20090         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
20091         Likewise.
20092         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
20093         Likewise.
20094         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20095         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20096         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20097         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20098         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20099         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20100         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
20101         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
20102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20103         Likewise.
20104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20105         (__libc_read64): Likewise.
20106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
20107         Likewise.
20108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
20109         Likewise.
20110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
20111         Likewise.
20112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
20113         Likewise.
20114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20115         (__libc_pread64): Likewise.
20116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
20117         Likewise.
20118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20119         (__libc_pwrite64): Likewise.
20120         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
20121         (sync_file_range): Likewise.
20122         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
20123         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20124         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20125         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
20126         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
20127         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20128         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20129         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
20130         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
20131         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
20132         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20133         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20134         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20135         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20136         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
20137         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20138         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20139         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20140         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20141         Likewise.
20142         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
20143         Likewise.
20144         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
20145         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
20146         Likewise.
20147         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
20148         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
20149         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
20150         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
20151         Likewise.
20152         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
20153         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
20154         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
20155         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
20156         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
20158 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
20160         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
20161         Include dl-vdso.
20162         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
20163         Use VDSO routines for gettimeofday, clock_gettime if
20164         available.
20165         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
20166         Declare VDSO symbols.
20167         * sysdeps/unix/sysv/linux/arm/sysdep.h:
20168         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
20169         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20170         * sysdeps/unix/sysv/linux/arm/Versions: Add
20171         __vdso_clock_gettime.
20173 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20175         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
20176         be an inline implementation regardless of library is built within.
20177         (open_not_cancel_2): Likewise.
20178         (__read_nocancel): Likewise.
20179         (__write_nocancel): Likewise.
20180         (openat_not_cancel): Likewise.
20181         (openat_not_cancel_3): Likewise.
20182         (openat64_not_cancel): Likewise.
20183         (openat64_not_cancel_3): Likewise.
20184         (__close_nocancel): Likewise.
20185         (pause_not_cancel): Likewise.
20186         (nanosleep_not_cancel): Likewise.
20187         (sigsuspend_not_cancel): Likewise.
20189 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20191         [BZ #14958]
20192         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
20193         wake-up.
20194         (__pthread_rwlock_rdlock_slow): Likewise.
20195         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20196         Likewise.
20197         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20198         Likewise.
20199         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
20200         * nptl/tst-rwlock16.c: New file.
20201         * nptl/Makefile (tests): Add new test.
20203 2015-06-04  Torvald Riegel  <triegel@redhat.com>
20205         [BZ #18324]
20206         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
20207         missing wake-up of readers.
20208         * nptl/tst-rwlock15.c: New file.
20209         * nptl/Makefile (tests): Add new test.
20211 2015-06-03  Roland McGrath  <roland@hack.frob.com>
20213         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
20214         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
20215         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
20216         and __nacl_supply_interface_rtld.
20217         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
20218         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
20219         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
20220         Add __nacl_supply_interface_rtld.
20221         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
20223 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20225         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
20226         isfinite.
20227         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20228         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
20230 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
20232         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
20233         __signbit* with standard C99 macros.
20234         * math/e_exp10l.c: Likewise.
20235         * math/e_exp2l.c: Likewise.
20236         * math/e_scalb.c: Likewise.
20237         * math/e_scalbf.c: Likewise.
20238         * math/e_scalbl.c: Likewise.
20239         * math/s_ldexp.c: Likewise.
20240         * math/s_ldexpf.c: Likewise.
20241         * math/s_ldexpl.c: Likewise.
20242         * math/w_atan2.c: Likewise.
20243         * math/w_atan2f.c: Likewise.
20244         * math/w_atan2l.c: Likewise.
20245         * math/w_cosh.c: Likewise.
20246         * math/w_coshf.c: Likewise.
20247         * math/w_coshl.c: Likewise.
20248         * math/w_exp10.c: Likewise.
20249         * math/w_exp10f.c: Likewise.
20250         * math/w_exp10l.c: Likewise.
20251         * math/w_exp2.c: Likewise.
20252         * math/w_exp2f.c: Likewise.
20253         * math/w_exp2l.c: Likewise.
20254         * math/w_fmod.c: Likewise.
20255         * math/w_fmodf.c: Likewise.
20256         * math/w_fmodl.c: Likewise.
20257         * math/w_hypot.c: Likewise.
20258         * math/w_hypotf.c: Likewise.
20259         * math/w_hypotl.c: Likewise.
20260         * math/w_jnl.c: Likewise.
20261         * math/w_lgamma.c: Likewise.
20262         * math/w_lgamma_r.c: Likewise.
20263         * math/w_lgammaf.c: Likewise.
20264         * math/w_lgammaf_r.c: Likewise.
20265         * math/w_lgammal.c: Likewise.
20266         * math/w_lgammal_r.c: Likewise.
20267         * math/w_pow.c: Likewise.
20268         * math/w_powf.c: Likewise.
20269         * math/w_powl.c: Likewise.
20270         * math/w_remainder.c: Likewise.
20271         * math/w_remainderf.c: Likewise.
20272         * math/w_remainderl.c: Likewise.
20273         * math/w_scalb.c: Likewise.
20274         * math/w_scalbf.c: Likewise.
20275         * math/w_scalbl.c: Likewise.
20276         * math/w_scalbln.c: Likewise.
20277         * math/w_scalblnf.c: Likewise.
20278         * math/w_scalblnl.c: Likewise.
20279         * math/w_sinh.c: Likewise.
20280         * math/w_sinhf.c: Likewise.
20281         * math/w_sinhl.c: Likewise.
20282         * math/w_tgamma.c: Likewise.
20283         * math/w_tgammaf.c: Likewise.
20284         * math/w_tgammal.c: Likewise.
20285         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20286         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
20287         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20288         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20289         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20290         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20291         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20292         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
20293         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
20294         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
20295         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20296         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20297         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20298         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
20299         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
20300         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
20301         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
20302         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
20303         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20304         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20305         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20306         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20307         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20309         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20310         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20311         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
20312         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
20313         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
20314         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20315         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
20316         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
20317         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
20318         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
20319         * stdio-common/printf_fp.c: Likewise.
20320         * stdio-common/printf_fphex.c: Likewise.
20321         * stdio-common/printf_size.c: Likewise.
20323 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
20325         [BZ #18470]
20326         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
20327         strnlen.
20328         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
20329         Remove variable.
20330         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
20331         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
20332         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
20333         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
20334         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
20335         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
20336         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
20337         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
20338         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
20339         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
20341         [BZ #18468]
20342         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
20343         weak alias of __wmemchr.  Use libc_hidden_weak.
20344         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
20345         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
20346         instead of wmemchr.
20348 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20350         [BZ #18383]
20351         * elf/tst-tlsalign-extern.c: New file.
20352         * elf/tst-tlsalign-extern-static.c: New file.
20353         * elf/tst-tlsalign-vars.c: New file.
20354         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
20355         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
20356         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
20357         ($(objpfx)tst-tlsalign-extern-static): Likewise.
20358         (test-xfail-tst-tlsalign-extern-static): New variable.
20360 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
20362         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
20363         Use variable name _sc_err instead of err.
20364         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
20365         instead of ret.
20366         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
20367         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
20368         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
20369         (INLINE_SYSCALL): Likewise.
20371         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
20372         * include/string.h (__strnlen): Use libc_hidden_proto.
20373         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
20374         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
20375         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
20376         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
20377         (libc_hidden_def): Undefine and redefine.
20378         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
20379         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
20380         __GI_strnlen.
20381         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
20382         libc_hidden_def.
20383         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
20385         [BZ #18469]
20386         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
20387         weak alias of __towlower.  Use libc_hidden_weak.
20388         (towupper): Rename to __towupper and define as weak alias of
20389         __towupper.  Use libc_hidden_weak.
20390         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
20391         (__towupper): Likewise.
20392         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
20393         __towlower instead of towlower.
20395 2015-06-02  Roland McGrath  <roland@hack.frob.com>
20397         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
20398         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
20400 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20402         * sysdeps/aarch64/libm-test-ulps: Update.
20404 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20406         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
20407         Define.
20408         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
20410         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20411         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20412         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
20413         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
20414         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
20416 2015-06-01  Martin Sebor  <msebor@redhat.com>
20418         [BZ #18116]
20419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20420         (__setcontext): Use extended four-operand version of mtsf whenever
20421         possible.
20422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20423         (__novec_swapcontext): Likewise.
20425 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20427         * benchtests/scripts/compare_bench.py: New file.
20428         * benchtests/scripts/import_bench.py (mean): New function.
20429         (split_list): Likewise.
20430         (do_for_all_timings): Likewise.
20431         (compress_timings): Likewise.
20433         * benchtests/scripts/import_bench.py: New file.
20434         * benchtests/scripts/validate_benchout.py: Import import_bench
20435         instead of jsonschema.
20436         (validate_bench): Remove function.
20437         (main): Use import_bench.
20439 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
20441         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
20442         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
20444 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20448 2015-05-28  Roland McGrath  <roland@hack.frob.com>
20450         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
20451         set THREAD_SELF->tid to a magic value and futex-wake it.
20452         Pass its address to the thread_exit system call.
20453         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
20454         bit is clear.
20455         * sysdeps/nacl/lowlevellock.h: New file.
20456         * sysdeps/nacl/lll_timedwait_tid.c: New file.
20458         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
20459         Add TIMEOUT to current time, don't subtract it.
20461 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
20463         [BZ #2981]
20464         [BZ #18422]
20465         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
20466         ($(objpfx)tst-audit2.out): Also depend on
20467         $(objpfx)tst-auditmod9b.so.
20468         * elf/tst-audit2.c: Include <dlfcn.h>.
20469         (calloc_called): New.
20470         (calloc): Allow to be called more than once.
20471         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
20473 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20475         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20476         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20478 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20480         * stdlib/monetary.h: Fix comment.
20482 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20484         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20485         Avoid using variables in #defines that might cause shadowing.
20486         (INTERNAL_VSYSCALL_CALL): Likewise.
20488 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20490         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20492         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20493         * nptl/lll_timedlock_wait.c: ... to this new file.
20494         * nptl/Makefile (libpthread-routines): Add it.
20495         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20496         * nptl/lll_timedwait_tid.c: ... to this new file.
20497         * nptl/Makefile (libpthread-routines): Add it.
20498         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20499         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20500         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20501         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20502         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20503         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20504         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20505         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20506         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20507         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20509 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20511         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20512         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20513         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20515         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20516         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20517         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20518         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20519         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20520         * sysdeps/unix/sysv/linux/tile/sysdep.h
20521         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20522         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20523         using vDSO syscall macro.
20525 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20527         [BZ #17293]
20528         * uk_UA: Fix sorting order for Ukrainian locale
20530 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20532         * stdlib/monetary.h: Fix comment.
20534 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20536         [BZ #18234]
20537         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20538         st_mtim and st_ctim members.
20539         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20540         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20541         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20542         (struct stat64): Likewise.
20543         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20544         (struct stat64): Likewise.
20545         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20546         (struct stat64): Likewise.
20548 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20550         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20551         Define and include sysdep-vdso.h.
20552         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20553         Likewise.
20554         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20555         Likewise.
20556         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20557         Define with VDSO_SYMBOL and use PTR_MANGLE.
20558         (__vdso_clock_gettime): Likewise.
20559         (__vdso_clock_getres): Likewise.
20560         (_libc_vdso_platform_setup): Likewise.
20561         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20562         Likewise.
20563         (_libc_vdso_platform_setup): Likewise.
20564         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20565         Likewise.
20566         (__vdso_clock_gettime): Likewise.
20567         (__vdso_clock_getres): Likewise.
20568         (__vdso_get_tbfreq): Likewise.
20569         (__vdso_getcpu): Likewise.
20570         (__vdso_time): Likewise.
20571         (__vdso_sigtramp_rt64): Likewise.
20572         (__vdso_signtramp32): Likewise.
20573         (__vdso_sigtramp_rt32): Likewise.
20574         (_libc_vdso_platform_setup): Likewise.
20575         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20576         Likewise.
20577         (__vdso_clock_gettime): Likewise.
20578         (__vdso_clock_getres): Likewise.
20579         (_libc_vdso_platform_setup): Likewise.
20580         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20581         Likewise.
20582         (__vdso_clock_gettime): Likewise.
20583         (_libc_vdso_platform_setup): Likewise.
20584         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20585         Likewise.
20586         (__vdso_getcpu): Likewise.
20587         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20588         Use VDSO_SYMBOL macro to define.
20589         (__vdso_clock_gettime): Likewise.
20590         (__vdso_clock_getres): Likewise.
20591         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20592         Likewise.
20593         (__vdso_clock_gettime): Likewise.
20594         (__vdso_clock_getres): Likewise.
20595         (__vdso_get_tbfreq): Likewise.
20596         (__vdso_getcpu): Likewise.
20597         (__vdso_time): Likewise.
20598         (__vdso_sigtramp_rt64): Likewise.
20599         (__vdso_signtramp32): Likewise.
20600         (__vdso_sigtramp_rt32): Likewise.
20601         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20602         Likewise.
20603         (__vdso_clock_gettime): Likewise.
20604         (__vdso_clock_getres): Likewise.
20605         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20606         Likewise.
20607         (__vdso_clock_gettime): Likewise.
20608         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20609         Likewise.
20610         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20611         macro.
20612         (INTERNAL_VSYSCALL): Likewise.
20613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20614         Remove macro.
20615         (INTERNAL_VSYSCALL): Likewise.
20616         (INTERNAL_VSYSCALL_NCS): Likewise.
20617         (INTERNAL_VSYSCALL_CALL): New macro.
20618         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20619         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20620         Likewise.
20621         (INTERNAL_VSYSCALL): Likewise.
20622         (INTERNAL_VSYSCALL_NCS): Likewise.
20623         (INTERNAL_VSYSCALL_CALL): New macro.
20624         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20626         (INLINE_VSYSCALL): Remove macro.
20627         (INTERNAL_VSYSCALL): Remove macro.
20628         (INTERNAL_VSYSCALL_NCS): Remove macro.
20629         (INTERNAL_VSYSCALL_CALL): New macro.
20630         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20631         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20632         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20633         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20634         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20636         (INLINE_VSYSCALL): Remove macro.
20637         (INTERNAL_VSYSCALL): Likewise.
20638         (INTERNAL_VSYSCALL_NCS): Likewise.
20639         (INTERNAL_VSYSCALL_CALL): New macro.
20640         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20641         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20642         PTR_DEMANGLE on vDSO pointer.
20643         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20644         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20645         macro.
20646         (INTERNAL_SYSCALL): Likewise.
20647         (INTERNAL_VSYSCALL_NCS): Remove macro.
20648         (INTERNAL_VSYSCALL_CALL): New macro.
20649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20650         Remove macro.
20651         (INTERNAL_VSYSCALL): Likewise.
20652         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20653         sysdep-vdso.h instead of libc-vdso.h.
20654         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20655         definition.
20656         (INLINE_VSYSCALL): Likewise.
20657         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20658         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20659         definition.
20660         (INLINE_VSYSCALL): Likewise.
20661         (INTERNAL_VSYSCALL): Likewise.
20662         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20663         * sysdeps/unix/sysv/linux/timespec_get.c
20664         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20665         (timespec_get): Use ANSI prototype.
20666         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20667         and definition for Linux.
20669 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20671         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20672         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20674 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20676         [BZ #2981]
20677         [BZ #18410]
20678         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20679         for missing DT_PLTRELSZ.
20681 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20683         Remove obsolete aliases that broke 'locale -a'
20684         [BZ #18412]
20685         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20686         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20687         breaking some applications that use 'locale -a' output.
20688         Change the encoding of this file from Latin-1 to ASCII to avoid
20689         other potential problems with people grepping this file.
20691 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20693         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20694         -fasynchronous-unwind-tables.
20695         (CFLAGS-sendto.c): Likewise.
20696         (CFLAGS-sendmsg.c): Likewise.
20697         (CFLAGS-connect.c): Likewise.
20698         (CFLAGS-recvmsg.c): Likewise.
20699         (CFLAGS-recvfrom.c): Likewise.
20700         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20701         (SOCKETCALL): New macro: non-cancellable socketcall.
20702         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20703         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20704         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20705         * sysdeps/unix/sysv/linux/accept.c: New file.
20706         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20707         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20708         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20709         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20710         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20711         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20712         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20713         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20714         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20715         * sysdeps/unix/sysv/linux/send.c: Likewise.
20716         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20717         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20718         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20719         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20720         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20721         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20722         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20723         prototype.
20724         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20725         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20726         instead of __internal_xxx function.
20727         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20728         prototype.
20729         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20730         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20731         instead of __internal_xxx function.
20732         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20733         prototype.
20734         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20735         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20736         instead of __internal_xxx function.
20737         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20738         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20739         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20740         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20741         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20742         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20743         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20744         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20745         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20746         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20747         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20748         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20749         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20750         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20751         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20752         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20753         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20754         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20755         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20756         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20759         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20760         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20761         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20762         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20763         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20764         * sysdeps/unix/sysv/linux/send.S: Likewise.
20765         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20766         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20767         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20768         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20769         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20770         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20771         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20772         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20773         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20774         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20775         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20776         socketcall is implemented in GLIBC.
20778 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20780         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20781         (__fma): Ignore uninitialized warnings around packing.
20782         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20783         (__fmaf): Ignore uninitialized warnings around packing.
20784         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20785         (__fmal): Ignore uninitialized warnings around packing.
20787         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20788         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20789         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20790         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20792         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20793         switch statement into default case.
20794         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20796         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20797         a conditional in forcing "inexact".
20798         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20799         Likewise.
20801 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20803         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20804         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20805         for each INTERNAL_SYSCALL use.
20807 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20809         [BZ #438]
20810         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20811         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20812         variable.
20814         [BZ #18444]
20815         * string/basename.c (basename): Rename to __basename and define as
20816         weak alias of __basename.  Use libc_hidden_weak.
20817         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20818         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20819         __basename instead of basename.
20820         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20821         Remove variable.
20822         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20824 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20826         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20827         (_IO_JUMPS_FILE_plus): New.
20828         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20829         _IO_CAST_FIELD_ACCESS.
20830         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20831         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20832         * libio/freopen.c (freopen): Likewise.
20833         * libio/freopen64.c (freopen64): Likewise.
20834         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20835         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20836         * libio/iofwide.c (_IO_fwide): Likewise.
20837         * libio/memstream.c (open_memstream): Likewise.
20838         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20839         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20840         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20842 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20844         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20845         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20846         NADJ.
20847         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20848         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20849         NADJ.
20850         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20851         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20852         NADJ.
20854         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20855         (p == 4) case.
20857         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20858         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20859         Remove variable.
20860         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20861         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20862         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20864 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20866         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20867         Adjust jump table label generation macros.
20869 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20871         * stdio-common/vfprintf.c (vfprintf): Move local variables
20872         args_malloced, specs, specs_malloced, and the code after
20873         do_positional to the printf_positional function.
20874         (printf_positional): New function.
20876 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20878         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20879         function.
20880         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20881         STEP4_TABLE, process_arg): Move macro definitions
20882         out of the vfprintf function.  (Cosmetic change only.)
20884 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20886         * benchtests/Makefile (stdio-common-bench): Define.
20887         (benchset): Add stdio-common-bench.
20888         * sprintf-inputs: New file.
20889         * sprintf-source.c: New file.
20891 2015-05-21  Andreas Schwab  <schwab@suse.de>
20893         [BZ #13028]
20894         [BZ #17053]
20895         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20896         of struct __res_state.
20897         * resolv/res_send.c (__libc_res_nsend): Likewise.
20898         (get_nsaddr): New function.
20899         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20900         statp directly.
20902 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20904         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20905         -D_POSIX_C_SOURCE=199506L.
20907         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20909         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20910         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20911         Do not mention otherwise.
20912         [POSIX] (_XOPEN_VERSION): Do not expect.
20913         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20914         [POSIX] (_POSIX2_C_BIND): Likewise.
20915         [POSIX] (_POSIX2_VERSION): Likewise.
20916         [POSIX] (_XOPEN_XPG2): Likewise.
20917         [POSIX] (_XOPEN_XPG3): Likewise.
20918         [POSIX] (_XOPEN_XPG4): Likewise.
20919         [POSIX] (_XOPEN_UNIX): Likewise.
20920         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20921         [POSIX] (_POSIX_BARRIERS): Likewise.
20922         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20923         [POSIX] (_POSIX_CPUTIME): Likewise.
20924         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20925         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20926         [POSIX] (_POSIX_SHELL): Likewise.
20927         [POSIX] (_POSIX_SPAWN): Likewise.
20928         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20929         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20930         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20931         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20932         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20933         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20934         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20935         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20936         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20937         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20938         [POSIX] (_POSIX2_PBS): Likewise.
20939         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20940         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20941         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20942         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20943         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20944         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20945         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20946         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20947         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20948         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20949         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20950         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20951         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20952         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20953         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20954         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20955         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20956         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20957         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20958         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20959         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20960         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20961         [POSIX] (_SC_2_C_BIND): Likewise.
20962         [POSIX] (_SC_2_C_VERSION): Likewise.
20963         [POSIX] (_SC_2_PBS): Likewise.
20964         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20965         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20966         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20967         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20968         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20969         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20970         [POSIX] (_SC_BARRIERS): Likewise.
20971         [POSIX] (_SC_BASE): Likewise.
20972         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20973         [POSIX] (_SC_DEVICE_IO): Likewise.
20974         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20975         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20976         [POSIX] (_SC_FD_MGMT): Likewise.
20977         [POSIX] (_SC_FIFO): Likewise.
20978         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20979         [POSIX] (_SC_FILE_LOCKING): Likewise.
20980         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20981         [POSIX] (_SC_IOV_MAX): Likewise.
20982         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20983         [POSIX] (_SC_NETWORKING): Likewise.
20984         [POSIX] (_SC_PAGE_SIZE): Likewise.
20985         [POSIX] (_SC_PASS_MAX): Likewise.
20986         [POSIX] (_SC_PIPE): Likewise.
20987         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20988         [POSIX] (_SC_REGEXP): Likewise.
20989         [POSIX] (_SC_SHELL): Likewise.
20990         [POSIX] (_SC_SIGNALS): Likewise.
20991         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20992         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20993         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20994         [POSIX] (_SC_USER_GROUPS): Likewise.
20995         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20996         [POSIX] (_SC_STREAMS): Likewise.
20997         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20998         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20999         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
21000         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
21001         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
21002         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
21003         [POSIX] (_PC_FILESIZEBITS): Likewise.
21004         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
21005         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
21006         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
21007         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
21008         [POSIX] (uid_t): Likewise.
21009         [POSIX] (gid_t): Likewise.
21010         [POSIX] (off_t): Likewise.
21011         [POSIX] (pid_t): Likewise.
21012         [POSIX] (cuserid): Allow.
21013         (_SC_2_CHAR_TERM): Require constant.
21014         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
21015         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
21016         variable.
21018 2015-05-20  Roland McGrath  <roland@hack.frob.com>
21020         * sysdeps/nacl/pthread-pids.h: New file.
21021         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
21022         (create_thread): Use __nacl_get_tid to initialize PD->tid.
21024         * nptl/pthread-pids.h: New file.
21025         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
21026         * nptl/nptl-init.c: Include <pthread-pids.h>.
21027         (__pthread_initialize_minimal_internal):
21028         Call __pthread_initialize_pids instead of set_tid_address syscall.
21030         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
21031         * sysdeps/posix/usleep.c: ... here.
21033 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21035         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
21036         call_pselect6 object.
21037         [$(subdir) = io]: Remove call_sync_file_range object.
21038         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
21039         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
21040         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
21041         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
21043 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
21045         * math/s_cproj.c: Add include "math_private.h".
21046         * math/s_cprojf.c: Likewise.
21047         * math/s_cprojl.c: Likewise.
21049 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
21051         [BZ #18244]
21052         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
21053         high mantissa bit when testing whether P is a NaN.
21054         * math/libm-test.inc (remainder_test_data): Add more tests.
21055         (remquo_test_data): Likewise.
21057         [BZ #18049]
21058         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
21059         below -32, return the argument, with underflow if subnormal.
21060         * math/auto-libm-test-in: Add more tests of atanh.
21061         * math/auto-libm-test-out: Regenerated.
21063 2015-05-19  Roland McGrath  <roland@hack.frob.com>
21065         [BZ #18434]
21066         * nptl/tst-sem15.c: New file.
21067         * nptl/Makefile (tests): Add it.
21068         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
21069         s/<</>>/ to fix typo in EOVERFLOW check.
21070         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
21072 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21074         * manual/strings.texi (envz_remove): Fix typo in safety
21075         annotations.
21077 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
21078             Steve Ellcey  <sellcey@imgtec.com>
21080         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
21081         in order to avoid strict alias warnings.
21082         (iruserok_af): Ditto for ra.
21084 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
21086         [BZ #17581]
21087         * malloc/hooks.c
21088         (magicbyte): Convert to a function and avoid returning 0x01.
21089         (mem2mem_check): Avoid using a length byte equal to the magic byte.
21090         (mem2chunk_check): Fix unsigned comparisons to zero.
21091         Hoist defs of sz and magic.
21093 2015-05-19  Richard Henderson  <rth@redhat.com>
21095         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
21097         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21099 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21101         [BZ #16159]
21102         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
21103         * malloc/arena.c (arena_lock): Check if arena is corrupt.
21104         (reused_arena): Find a non-corrupt arena.
21105         (heap_trim): Pass arena to unlink.
21106         * malloc/hooks.c (malloc_check_get_size): Pass arena to
21107         malloc_printerr.
21108         (top_check): Likewise.
21109         (free_check): Likewise.
21110         (realloc_check): Likewise.
21111         * malloc/malloc.c (malloc_printerr): Add arena argument.
21112         (unlink): Likewise.
21113         (munmap_chunk): Adjust.
21114         (ARENA_CORRUPTION_BIT): New macro.
21115         (arena_is_corrupt): Likewise.
21116         (set_arena_corrupt): Likewise.
21117         (sysmalloc): Use mmap if there are no usable arenas.
21118         (_int_malloc): Likewise.
21119         (__libc_malloc): Don't fail if arena_get returns NULL.
21120         (_mid_memalign): Likewise.
21121         (__libc_calloc): Likewise.
21122         (__libc_realloc): Adjust for additional argument to
21123         malloc_printerr.
21124         (_int_free): Likewise.
21125         (malloc_consolidate): Likewise.
21126         (_int_realloc): Likewise.
21127         (_int_memalign): Don't touch corrupt arenas.
21128         * malloc/tst-malloc-backtrace.c: New test case.
21130         * Makefile (summarize-tests): Fix return value on success.
21132         * manual/string.texi (Envz Functions): Add envz_remove.
21134 2015-05-18  Roland McGrath  <roland@hack.frob.com>
21136         * sysdeps/posix/opendir.c: Include <stdbool.h>.
21137         (invalid_name): New function, broken out of ...
21138         (__opendirat): ... here.  Call it.
21139         (need_isdir_precheck): New function, broken out of ...
21140         (__opendirat): ... here.  Call it.
21141         Use __fxstatat64, not __xstatat64.
21142         (opendir_oflags): New function, broken out of ...
21143         (__opendirat): ... here.  Call it.
21144         (opendir_tail): New function, broken out of ...
21145         (__opendirat): ... here.  Call it.
21146         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
21147         opendir_tail, rather than punting to __opendirat.
21148         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
21150 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21152         * .gitignore: Ignore generated *.pyc.
21154 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
21156         * include/stdio.h: Define __need_wint_t.
21157         * test-skeleton.c: Avoid `for' loop initial declaration.
21158         * nptl/tst-initializers1.c: Use test-skeleton.c.
21160 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21162         [BZ #18418]
21163         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
21165 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21167         [BZ #16352]
21168         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
21169         (__ieee754_atanh): Force underflow exception for results with
21170         small absolute value.
21171         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
21172         (__ieee754_atanhf): Force underflow exception for results with
21173         small absolute value.
21174         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
21175         (__ieee754_atanh): Force underflow exception for results with
21176         small absolute value.
21177         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
21178         (__ieee754_atanhf): Force underflow exception for results with
21179         small absolute value.
21180         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
21181         (__ieee754_atanhl): Force underflow exception for results with
21182         small absolute value.
21183         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
21184         (__ieee754_atanhl): Force underflow exception for results with
21185         small absolute value.
21186         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
21187         (__ieee754_atanhl): Force underflow exception for results with
21188         small absolute value.
21189         * math/auto-libm-test-in: Do not allow missing underflow
21190         exceptions from atanh.
21191         * math/auto-libm-test-out: Regenerated.
21193         [BZ #18221]
21194         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
21195         2**-28 as threshold for returning x or +/- 1/x.
21196         * math/auto-libm-test-in: Add more tests of tan.
21197         * math/auto-libm-test-out: Regenerated.
21199         [BZ #18220]
21200         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21201         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
21202         * math/auto-libm-test-in: Add another test of lgamma.
21203         * math/auto-libm-test-out: Regenerated.
21205 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
21207         * stdio-common/printf_fp.c (___printf_fp): Use abs.
21208         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
21209         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
21210         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
21211         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
21212         (ADD2A): Use fabs.  (SUB2A): Use fabs.
21213         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
21214         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
21215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
21216         (log1): Use fabs.  (my_log2): Use fabs.
21217         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
21218         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
21219         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
21220         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
21221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
21222         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
21223         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
21224         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
21225         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
21226         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
21227         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
21229 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
21231         [BZ #18217]
21232         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
21233         as threshold for returning 1 - x.
21234         * math/auto-libm-test-in: Add more tests of erfc.
21235         * math/auto-libm-test-out: Regenerated.
21237 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
21239         [BZ #18196]
21240         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
21241         threshold for large arguments.
21242         * math/auto-libm-test-in: Add another test of atan.
21243         * math/auto-libm-test-out: Regenerated.
21245         [BZ #16339]
21246         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
21247         (__log1p): Force underflow exception for results with small
21248         absolute value.
21249         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
21250         (__log1pf): Force underflow exception for results with small
21251         absolute value.
21252         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
21253         (__log1p): Force underflow exception for results with small
21254         absolute value.
21255         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
21256         (__log1pf): Force underflow exception for results with small
21257         absolute value.
21258         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
21259         (__log1pl): Force underflow exception for results with small
21260         absolute value.
21261         * math/auto-libm-test-in: Do not allow missing underflow
21262         exceptions from log1p.
21263         * math/auto-libm-test-out: Regenerated.
21265 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
21266             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21268         [BZ #16704]
21269         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
21271 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
21273         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
21274         (libmvec): New variable.
21275         * configure.ac: Added option for mathvec build.
21276         * configure: Regenerated.
21277         * mathvec/Depend: New file.
21278         * mathvec/Makefile: New file.
21279         * shlib-versions: Added libmvec.
21280         * math/Makefile: Added rule for libm.so installation.
21282         * bits/math-vector.h: New file.
21283         * bits/libm-simd-decl-stubs.h: New header.
21284         * math/Makefile (headers): Added new header
21285         libm-simd-decl-stubs.h.
21286         * math/math.h (__MATHCALL_VEC): New macro.
21288         * math/gen-libm-have-vector-test.sh: Script generates series of macros
21289         for conditions in testing functions.
21290         * math/Makefile: Added call of libm-have-vector-test.sh.
21291         * math/libm-test.inc (HAVE_VECTOR): New macros.
21293         * math/libm-test.inc: START refactored.
21294         * math/test-double.c (TEST_MATHVEC): Add define.
21295         * math/test-float.c: Likewise.
21296         * math/test-idouble.c: Likewise.
21297         * math/test-ifloat.c: Likewise.
21298         * math/test-ildoubl.c: Likewise.
21299         * math/test-ldouble.c: Likewise.
21300         * sysdeps/generic/math-tests-arch.h
21301         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
21302         architecture check.
21304         * math/test-double.c (FUNC_TEST): New macro.
21305         * math/test-float.c: Likewise.
21306         * math/test-idouble.c: Likewise.
21307         * math/test-ifloat.c: Likewise.
21308         * math/test-ildoubl.c: Likewise.
21309         * math/test-ldouble.c: Likewise.
21310         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
21312 2015-05-13  Roland McGrath  <roland@hack.frob.com>
21314         * sysdeps/nacl/fdopendir.c: New file.
21316         * dirent/scandir-tail.c: New file.
21317         * dirent/scandir64-tail.c: New file.
21318         * dirent/Makefile (routines): Add them.
21319         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
21320         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
21321         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
21322         [!SCANDIR] (SCANDIR_TAIL): New macro.
21323         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
21324         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
21325         (SCANDIRAT): Macro removed.
21326         (SCANDIR_TAIL): New macro.
21327         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
21328         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
21329         (SCANDIRAT): Just call __opendirat and __scandir_tail.
21330         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
21331         (READDIR): Macro removed.
21332         (SCANDIR_TAIL): New macro.
21333         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
21334         (SCANDIR_TAIL): New macro.
21336         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
21337         * dirent/scandir-cancel.c: ... to this new file.
21338         * dirent/Makefile (routines): Add it.
21339         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
21340         * sysdeps/unix/sysv/linux/i386/scandir64.c
21341         (SKIP_SCANDIR_CANCEL): Macro removed.
21342         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
21344         * dirent/tst-scandir.c: New file.
21345         * dirent/tst-scandir64.c: New file.
21346         * dirent/Makefile (tests): Add them.
21348 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21350         [BZ #18409]
21351         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
21353 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21355         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
21356         list.
21358 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
21360         * benchtests/bench-strcoll.c: New benchmark.
21361         * benchtests/Makefile: Generate locales and run benchmark.
21362         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
21363         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
21364         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
21365         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
21366         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
21367         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
21368         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
21369         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
21370         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
21371         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
21372         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
21373         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
21374         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
21375         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
21376         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
21377         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
21378         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
21379         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
21380         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
21381         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
21382         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
21383         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
21384         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
21385         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
21387 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
21389         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
21390         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21392 2015-05-12  Roland McGrath  <roland@hack.frob.com>
21394         * posix/uname-values.h: New file.
21395         * posix/uname.c: Include that instead of <config-name.h>.
21396         * sysdeps/nacl/uname-values.h: New file.
21397         * sysdeps/arm/nacl/uname-values.h: New file.
21399 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
21401         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
21402         splitting into fields.
21404 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
21406         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
21407         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
21408         * locale/localeinfo.h: Add enum collation_encoding_type.
21409         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
21410         * programs/ld-collate.c (collate_output): Add encoding type info.
21411         * string/strcoll_l.c (STRDIFF): New function.
21412         * (STRCOLL): Use STRDIFF to skip over equal prefix.
21413         * wcsmbs/wcscoll_l.c: Define STRDIFF.
21415 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
21417         [BZ #18397]
21418         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
21419         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
21420         <fpu_control.h> instead of <math/fpu_control.c>.
21421         * sysdeps/mips/mips32/fpu/Makefile: New file.
21423 2015-05-11  Andreas Schwab  <schwab@suse.de>
21425         [BZ #18007]
21426         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
21427         nss_endgrent.
21428         (_nss_compat_endgrent): Call nss_endgrent.
21429         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
21430         nss_endpwent.
21431         (_nss_compat_endpwent): Call nss_endpwent.
21432         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
21433         needent, call nss_setspent only if non-zero.
21434         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
21435         (internal_endspent): Don't call nss_endspent.
21436         (_nss_compat_endspent): Call nss_endspent.
21437         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
21438         Remove.  All uses removed.
21439         (internal_setent): Remove parameter stayopen, add parameter
21440         stream.  Use it instead of global variable.
21441         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
21442         (internal_endent, internal_getent): Add parameter stream.  Use it
21443         instead of global variable.
21444         (CONCAT(_nss_files_end,ENTNAME))
21445         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
21446         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
21447         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
21448         uses removed.
21449         (internal_setent, internal_endent): Add parameter stream.  Use it
21450         instead of global variable.
21451         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
21452         stream.
21453         (get_next_alias): Add parameter stream.
21454         (_nss_files_getaliasent_r): Pass global stream.
21455         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
21456         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
21457         (_nss_files_gethostbyname4_r): Pass local stream to
21458         internal_setent, internal_getent and internal_endent.  Remove
21459         locking.
21461 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21463         * tst-strfmon1.c (tests): Update expected currency symbol.
21465 2015-05-08  Roland McGrath  <roland@hack.frob.com>
21467         * sysdeps/nacl/gethostname.c: New file.
21469 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
21471         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
21472         and sinh.
21473         * math/auto-libm-test-out: Regenerated.
21474         * sysdeps/i386/fpu/libm-test-ulps: Update.
21475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21477 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21479         [BZ #18125]
21480         * stdlib/tst-setcontext3.c: New file.
21481         * stdlib/tst-setcontext3.sh: New file.
21482         * stdlib/Makefile (tests): Add tst-setcontext3.
21483         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21484         to verify test program created output file.
21485         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21486         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21487         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21488         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21490 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21492         [BZ #18383]
21493         * elf/tst-tlsalign.c: New file.
21494         * elf/tst-tlsalign-static.c: New file.
21495         * elf/tst-tlsalign-lib.c: New file.
21496         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21497         (tests-static): Add tst-tlsalign-static.
21498         (modules-names): Add tst-tlsalign-lib.
21499         (test-xfail-tst-tlsalign): New variable.
21500         (test-xfail-tst-tlsalign-static): New variable.
21502         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21503         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21505 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21507         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21508         csqrt, erfc, sin and sincos.
21509         * math/auto-libm-test-out: Regenerated.
21510         * sysdeps/i386/fpu/libm-test-ulps: Update.
21511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21513 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21515         * sysdeps/aarch64/libm-test-ulps: Update.
21517 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21519         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21520         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21521         * math/auto-libm-test-out: Regenerated.
21522         * sysdeps/i386/fpu/libm-test-ulps: Update.
21523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21525 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21527         [BZ #18265]
21528         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21529         (wcsncpy): Likewise.
21531 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21533         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21534         Assume __ASSUME_FALLOCATE is always true.
21535         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21536         (__posix_fallocate64_l64): Likweise.
21537         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21538         (posix_fallocate): Likewise.
21539         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21540         (__posix_fallocate64_l64): Likewise.
21541         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21542         [!__ASSUME_FALLOCATE]: Add comment.
21544 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21546         * sysdeps/unix/sysv/linux/i386/Makefile
21547         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21548         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21549         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21550         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21551         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21552         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21553         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21555 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21557         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21558         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21559         tgamma.
21560         * math/auto-libm-test-out: Regenerated.
21561         * sysdeps/i386/fpu/libm-test-ulps: Update.
21562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21564 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21566         * math/auto-libm-test-in: Add more tests of tgamma.
21567         * math/auto-libm-test-out: Regenerated.
21568         * sysdeps/i386/fpu/libm-test-ulps: Update.
21569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21571         * math/auto-libm-test-in: Add more tests of tanh.
21572         * math/auto-libm-test-out: Regenerated.
21573         * sysdeps/i386/fpu/libm-test-ulps: Update.
21574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21576         * math/auto-libm-test-in: Add more tests of tan.
21577         * math/auto-libm-test-out: Regenerated.
21578         * sysdeps/i386/fpu/libm-test-ulps: Update.
21579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21581         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21582         * math/auto-libm-test-out: Regenerated.
21583         * sysdeps/i386/fpu/libm-test-ulps: Update.
21584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21586         * math/auto-libm-test-in: Add another test of pow.
21587         * math/auto-libm-test-out: Regenerated.
21588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21590         * math/auto-libm-test-in: Add more tests of lgamma.
21591         * math/auto-libm-test-out: Regenerated.
21592         * sysdeps/i386/fpu/libm-test-ulps: Update.
21593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21595         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21596         log1p.
21597         * math/auto-libm-test-out: Regenerated.
21598         * sysdeps/i386/fpu/libm-test-ulps: Update.
21599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21601 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21603         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21604         Elf64_Chdr structs and ELFCOMPRESS constants.
21606 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21608         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21609         expm1.
21610         * math/auto-libm-test-out: Regenerated.
21611         * sysdeps/i386/fpu/libm-test-ulps: Update.
21612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21614         * math/auto-libm-test-in: Add more tests of erf and erfc.
21615         * math/auto-libm-test-out: Regenerated.
21616         * sysdeps/i386/fpu/libm-test-ulps: Update.
21617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21619 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21621         * config.h.in (HAVE_AARCH64_BE): Add.
21623 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21625         * math/auto-libm-test-in: Add more tests of csqrt.
21626         * math/auto-libm-test-out: Regenerated.
21627         * sysdeps/i386/fpu/libm-test-ulps: Update.
21628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21630         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21631         * math/auto-libm-test-out: Regenerated.
21632         * sysdeps/i386/fpu/libm-test-ulps: Update.
21633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21635         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21637 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21639         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21640         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21642         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21643         (euidaccess, eaccess): Define as weak aliases.
21645         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21646         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21647         but __suseconds_t is often 'long int' so some sources assume that
21648         type is being used (e.g. they use %ld to print tv_usec).
21650 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21652         [BZ #18007]
21653         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21654         (CVE-2014-8121)
21655         * nss/tst-nss-getpwent.c: New file.
21656         * nss/Makefile (tests): Add new test.
21658 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21660         [BZ #18346]
21661         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21662         exponents less than 48 as cases where high part of mantissa needs
21663         examining to determine whether argument is integral.
21664         * math/libm-test.inc (round_test_data): Add more tests.
21666 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21668         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21670 2015-04-27  David S. Miller  <davem@davemloft.net>
21672         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21673         __tls_get_addr.
21674         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21676 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21678         [BZ#18333]
21679         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21681 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21683         [BZ#18333]
21684         * time/tzset.c (parse_tzname): Return error on memory allocation
21685         failure.
21686         * test-skeleton.c (struct temp_name_list): Change type of name
21687         member to non-const.
21688         (add_temp_file): Create a copy of the file name.
21689         (delete_temp_files): Deallocate memory.
21690         (create_temp_file): Add comment.
21692 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21694         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21695         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21697 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21699         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21700         * sysdeps/arm/configure: Regenerated.
21702 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21704         [BZ #17715]
21705         * time/tzfile.c (__tzfile_read): Check for large values of
21706         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21707         * time/tzset.c (__tzstring_len): New function, based on the old
21708         __tzstring function.
21709         (__tzstring): Call __tzstring_len.
21710         (parse_tzname): New helper function extracted from
21711         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21712         the input string.
21713         (parse_offset): New helper function extracted from
21714         __tzset_parse_tz.  Replace switch with fallthrough with
21715         initialization before sscanf.
21716         (parse_rule): Likewise.
21717         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21718         new-style function definition.
21719         * timezone/Makefile (tests): Add tst-tzset.
21720         (tst-tzset.out): Dependencies on time zone files.
21721         (tst-tzset-ENV): Set TZDIR.
21722         (testdata/XT%): Copy crafted time zone files.
21723         * timezone/README: Mention crafted time zone files.
21724         * timezone/testdata/XT1, timezone/testdata/XT2,
21725         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21726         files.
21727         * timezone/tst-tzset.c: New test.
21729 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21731         * Makeconfig (+gccwarn): Remove -Winline.
21733 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21735         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21737 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21739         * NEWS: Mention sysconf() cache information support for s390.
21740         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21742 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21744         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21745         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21746         (__nearbyint): Likewise.
21747         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21748         (copysignl): Likewise.
21750 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21752         [BZ #18287]
21753         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21754         based on padding.  (CVE-2015-1781)
21756 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21758         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21759         libc-vdso.h.
21760         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21761         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21762         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21763         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21764         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21765         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21766         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21767         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21768         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21769         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21770         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21771         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21772         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21773         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21774         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21775         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21776         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21777         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21778         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21779         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21780         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21781         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21782         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21784 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21786         * stdlib/setenv.c (__add_to_environ):
21787         Dump core quickly if setenv (..., NULL, ...) is called.
21788         This time, do it the right way, and pacify GCC with a pragma.
21790 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21792         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21793         IMAP->l_prev cannot be null, and #if out the code for the contrary
21794         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21795         believe that NS (&_dl_ns[NSID]) could point outside the array.
21797         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21798         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21799         before using NSID as an index.
21801 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21803         [BZ #17825]
21804         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21805         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21806         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21808 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21810         Add preliminary port to Google Native Client on ARM.
21811         * abi-tags (.*-.*-nacl.*): New entry.
21812         * sysdeps/arm/nacl: New directory.
21813         * sysdeps/nacl: New directory.
21815 2015-04-16  David S. Miller  <davem@davemloft.net>
21817         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21818         lowlevellock-futex.h
21820 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21822         * sysdeps/tile/configure.ac: New file.
21823         * sysdeps/tile/configure: Regenerated.
21825 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21827         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21828         conditionals for weak_alias and libc_hidden_weak.
21829         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21830         libc_hidden_weak and weak_alias.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21832         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21833         and weak_alias for static one.
21835 2015-04-15  David S. Miller  <davem@davemloft.net>
21837         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21839 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21841         [BZ #18206]
21842         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21843           Use signed comparision instead of substraction to avoid
21844           overflow bug.
21845         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21846           Take the sign of ret.
21847         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21848           Do not expect precise return values. Only the sign matters.
21849         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21850         * wcsmbs/test-wcsncmp.c: New File.
21851         * string/test-strncmp.c: Add wcsncmp support.
21853 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21855         [BZ #6792]
21856         * math/w_log1p.c: New file.
21857         * math/w_log1pf.c: Likewise.
21858         * math/w_log1pl.c: Likewise.
21859         * math/Makefile (libm-calls): Add w_log1p.
21860         * math/s_log1pl.c (log1pl): Remove weak_alias.
21861         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21862         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21863         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21864         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21865         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21866         [NO_LONG_DOUBLE] (log1pl): Likewise.
21867         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21868         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21869         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21870         (log1p): Remove long_double_symbol.
21871         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21872         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21873         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21874         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21875         remove weak_alias for corresponding log1p function.
21876         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21877         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21878         * sysdeps/ia64/fpu/w_log1p.c: New file.
21879         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21880         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21881         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21883 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21885         [BZ #18247]
21886         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21887         decimal exponent by 1.
21888         * stdlib/tst-strtod-round-data: Add more tests.
21889         * stdlib/tst-strtod-round.c (tests): Regenerated.
21891 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21893         * math/auto-libm-test-in: Add more tests of clog and clog10.
21894         * math/auto-libm-test-out: Regenerated.
21895         * sysdeps/i386/fpu/libm-test-ulps: Update.
21896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21898 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21900         * Makeconfig (module-cppflags): Exclude all .v.i files.
21901         (skip-module-cppflags): Variable removed.
21903         * configure.ac (libc_config_ok): Initialize before reading
21904         preconfigure scripts, not after.
21905         * configure: Regenerated.
21907         * test-skeleton.c (TIMEOUT): Move #define to top level.
21908         (main): Grok environment variable TEST_DIRECT.  If set, print
21909         test expectation details into that file and then behave as if
21910         given --direct.
21912 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21914         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21915         warning on 32-bit.
21917 2015-04-08  David S. Miller  <davem@davemloft.net>
21919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21921 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21923         * math/auto-libm-test-in: Add more tests of atanh.
21924         * math/auto-libm-test-out: Regenerated.
21925         * sysdeps/i386/fpu/libm-test-ulps: Update.
21926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21928         * math/auto-libm-test-in: Add more tests of atan.
21929         * math/auto-libm-test-out: Regenerated.
21930         * sysdeps/i386/fpu/libm-test-ulps: Update.
21931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21933 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21935         * elf/pldd.c (main): Rewrite to use struct
21936         scratch_buffer instead of extend_alloca.
21937         * elf/pldd-xx.c (find_maps): Likewise.
21938         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21939         <alloca.h>.
21940         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21941         scratch_buffer instead of extend_alloca.
21942         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21943         grp/compat-initgroups.c.
21944         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21945         Rewrite to use struct scratch_buffer instead of extend_alloca.
21946         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21947         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21949 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21951         * math/auto-libm-test-in: Add more tests of cbrt.
21952         * math/auto-libm-test-out: Regenerated.
21953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21955         * math/auto-libm-test-in: Add more tests of cabs.
21956         * math/auto-libm-test-out: Regenerated.
21957         * sysdeps/i386/fpu/libm-test-ulps: Update.
21958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21960         [BZ #18210]
21961         [BZ #18211]
21962         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21963         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21964         computations.
21965         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21966         clog10.
21967         * math/auto-libm-test-out: Regenerated.
21968         * sysdeps/i386/fpu/libm-test-ulps: Update.
21969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21971         [BZ #18197]
21972         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21973         (atan): Set FE_TONEAREST mode for internal computations.
21974         * math/auto-libm-test-in: Add more tests of atan.
21975         * math/auto-libm-test-out: Regenerated.
21977 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21979         [BZ #17930]
21980         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21982 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21984         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21986 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21988         * include/scratch_buffer.h: New file.
21989         * malloc/scratch_buffer_grow.c: Likewise.
21990         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21991         * malloc/scratch_buffer_set_array_size.c: Likewise.
21992         * malloc/tst-scratch_buffer.c: Likewise.
21993         * malloc/Makefile (routines): Add scratch_buffer_grow.
21994         (tests): Add test case.
21995         * malloc/Versions (GLIBC_PRIVATE): Export
21996         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21997         __libc_scratch_buffer_set_array_size.
21999 2015-04-06  Richard Henderson  <rth@redhat.com>
22001         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
22002         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22004         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
22005         unsigned int before printing.
22007 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22009         [BZ #17596]
22010         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
22011         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22013 2015-04-02  Florian Weimer  <fweimer@redhat.com>
22015         * include/libc-internal.h (libc_max_align_t): Define.
22017 2015-04-02  Andreas Schwab  <schwab@suse.de>
22019         [BZ #16850]
22020         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
22022 2015-04-02  Mel Gorman  <mgorman@suse.de>
22024         [BZ #17195]
22025         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
22026         as well as the main arena.
22028 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22030         [BZ #18185]
22031         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
22032         sharing L2 cache to 2 for Silvermont/Knights Landing.
22034 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22036         [BZ #17711]
22037         * config.make.in (have-protected-data): New.
22038         * configure.ac: Check linker support for protected data symbol.
22039         * configure: Regenerated.
22040         * elf/Makefile (modules-names): Add tst-protected1moda and
22041         tst-protected1modb if $(have-protected-data) is yes.
22042         (tests): Add tst-protected1a and tst-protected1b if
22043         $(have-protected-data) is yes.
22044         ($(objpfx)tst-protected1a): New.
22045         ($(objpfx)tst-protected1b): Likewise.
22046         (tst-protected1modb.so-no-z-defs): Likewise.
22047         * elf/tst-protected1a.c: New file.
22048         * elf/tst-protected1b.c: Likewise.
22049         * elf/tst-protected1mod.h: Likewise.
22050         * elf/tst-protected1moda.c: Likewise.
22051         * elf/tst-protected1modb.c: Likewise.
22053 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
22055         [BZ #17711]
22056         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
22057         indicates it is called from do_lookup_x on relocation against
22058         protected data, skip the data definion in the executable from
22059         copy reloc.
22060         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
22061         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
22062         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
22063         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
22064         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
22065         otherwise to 0.
22066         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22067         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
22068         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
22069         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
22070         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
22071         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
22073 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
22075         * sysdeps/nptl/pthread.h: Remove duplicate definition of
22076         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
22078 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
22080         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
22081         THREAD_SETMEM_NC.
22082         * sysdeps/x86_64/nptl/tls.h: Ditto.
22084 2015-03-27  Roland McGrath  <roland@hack.frob.com>
22086         * dlfcn/tststatic.c (main): Converted to ...
22087         (do_test): ... this.
22088         (TEST_FUNCTION): New macro.
22089         Include test-skeleton.c.
22091 2015-03-26  Alan Modra  <amodra@gmail.com>
22093         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
22094         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
22095         zero for undefined weak.
22096         (elf_machine_plt_conflict): Similarly.
22098 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22100         * math/auto-libm-test-in: Add more tests of acosh, asinh and
22101         atanh.
22102         * math/auto-libm-test-out: Regenerated.
22103         * sysdeps/i386/fpu/libm-test-ulps: Update.
22104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22106         * math/auto-libm-test-in: Add another test of asin.
22107         * math/auto-libm-test-out: Regenerated.
22108         * sysdeps/i386/fpu/libm-test-ulps: Update.
22109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22111         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
22112         Remove macro.
22113         (LLL_EBX_REG): Likewise.
22114         (LLL_ENTER_KERNEL): Likewise.
22116         * math/auto-libm-test-in: Add more tests of asin.
22117         * math/auto-libm-test-out: Regenerated.
22118         * sysdeps/i386/fpu/libm-test-ulps: Update.
22119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22121         [BZ #18138]
22122         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
22123         libc_do_syscall_args): New structure.
22124         (INTERNAL_SYSCALL_MAIN_0): New macro.
22125         (INTERNAL_SYSCALL_MAIN_1): Likewise.
22126         (INTERNAL_SYSCALL_MAIN_2): Likewise.
22127         (INTERNAL_SYSCALL_MAIN_3): Likewise.
22128         (INTERNAL_SYSCALL_MAIN_4): Likewise.
22129         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22130         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
22131         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
22132         Replace conditional definitions by conditional definitions of ....
22133         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
22134         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
22135         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
22136         (libpthread-sysdep_routines): Add libc-do-syscall.
22137         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
22138         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
22139         to __NR_futex not 240.
22141 2015-03-25  Alan Modra  <amodra@gmail.com>
22143         * NEWS: Advertise TLS optimization.
22144         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
22145         (DT_PPC_NUM): Increment.
22146         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
22147         (CHECK_STATIC_TLS): Use here.
22148         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
22149         TLS descriptors.
22150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22151         * sysdeps/powerpc/dl-tls.c: New file.
22152         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
22153         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
22154         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
22155         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
22156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
22157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
22158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
22160 2015-03-25  Alan Modra  <amodra@gmail.com>
22162         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
22163         for overlapping .opd entries" to "support...".
22164         * sysdeps/powerpc/powerpc64/configure: Regenerate
22166 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
22168         * math/auto-libm-test-in: Add more tests of acos.
22169         * math/auto-libm-test-out: Regenerated.
22170         * sysdeps/i386/fpu/libm-test-ulps: Update.
22171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22173         * math/auto-libm-test-in: Add more tests of expm1.
22174         * math/auto-libm-test-out: Regenerated.
22175         * sysdeps/i386/fpu/libm-test-ulps: Update.
22176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22178 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
22180         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22181         * math/auto-libm-test-out: Regenerated.
22182         * sysdeps/i386/fpu/libm-test-ulps: Update.
22183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22185         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22188         * math/auto-libm-test-in: Add more tests of log2.
22189         * math/auto-libm-test-out: Regenerated.
22190         * sysdeps/i386/fpu/libm-test-ulps: Update.
22191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22193 2015-03-23  Roland McGrath  <roland@hack.frob.com>
22195         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
22196         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
22197         _IO_IS_APPENDING bit in READ_WRITE instead.
22199 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22201         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
22202         (__determine_cpumask_size): Replace extend_alloca with a
22203         variable-length array.  Do not treat res == 0 as an error.
22205 2015-03-23  Florian Weimer  <fweimer@redhat.com>
22207         [BZ #18100]
22208         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
22209         and integer overflow.
22210         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
22211         (main): Add integer overflow tests.
22212         * manual/pattern.texi (Calling Wordexp): Document additional use
22213         for WRDE_SYNTAX.
22215 2015-03-23  Alan Modra  <amodra@gmail.com>
22217         * config.h.in: Remove HAVE_ASM_PPC_REL16.
22218         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
22219         and false branch of conditional.
22220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22221         Likewise.
22223 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
22225         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
22226         libc-modules.h
22227         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
22228         unused declaration of _hurd_intr_rpc_msg_in_trap.
22229         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
22230         defined instead of whether it is non-zero.
22231         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
22232         input constraint instead of both input and output constraint.  Use ecx
22233         clobber instead of %ecx.
22234         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
22235         mutex_unlock): Use a statement expression instead of an expression list.
22236         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
22237         type to vm_size_t instead of vm_address_t.
22238         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
22239         defined instead of whether it is non-zero.
22240         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
22241         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
22242         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
22243         comparisons with mapaddr.
22244         * nscd/nscd-client.h: Include <time.h>.
22245         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
22246         9th parameter to __vm_region instead of int.
22247         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
22248         * scripts/check-local-headers.sh (exclude): Add device/,
22249         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
22250         cthreads.h.
22252 2015-03-19  Roland McGrath  <roland@hack.frob.com>
22254         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
22255         to account for alignment padding.
22256         * sysdeps/arm/memmove.S: Likewise.
22258 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
22260         * sysdeps/unix/sysv/linux/generic/README: New file.
22262 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
22264         [BZ #18138]
22265         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
22266         (futex_abstimed_wait)
22267         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
22268         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
22269         of lll_futex_timed_wait.
22271 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
22273         [BZ #17542]
22274         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
22276 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
22278         [BZ #17090]
22279         [BZ #17620]
22280         [BZ #17621]
22281         [BZ #17628]
22282         * NEWS: Update.
22283         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
22284         entries with Static TLS too.  Skip entries past the end of the
22285         allocated DTV, from Alan Modra.
22286         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
22287         Static TLS DTV entry set up from...
22288         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
22289         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
22290         * nptl/allocatestack.c (init_one_static_tls): ... and here...
22291         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
22292         for Static TLS.
22293         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
22294         that the slot we find is associated with the given map before
22295         using its generation count.
22296         * nptl_db/db_info.c: Include ldsodefs.h.
22297         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
22298         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
22299         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
22300         (link_map::l_tls_offset): New struct field.
22301         (dtv_t::counter): Likewise.
22302         (rtld_global): New struct.
22303         (_rtld_global): New rtld variable.
22304         (dl_tls_dtv_slotinfo_list): New rtld global field.
22305         (dtv_slotinfo_list): New struct.
22306         (dtv_slotinfo): Likewise.
22307         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
22308         (td_lookup): Rename to...
22309         (td_mod_lookup): ... this.  Use new mod parameter instead of
22310         LIBPTHREAD_SO.
22311         * nptl_db/td_thr_tlsbase.c: Include link.h.
22312         (dtv_slotinfo_list, dtv_slotinfo): New functions.
22313         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
22314         addresses even if the DTV is out of date or missing them.
22315         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
22316         index zero-length arrays.
22317         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
22318         (td_lookup): Make it a macro implemented in terms of...
22319         (td_mod_lookup): ... this declaration.
22320         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
22321         (DB_MAIN_VARIABLE): Likewise.
22323 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22325         [BZ #18134]
22326         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
22328 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
22330         * stdlib/setenv.c (__add_to_environ): Revert previous change.
22332 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
22334         [BZ #18128]
22335         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
22336         (atomic_add, atomic_increment_and_test)
22337         (atomic_decrement_and_test): Fix 64-bit arithmetic.
22339 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
22341         * stdlib/setenv.c (__add_to_environ):
22342         Dump core quickly if setenv (..., NULL, ...) is called.
22344 2015-03-13  Roland McGrath  <roland@hack.frob.com>
22346         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
22347         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
22348         all the necessary asm magic in one place.
22349         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
22350         using those.
22352 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
22354         [BZ #14906]
22355         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
22356         traced file mtime. Use consistent log message.
22357         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
22358         (register_traced_file): Call install_watches. Always set mtime.
22359         (invalidate_cache): Iterate over all trace files. Call install_watches.
22360         (inotify_check_files): Don't inline. Handle watching parent
22361         directories and configuration file movement in and out.
22362         (handle_inotify_events): New function.
22363         (main_loop_poll): Call handle_inotify_events.
22364         (main_loop_epoll): Likewise.
22365         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
22366         (struct traced_file): Use array of inotify fds. Add parent directory,
22367         and basename.
22368         (struct database_dyn): Remove unused file_mtime.
22369         (init_traced_file): New inline function.
22370         (define_traced_file): New macro.
22371         * nss/nss_db/db-init.c: Use define_traced_file.
22372         (_nss_db_init): Use init_traced_file.
22373         * nss/nss_files/files-init.c: Use define_traced_file.
22374         (_nss_files_init): Use init_traced_file.
22376 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
22378         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
22379         [_LIBC]: Do not include <stdlib.h>.
22380         [!_LIBC] (abort): Remove declaration.
22381         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
22382         _FP_STATIC_ASSERT instead of conditionally calling abort.
22383         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
22384         (_FP_EXTEND_CNAN): Likewise.
22385         (FP_TRUNC): Likewise.
22386         (__FP_CLZ): Likewise.
22387         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
22389 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
22391         * manual/string.texi (XPG basename): Fix prototype.
22393 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22395         [BZ #18080]
22396         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
22397         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22398         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
22399         (__setcontext): Likewise.
22400         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
22401         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
22402         Call rt_sigprocmask syscall one time to set new signal mask
22403         and retrieve the current signal mask instead of two calls.
22404         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
22405         (__swapcontext): Likewise.
22406         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
22407         * stdlib/tst-setcontext2.c: New file.
22409 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
22411         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22413 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
22415         [BZ #18093]
22416         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
22417         the wrong size.
22419 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22421         [BZ #18043]
22422         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
22424 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22426         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
22427         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
22428         Remove define.
22429         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
22430         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
22431         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
22432         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
22433         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
22434         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
22435         define.
22436         * nptl_db/td_symbol_list.c (td_lookup): Remove
22437         HAVE_ASM_GLOBAL_DOT_NAME code.
22438         * sysdeps/powerpc/powerpc64/configure.ac: Remove
22439         HAVE_ASM_GLOBAL_DOT_NAME check.
22440         * sysdeps/powerpc/powerpc64/configure: Regenerate.
22441         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
22442         (DOT_LABEL): Remove define.
22443         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
22444         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
22445         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
22446         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
22447         (__TLS_GET_ADDR): Likewise.
22448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
22449         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
22451 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
22453         [BZ #18111]
22454         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
22455         (_FPU_SETCW): Initialize cw from fpsr before storing.
22456         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
22457         (fesetexceptflag): Rewrite using fpu_control.h.
22458         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
22460 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
22462         [BZ #18110]
22463         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
22464         asms.
22465         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
22467 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
22469         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
22470         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
22471         abort.
22472         (_FP_FMA): Likewise.
22473         (_FP_DIV): Likewise.
22475 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22477         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22478         with 0 in that case.
22479         * Makefile (summarize-tests): New canned sequence, factored out of
22480         commands for targets tests and xtests.  Display summary lines that
22481         don't start with PASS: or XFAIL: rather than ones that do start with
22482         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22483         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22484         do start with ERROR: or FAIL:.
22485         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22486         (except for [$(build-shared) = yes]).
22487         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22488         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22489         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22490         * nptl/Makefile: Revert 2015-03-04 changes.
22491         [$(CXX) empty] (tests-unsupported): New variable.
22492         * debug/Makefile: Likewise.
22494         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22495         gnulib file.  Replace __attribute with __attribute__ throughout.
22497 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22499         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22501 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22503         [BZ #18104]
22504         * math/auto-libm-test-in: Add another test of pow.
22505         * math/auto-libm-test-out: Regenerated.
22507 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22509         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22510         $(config-cflags-nofma).
22512 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22514         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22515         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22516         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22517         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22518         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22519         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22520         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22521         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22522         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22523         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22524         Add comment on closing #endif.
22526 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22528         * posix/wordexp.c (CHAR_IN_SET): New macro.
22529         (parse_param): Use it.
22531 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22533         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22535 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22537         [BZ #18043]
22538         * posix/wordexp.c (parse_param): Fix buffer overflow.
22539         * posix/wordexp-test.c (test_case): Add test case.
22541 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22543         [BZ #18042]
22544         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22545         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22547 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22549         [BZ #18043]
22550         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22551         (do_bz18043): Delete.
22552         (at_page_end): New.
22553         (testit): Refactor to have words at the edge of unreadable page.
22555 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22557         [BZ #16734]
22558         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22559         Cleanup read-only streams as well.
22560         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22562 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22564         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22565         <bits/libc-lockP.h>
22567 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22569         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22570         on [__KERNEL__].
22571         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22572         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22573         * soft-fp/op-common.h (_FP_DECL): Likewise.
22575 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22577         * elf/ifuncdep2.c (global): Replace
22578         __attribute__((visibility("protected"))) with
22579         asm (".protected global").
22580         * elf/ifuncmod1.c (global): Likewise.
22581         * elf/ifuncmod5.c (global): Likewise.
22583 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22585         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22586         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22588 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22590         * manual/install.texi (Configuring and compiling):
22591         Document test-wrapper-env-only.
22592         * INSTALL: Regenerated.
22594 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22596         [BZ #18043]
22597         * posix/wordexp.c (parse_param): Fix buffer overflow.
22598         * posix/wordexp-test.c (do_bz18043): Add test case.
22600 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22602         * time/tst-strptime2.c (do_test): Ensure failing tests are
22603         reported correctly.
22604         * time/tst-strptime3.c (do_test): Likewise.
22606 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22608         Fix aio_error thread-safety.
22609         * sysdeps/pthread/aio_error.c: New file
22610         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22611         synchronization.
22613 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22615         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22616         (group_number, vfprintf): Use it.
22617         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22618         (JUMP, REF): Use it.
22619         (WORK_BUFFER_SIZE): New enum constant.
22620         (process_arg, vfprintf): Use it.
22622 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22624         * manual/errno.texi (Error Messages): Complete example function
22625         by adding missing #define.
22626         (program_invocation_name): Add statement indicating GNU
22627         extension and reference which header file declares the variable.
22628         (program_invocation_short_name): Likewise.
22630 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22632         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22633         compatibility note.
22635 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22637         * Makeconfig (test-wrapper-env-only): New variable.
22638         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22639         then use that with $(test-wrapper-env-only) rather than using
22640         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22642 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22644         [BZ #18082]
22645         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22646         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22647         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22648         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22649         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22650         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22651         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22652         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22653         Likewise.
22654         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22655         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22656         Likewise.
22657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22658         Likewise.
22659         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22660         Likewise.
22661         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22662         Likewise.
22663         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22664         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22665         Likewise.
22666         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22667         Likewise.
22668         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22669         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22671 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22673         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22674         (ETH_ALEN): New macro.
22675         (struct ether_addr): Use it for length of ether_addr_octet.
22677         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22678         (setdb): Don't call __nss_configure_lookup for "rpc".
22679         (do_test): Don't call test_rpc.
22680         (output_rpcent, test_rpc): Functions moved ...
22681         * sunrpc/test-rpcent.c: ... to this new file.
22682         * sunrpc/Makefile (tests): Add it.
22684         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22685         __xpg_sigpause.
22686         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22687         * nptl/tst-signal6.c: Likewise.
22688         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22689         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22691         * configure.ac (libc_cv_cxx_link_ok): New check.
22692         Reset CXX to empty if it fails to link.
22693         * configure: Regenerated.
22694         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22695         bug-atexit3-lib only if $(CXX) is nonempty.
22696         * nptl/Makefile (tests): Likewise for tst-cancel24.
22697         (tests, tests-static): Likewise for tst-cancel24-static.
22698         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22699         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22700         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22701         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22703 2015-03-04  Andreas Schwab  <schwab@suse.de>
22705         [BZ #17631]
22706         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22707         for non-GCC compilers.
22708         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22709         Likewise.
22711 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22713         [BZ #17776]
22714         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22715         integer before bitwise and assembly operations.
22716         (feclearexcept): Likewise.
22717         * math/test-fenvinline.c: New file.
22718         * math/Makefile: Add test-fenvinline test.
22720 2015-03-03  Alan Modra  <amodra@gmail.com>
22722         [BZ #16512]
22723         * scripts/localplt.awk: Strip off symbol version.
22724         * NEWS: Mention bug fix.
22726 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22728         * sysdeps/pthread/timer_routines.c
22729         (timer_free_list, thread_free_list, thread_active_list): Make static.
22731 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22733         [BZ #17779]
22734         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22735         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22736         Undefine.
22737         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22738         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22739         Likewise.
22740         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22741         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22742         Likewise.
22744 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22746         [BZ #18036]
22747         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22748         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22750 2015-03-02  Andreas Schwab  <schwab@suse.de>
22752         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22753         variable name.
22755 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22757         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22758         Return error status.
22760 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22762         [BZ #15969]
22763         * locale/findlocale.c (_nl_find_locale): Introduce const
22764         version of loc_name and drop unsafe type casts.
22766 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22768         * dlfcn/tststatic2.c (main): Converted to ...
22769         (do_test): ... this.
22770         (TEST_FUNCTION): New macro.
22771         Include test-skeleton.c.
22773 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22775         [BZ #17711]
22776         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22777         (tests-pie): Add vismain.
22778         (CFLAGS-vismain.c): New.
22779         * elf/vismain.c: Add comments for PIE requirement.
22781 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22783         [BZ #18046]
22784         [BZ #18047]
22785         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22786         0x1p-56L as threshold for just returning the argument.
22787         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22788         0x1p-32L as threshold for just returning the argument.
22789         * math/auto-libm-test-in: Add more tests of atanh.
22790         * math/auto-libm-test-out: Regenerated.
22791         * sysdeps/i386/fpu/libm-test-ulps: Update.
22792         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22794 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22796         * string/bcopy.c (bcopy): Call memmove for performance.
22798 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22800         * string/bzero.c (__bzero): Call memset for performance.
22802 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22804         [BZ #18068]
22805         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22806         to 00100000.
22808 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22810         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22812 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22814         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22815         (__kernel_standard): Use CSTR macro when setting exc.name.
22816         * sysdeps/ieee754/Makefile [$(subdir) = math]
22817         (CFLAGS-k_standard.c): Remove variable.
22819         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22820         setting p and q from "else if" to "else".
22821         (qzero): Likewise.
22822         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22823         (qone): Likewise.
22824         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22825         (qzerof): Likewise.
22826         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22827         (qonef): Likewise.
22828         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22829         (qzero): Likewise.
22830         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22831         (qone): Likewise.
22833         [BZ #18038]
22834         [BZ #18039]
22835         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22836         return pi/2 for arguments below 0x1p-113L.
22837         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22838         return pi/2 for arguments below 0x1p-106L.
22839         * math/auto-libm-test-in: Add more tests of acos.
22840         * math/auto-libm-test-out: Regenerated.
22842         [BZ #16351]
22843         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22844         (MO): New macro.
22845         (__ieee754_asin): Force underflow exception for results with small
22846         absolute value.
22847         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22848         (MO): New macro.
22849         (__ieee754_asinf): Force underflow exception for results with
22850         small absolute value.
22851         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22852         (__ieee754_asin): Force underflow exception for results with small
22853         absolute value.
22854         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22855         (__ieee754_asinf): Force underflow exception for results with
22856         small absolute value.
22857         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22858         (__ieee754_asinl): Force underflow exception for results with
22859         small absolute value.
22860         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22861         (__ieee754_asinl): Force underflow exception for results with
22862         small absolute value.
22863         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22864         (__ieee754_asinl): Force underflow exception for results with
22865         small absolute value.
22866         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22867         Include <math.h>.
22868         * math/auto-libm-test-in: Do not mark underflow exceptions as
22869         possibly missing for bug 16351.
22870         * math/auto-libm-test-out: Regenerated.
22872         [BZ #18030]
22873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22874         of power of 2 down when low part has opposite sign.
22875         * math/libm-test.inc (logb_test_data): Add more tests.
22877 2015-02-26  Andreas Schwab  <schwab@suse.de>
22879         [BZ #18032]
22880         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22881         over collating symbol inside a bracket expression.  Minor cleanup.
22882         * posix/tst-fnmatch3.c (do_test): Add test case.
22884 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22886         [BZ #18029]
22887         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22888         Adjust exponent of power of 2 down when low part has opposite
22889         sign.
22890         * math/libm-test.inc (ilogb_test_data): Add more tests.
22892 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22894         [BZ #15969]
22895         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22896         the previous change.
22898         [BZ #15969]
22899         * locale/findlocale.c (_nl_find_locale): Retry archive search
22900         after alias expansion.
22902 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22904         * iconv/tst-iconv3.c (main): Converted to ...
22905         (do_test): ... this.
22906         (TEST_FUNCTION): New macro.
22907         Include test-skeleton.c.
22909         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22910         (convert): Make function static.
22911         (test_unalign): Likewise.  Add const to argument pointee types.
22912         (main): Replace with static function do_test.
22913         Print "Succeeded." only if RET is zero.
22914         (TEST_FUNCTION): New macro.
22915         Include test-skeleton.c.
22917         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22918         returns a null pointer.
22920 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22922         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22923         to __memcpy_ppc only for static builds.
22925 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22927         [BZ #18020]
22928         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22929         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22930         * math/auto-libm-test-in: Add more tests of asinh.
22931         * math/auto-libm-test-out: Regenerated.
22932         * sysdeps/i386/fpu/libm-test-ulps: Update.
22933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22937         [BZ #15850]
22938         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22939         and ip6_mtuinfo definitions here.
22940         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22941         in this define too.  Update comment.
22943 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22945         * elf/sprof.c (load_shobj): Tweak error message to match others.
22947 2015-02-24  Kevin Easton  <kevin@guarana.org>
22949         [BZ #16145] (partial fix)
22950         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22951         to reduce lock contention.
22953 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22955         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22956         (struct timex): Update time comment.
22957         (ADJ_SETOFFSET): Define.
22959 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22961         [BZ #18019]
22962         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22963         2**56 not 2**28 as threshold for log (2x) formula.
22964         * math/auto-libm-test-in: Add more tests of acosh.
22965         * math/auto-libm-test-out: Regenerated.
22966         * sysdeps/i386/fpu/libm-test-ulps: Update.
22967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22969 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22971         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22972         parenthesis around the buf assignment.
22973         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22975 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22977         [BZ #16783]
22978         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22979         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22980         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22981         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22982         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22983         * math/libm-test.inc (scalb_test_data): Add more tests.
22985 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22987         [BZ #17916]
22988         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22989         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22991 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22993         [BZ #17523]
22994         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22995         * io/bits/fcntl2.h (open): Use it.
22996         (openat): Likewise.
22997         * io/open.c (__libc_open): Likewise.
22998         * io/open64.c (__libc_open64): Likewise.
22999         * io/open64_2.c (__open64_2): Likewise.
23000         * io/open_2.c (__open_2): Likewise.
23001         * io/openat.c (__openat): Likewise.
23002         * io/openat64.c (__openat64): Likewise.
23003         * io/openat64_2.c (__openat64_2): Likewise.
23004         * io/openat_2.c (__openat_2): Likewise.
23005         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
23006         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
23007         * sysdeps/posix/open64.c (__libc_open64): Likewise.
23008         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23009         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23010         (__open_nocancel): Likewise.
23011         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23012         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23013         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
23015 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23017         [BZ #14841]
23018         * resolv/gethnamaddr.c (getanswer): Skip logging if
23019         RES_USE_DNSSEC is set.
23020         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23022 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
23024         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
23026 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
23028         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
23029         201304L, for Unicode 7.
23031 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
23033         [BZ #17836]
23034         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
23035         shared library.  Add gmon-start.os otherwise.
23036         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
23037         $(objpfx)gmon-start.os if builing shared library.
23038         ($(objpfx)g$(static-start-installed-name)): Likewise.
23040 2015-02-23  Andreas Schwab  <schwab@suse.de>
23042         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23044 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23046         [BZ #17269]
23047         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
23048         (enlarge_userbuf): Likewise.
23050 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
23052         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
23053         * math/atest-exp.c (TIMEOUT): Adjust to 200.
23054         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
23055         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
23057 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
23059         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
23060         expression inside statement expression.
23062 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23064         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
23065         <sysdeps/nptl/lowlevellock.h> and remove macros and
23066         functions that are now defined there.
23067         (SYS_futex): Remove.
23068         (lll_compare_and_swap): Remove.
23069         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
23071 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
23073         [BZ #17999]
23074         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
23075         instead of scandirat.
23076         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
23077         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
23078         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
23079         __scandirat.
23080         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
23081         (__scandirat): Declare.  Use libc_hidden_proto.
23082         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
23083         Remove variable.
23084         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23086 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23088         [BZ #15319]
23089         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
23090         (MO): New macro.
23091         (__ieee754_atan2): For results with small absolute value, force
23092         underflow exception and remove excess range and precision from
23093         return value.
23094         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
23095         (MO): New macro.
23096         (__ieee754_atan2f): For results with small absolute value, force
23097         underflow exception and remove excess range and precision from
23098         return value.
23099         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
23100         (MO): New macro.
23101         (__atan): For results with small absolute value, force underflow
23102         exception and remove excess range and precision from return value.
23103         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
23104         (MO): New macro.
23105         (__atanf): For results with small absolute value, force underflow
23106         exception and remove excess range and precision from return value.
23107         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
23108         <math.h>.
23109         (__ieee754_atan2): Force underflow exception for results with
23110         small absolute value.
23111         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
23112         <math_private.h>.
23113         (atan): Force underflow exception for results with small absolute
23114         value.
23115         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
23116         (__atanf): Force underflow exception for results with small
23117         absolute value.
23118         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
23119         <math.h>.
23120         (__atanl): Force underflow exception for results with small
23121         absolute value.
23122         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
23123         (__atanl): Force underflow exception for results with small
23124         absolute value.
23125         * sysdeps/x86/fpu/bits/mathinline.h
23126         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
23127         (__ieee754_atan2): Only define inline for long double.
23128         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23129         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
23130         * math/auto-libm-test-in: Do not mark underflow exceptions as
23131         possibly missing for bug 15319.  Add more tests of atan2.
23132         * math/auto-libm-test-out: Regenerated.
23133         * math/libm-test.inc (casin_test_data): Do not mark underflow
23134         exceptions as possibly missing for bug 15319.
23135         (casinh_test_data): Likewise.
23136         * sysdeps/i386/fpu/libm-test-ulps: Update.
23138 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
23140         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
23141         * sysdeps/mips/bits/endian.h: Fix comments.
23143 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
23145         [BZ #17996]
23146         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
23147         (hdestroy_r): Likewise.
23148         (hsearch_r): Likewise.
23149         (__hcreate_r): Declare and use libc_hidden_proto.
23150         (__hdestroy_r): Likewise.
23151         (__hsearch_r): Likewise.
23152         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
23153         (hcreate): Call __hcreate_r instead of hcreate_r.
23154         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
23155         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
23156         as weak alias of __hcreate_r.
23157         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
23158         __hdestroy_r.
23159         (hsearch_r): Rename to __hsearch_r and define as weak alias of
23160         __hsearch_r.
23161         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
23162         Remove variable.
23163         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23164         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23165         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23166         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23168 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23170         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
23171         arena_lock into a single arena_get.
23173 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
23175         * dl-reloc.c: Inlucde libc-internal.h.
23176         (_dl_try_allocate_static_tls): Call ALIGN_UP.
23177         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
23178         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
23179         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
23180         (grow_heap): Likewise.
23181         * malloc/malloc.c: Include libc-internal.h.
23182         (do_check_malloc): Call powerof2.
23183         (sysmalloc): Use pagesize. Call ALIGN_UP.
23184         (systrim): Use pagesize.
23185         (mremap_chunk): Use pagesize. Call ALIGN_UP.
23186         (__libc_valloc): Use pagesize.
23187         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
23189 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23191         [BZ #17991]
23192         * include/sys/resource.h (__getrlimit64): Declare.  Use
23193         libc_hidden_proto.
23194         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
23195         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
23196         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
23197         getrlimit64.
23198         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
23199         __getrlimit64.
23200         [!getrlimit64] (getrlimit64): Define as weak alias of
23201         __getrlimit64.  Use libc_hidden_weak.
23202         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
23203         using __getrlimit64 not __new_getrlimit64.
23204         (__GI_getrlimit64): Likewise.
23205         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
23206         Likewise.
23207         (__GI_getrlimit64): Likewise.
23208         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
23209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
23210         (getrlimit): Add __getrlimit64 alias.
23211         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
23212         Likewise.
23213         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
23214         Remove variable.
23215         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23216         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23218 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
23220         * libio/fileops.c: Add missing sys/mman.h
23221         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
23223 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
23225         * manual/math.texi (Errors in Math Functions): Clarify goals
23226         regarding inexact and underflow exceptions.
23228 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23230         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
23231         * sysdeps/mips/memset.S: Ditto.
23233 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
23235         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
23237 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
23239         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
23240         (__v1longjmp): Remove versioned symbol.
23241         (__v1siglongjmp): Remove alias and versioned symbol.
23242         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
23243         (__v2siglongjmp): Likewise.
23245 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23247         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
23249 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
23251         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
23253 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23255         [BZ #17987]
23256         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
23257         zero result does not depend on the sign resulting from
23258         subtraction.
23259         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23260         Likewise.
23261         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23262         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23263         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23264         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23265         * math/libm-test.inc (remquo_test_data): Add more tests.
23267 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
23269         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
23270         Problem reported by J William Piggott.
23272 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23274         [BZ #17978]
23275         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
23276         products 4 * y and 2 * y where those would overflow.
23277         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23278         Likewise.
23279         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
23280         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
23281         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23282         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
23283         * math/libm-test.inc (remquo_test_data): Add more tests.
23285         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
23287         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
23288         [defined _COMPILING_NEWLIB].
23289         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
23290         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
23292         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
23293         [!defined __mips_isa_rev || __mips_isa_rev < 6].
23295 2015-02-16  Torvald Riegel  <triegel@redhat.com>
23297         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
23298         acquired.
23300 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
23302         [BZ #17792]
23303         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
23304         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
23305         HOST_STACK_END_ADDR): Likewise.
23307 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
23309         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
23310         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
23311         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
23313 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23315         * sysdeps/generic/c++-types.data: New file.
23316         * sysdeps/generic/ld.abilist: New file.
23317         * sysdeps/generic/libBrokenLocale.abilist: New file.
23318         * sysdeps/generic/libanl.abilist: New file.
23319         * sysdeps/generic/libc.abilist: New file.
23320         * sysdeps/generic/libcrypt.abilist: New file.
23321         * sysdeps/generic/libdl.abilist: New file.
23322         * sysdeps/generic/libm.abilist: New file.
23323         * sysdeps/generic/libpthread.abilist: New file.
23324         * sysdeps/generic/libresolv.abilist: New file.
23325         * sysdeps/generic/librt.abilist: New file.
23327 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23329         [BZ #17569]
23330         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
23331         Compute absolute value of x as modified by fmod, not original
23332         value of x.
23333         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
23334         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
23335         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
23336         RUN_TEST_ffI_f1_mod8.
23337         (remquo_test_data): Add more tests.
23339 2015-02-13  Roland McGrath  <roland@hack.frob.com>
23341         * sysdeps/init_array/pt-crti.S: New file.
23343 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
23345         [BZ #17967]
23346         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
23347         __builtin_fmaf instead of relying on contraction of a * b + c.
23349 2015-02-12  J William Piggott  <elseifthen@gmx.com>
23351         [BZ #17969]
23352         * manual/time.texi: correct the zoneinfo path in the TZ Variable
23353         node.
23355 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23357         [BZ #17964]
23358         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
23359         __builtin_fma instead of relying on contraction of a * b + c.
23361 2015-02-12  Roland McGrath  <roland@hack.frob.com>
23363         * Makeconfig (ASFLAGS): Add -Werror=undef.
23364         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
23365         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
23366         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
23368         * Makeconfig (after-link): New variable.
23369         (+link-pie, +link-pie-tests): Use it.
23370         (+link-static, +link-static-tests): Likewise.
23371         (+link, +link-tests): Likewise.
23372         * Makerules (build-module, build-module-asneeded): Likewise.
23373         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
23374         Likewise.
23375         * elf/Makefile ($(objpfx)ld.so): Likewise.
23377 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
23379         [BZ #17965]
23380         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
23381         both struct timeval and struct timespec.
23383 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
23385         [BZ #16560]
23386         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23387         and redefine.
23388         (__ieee754_exp2l): Do not multiply small fractional parts by
23389         M_LN2l.
23390         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
23391         small argument.
23392         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23393         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23394         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
23395         * math/auto-libm-test-in: Add more tests of exp2.
23396         * math/auto-libm-test-out: Regenerated.
23398 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23400         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
23401         unaligned path.
23403 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23405         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
23406         little endian.
23408 2015-02-12  Andreas Schwab  <schwab@suse.de>
23410         [BZ #15790]
23411         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23412         Filter out elision flags from value returned in kind.
23413         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
23414         * nptl/tst-pthread-mutexattr.c: New file.
23416 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23418         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
23419         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
23420         into gnu-gnu, and update comment to refer to abi-tags.
23422 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
23424         [BZ #15467]
23425         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
23426         (__sincos): Set errno to EDOM for infinite argument.
23427         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
23428         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
23429         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
23430         (__sincosl): Set errno to EDOM for infinite argument.
23431         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
23432         (__sincosl): Set errno to EDOM for infinite argument.
23433         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
23434         (__sincosl): Set errno to EDOM for infinite argument.
23435         * math/libm-test.inc (sincos_test_data): Test errno setting.
23437 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
23439         * string/strxfrm_l.c: Remove #define STRCMP.
23440         * string/strcoll_l.c: Remove #define STRLEN.
23441         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
23442         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
23444 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
23446         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
23447         * sysdeps/mips/mips32/sfp-machine.h: ... here.
23448         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
23449         * sysdeps/mips/mips64/Makefile: ... here.
23450         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
23451         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
23452         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
23453         * sysdeps/mips/mips64/sfp-machine.h: ... here.
23454         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
23455         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
23456         * sysdeps/mips/mips64/n64/Implies: Likewise.
23458 2015-02-10  Roland McGrath  <roland@hack.frob.com>
23460         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
23461         <sys/time.h>, <string.h>, and <errno.h>.
23462         (dest_offset, dest_address, value, zero): Remove unused variables.
23463         (ldouble): Remove typedef.
23464         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
23465         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
23466         1).  Fix code style.
23467         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
23468         (check): Function removed.
23469         (CHECK): New macro.
23470         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
23471         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
23472         Don't call set_sigaction_FP and remove_sigaction_FP here.
23473         (ldouble_test): Just use 'long double' as macro argument, no need for
23474         the 'ldouble' typedef.
23475         (do_test): Set up SIGFPE handler at start, using plain signal rather
23476         than sigaction.  Fix code style.
23478 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23480         [BZ #17949]
23481         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23482         jump label.
23484 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23486         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23487         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23489         * sysdeps/powerpc/configure.ac: Remove file.
23490         * sysdeps/powerpc/configure: Likewise.
23492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23493         [sysdep_routines]: Remove wordcopy-power6 object.
23494         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23495         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23496         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23497         (__memmove_ppc32): Likewise.
23498         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23499         file.
23500         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23502         Remove preprocessor.
23504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23505         [sysdep_routines]: Remove wide chars objects.
23506         [wcsmbs]: New rule for wide char objects.
23508         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23509         Remove wordcopy-power6 obejct.
23510         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23511         Use local call for wordcopy and memcpy symbols.
23512         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23513         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23514         implementation for loader.
23515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23518         Remove wordcopy-power7 object.
23519         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23520         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23521         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23522         (_wordcopy_fwd_dest_aligned): Likewise.
23523         (_wordcopy_bwd_aligned): Likewise.
23524         (_wordcopy_bwd_dest_aligned): Likewise.
23526         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23527         Rewrite to call __memmove_ppc instead of include default
23528         implementation.
23530         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23531         Remove wide chars objects.
23532         [wcsmbs]: New rule for wide char objects.
23534 2015-02-09  Andreas Schwab  <schwab@suse.de>
23536         [BZ #17912]
23537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23538         in terms of __O_DIRECTORY.
23540 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23542         * time/getdate.c: Include <stdbool.h>.
23543         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23544         call PTR_MANGLE.
23545         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23546         PTR_DEMANGLE.
23548 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23550         Add ersatz _Static_assert on older C hosts
23551         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23552         pre-C11 C platform that is not known to support _Static_assert.
23554 2015-02-07  Richard Braun  <rbraun@sceen.net>
23556         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23557         sigstate.
23558         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23560 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23562         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23563         priority against unexistent AIO_PRIO_DELTA_MAX.
23564         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23565         instead of int.
23566         * misc/fchflags.c (fchflags): Likewise.
23567         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23568         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23569         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23570         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23571         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23572         Declare macros.
23573         [__USE_MISC] (chflags, fchflags): Declare functions.
23574         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23575         EINVAL when nfds is greater than FD_SETSIZE.
23576         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23577         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23578         45.
23579         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23580         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23581         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23582         MACH_RCV_TIMED_OUT.
23583         * hurd/hurd/signal.h (_hurd_self_sigstate,
23584         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23585         Explicit casts from void *.
23586         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23587         * abi-tags: Rename gnu-gnu os into gnu.
23589         [BZ #4719]
23590         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23591         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23592         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23593         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23594         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23595         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23597         [BZ #17944]
23598         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23599         duplicates ADDR->sun_path with sockaddr LEN limitation.
23600         * sysdeps/mach/hurd/connect.c: Include <string.h>
23601         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23602         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23603         * sysdeps/mach/hurd/sendto.c: Likewise.
23604         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23605         implementing it by hand.
23607 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23609         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23610         Use sfi_breg on ldr.
23611         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23612         Likewise.
23614         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23615         it's defined.
23616         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23617         Test SIGSETXID only if it's defined.
23619         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23621         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23622         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23624         * nptl/tst-align2.c: Moved ...
23625         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23626         * nptl/Makefile (tests): Remove tst-align2.
23627         * sysdeps/unix/sysv/linux/Makefile
23628         [$(subdir) = nptl] (tests): Add tst-align-clone.
23629         * nptl/tst-getpid1.c: Moved ...
23630         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23631         * nptl/tst-getpid2.c: Moved ...
23632         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23633         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23634         * sysdeps/unix/sysv/linux/Makefile
23635         [$(subdir) = nptl] (tests): ... here.
23636         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23637         * sysdeps/unix/sysv/linux/Makefile
23638         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23640         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23641         Drop trailing \n from perror argument.  Use return rather than exit.
23643         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23644         on [SA_SIGINFO].
23645         * nptl/tst-cancel21.c (do_test): Likewise.
23646         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23647         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23648         [!SA_SIGINFO]: Make it a stub test.
23650         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23651         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23653         * posix/tst-getlogin.c: Move to ...
23654         * login/tst-getlogin.c: ... here.
23655         * posix/Makefile (tests): Move tst-getlogin to ...
23656         * login/Makefile (tests): ... here.
23658         * libio/tst-atime.c (do_test): Move local variables SV and E
23659         inside [ST_NOATIME] conditional.
23661         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23663         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23665         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23666         (wait_code): New function replaces macro.
23667         Call nanosleep rather than syscall.
23669         * nptl/pt-system.c: Rewritten.  Put everything under
23670         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23671         Use IFUNC to redirect when possible.
23673         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23674         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23675         Use IFUNC to redirect when possible.
23677         * nptl/pt-fork.c: Rewritten.  Put everything under
23678         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23679         Use IFUNC to redirect when possible.
23680         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23682         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23683         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23684         unconditionally nowadays.  This included the only reference to
23685         __vdso_clock_gettime that appears outside libc proper.
23686         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23687         Remove version set (containing only __vdso_clock_gettime).
23688         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23689         Add attribute_hidden.
23690         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23691         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23692         libc_hidden_data_def.
23693         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23694         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23696         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23697         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23698         setrpcent, and getrpcport to ...
23699         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23700         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23701         getrpcbynumber_r, and getrpcent_r to ...
23702         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23703         * inet/getrpcbyname.c: Moved ...
23704         * sunrpc/getrpcbyname.c: ... here.
23705         * inet/getrpcbyname_r.c: Moved ...
23706         * sunrpc/getrpcbyname_r.c: ... here.
23707         * inet/getrpcbynumber.c: Moved ...
23708         * sunrpc/getrpcbynumber.c: ... here.
23709         * inet/getrpcbynumber_r.c: Moved ...
23710         * sunrpc/getrpcbynumber_r.c: ... here.
23711         * inet/getrpcent.c: Moved ...
23712         * sunrpc/getrpcent.c: ... here.
23713         * inet/getrpcent_r.c: Moved ...
23714         * sunrpc/getrpcent_r.c: ... here.
23715         * inet/Makefile (routines): Move those to ...
23716         * sunrpc/Makefile (routines): ... here.
23717         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23718         the $(subdirs) list.
23719         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23720         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23721         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23722         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23724         * elf/Makefile (routines): Include $(all-dl-routines), not just
23725         $(dl-routines).
23726         (rtld-routines): Likewise.  Use = rather than :=.
23727         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23728         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23729         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23730         * sysdeps/arm/Makefile: Likewise.
23731         * sysdeps/i386/Makefile: Likewise.
23732         * sysdeps/x86_64/Makefile: Likewise.
23733         * sysdeps/hppa/Makefile [$(subdir) = elf]
23734         (sysdep_routines, sysdep-rtld-routines): Don't add
23735         $(sysdep-dl-routines) to these.
23736         * sysdeps/ia64/Makefile: Likewise.
23737         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23738         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23739         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23740         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23741         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23742         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23743         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23744         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23745         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23746         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23747         these; sysdep-dl-routines alone is enough.
23749 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23751         [BZ #17932]
23752         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23753         where multiplication results in zero and third argument is finite
23754         and nonzero.
23755         * math/auto-libm-test-in: Add more tests of fma.
23756         * math/auto-libm-test-out: Regenerated.
23758         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23759         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23760         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23761         (_FP_CMP_EQ): Likewise.
23762         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23764         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23765         extra argument CHECK_NAN.  Redefine as wrapper around
23766         _FP_EXTEND_CNAN.
23768 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23770         * version.h (RELEASE): Set to "stable".
23771         (VERSION): Set to "2.21"
23772         * include/features.h (__GLIBC_MINOR__): Set to 21.
23774         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23776 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23777             Paul Eggert  <eggert@cs.ucla.edu>
23779         [BZ #16618]
23780         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23781         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23782         size in bytes. Store needed elements in wpmax. Use needed size
23783         in bytes for extend_alloca.
23785 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23787         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23788         binutls 2.25, and texinfo 5.2.
23789         * INSTALL: Regenerate.
23790         * sysdeps/nios2/configure: Regenerate.
23791         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23792         * manual/contrib.texi: Update.
23793         * po/be.po: Update.
23794         * po/bg.po: Update.
23795         * po/ca.po: Update.
23796         * po/cs.po: Update.
23797         * po/da.po: Update.
23798         * po/de.po: Update.
23799         * po/el.po: Update.
23800         * po/eo.po: Update.
23801         * po/es.po: Update.
23802         * po/fi.po: Update.
23803         * po/fr.po: Update.
23804         * po/gl.po: Update.
23805         * po/hr.po: Update.
23806         * po/hu.po: Update.
23807         * po/ia.po: Update.
23808         * po/id.po: Update.
23809         * po/it.po: Update.
23810         * po/ja.po: Update.
23811         * po/ko.po: Update.
23812         * po/lt.po: Update.
23813         * po/nb.po: Update.
23814         * po/nl.po: Update.
23815         * po/pl.po: Update.
23816         * po/pt_BR.po: Update.
23817         * po/ru.po: Update.
23818         * po/rw.po: Update.
23819         * po/sk.po: Update.
23820         * po/sl.po: Update.
23821         * po/sv.po: Update.
23822         * po/tr.po: Update.
23823         * po/uk.po: Update.
23824         * po/vi.po: Update.
23825         * po/zh_CN.po: Update.
23826         * po/zh_TW.po: Update.
23828         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23829         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23830         * sysdeps/hppa/dl-irel.h: Remove #warning.
23831         * sysdeps/hppa/entry.h: Provide prototype for
23832         __canonicalize_funcptr_for_compare and cast argument.
23833         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23834         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23835         * sysdeps/hppa/sotruss-lib.c: New file.
23836         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23837         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23838         (atomic_compare_and_exchange_bool_acq): Likewise.
23839         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23840         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23842         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23843         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23844         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23846 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23848         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23849         called function in non-PIC case.
23851 2015-01-31  David S. Miller  <davem@davemloft.net>
23853         * sysdeps/sparc/sparc32/bits/atomic.h
23854         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23855         unlock not after it.
23856         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23857         volatile register usage warnings from the compiler.
23859         * sysdeps/sparc/nptl/sem_init.c: Delete.
23860         * sysdeps/sparc/nptl/sem_post.c: Delete.
23861         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23862         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23863         * sysdeps/sparc/sparc32/sem_init.c: New file.
23864         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23865         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23866         padding explicitly initialized.
23867         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23868         padding for in-semaphore spinlock.
23869         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23870         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23871         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23872         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23873         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23874         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23875         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23876         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23877         version.
23878         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23879         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23881 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23883         [BZ #17801]
23884         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23885         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23886         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23887         New.
23888         (index_AVX_Fast_Unaligned_Load): Likewise.
23889         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23890         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23891         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23892         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23893         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23894         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23895         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23896         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23897         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23899 2015-01-29  Andreas Schwab  <schwab@suse.de>
23901         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23903 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23905         [BZ #17892]
23906         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23908 2015-01-28  Martin Sebor  <msebor@redhat.com>
23910         * math/README.libm-test: Clarify. Add "How to read the test output."
23912 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23914         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23915         Define to 0.
23917 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23919         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23920         (__HAVE_64B_ATOMICS): Define to 0.
23922 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23924         [BZ #17885]
23925         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23926         value to set as new flag.
23928         [BZ #16576]
23929         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23930         and use _ARCH_PPCSQ instead.
23931         (__ieee754_sqrt): Likewise.
23932         (__ieee754_sqrtf): Likewise.
23933         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23934         _ARCH_PPCSQ is defined.
23935         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23936         fsqrt instruction.
23937         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23938         _ARCH_PPCSQ is defined.
23939         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23940         fsqrts instruction.
23941         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23943 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23945         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23946         bug (GCC BZ #64739).
23948 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23950         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23951         Mark _retval as used.
23952         (lll_futex_wake_unlock): Likewise.
23953         (lll_futex_timed_wait_requeue_pi): Likewise.
23955         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23956         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23957         register variables.
23959         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23960         libm_hidden_def.
23962         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23963         (__bswap_64): Mark as __always_inline.
23965 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23967         [BZ #15378]
23968         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23969         when none of the search directories exist.
23971 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23973         [BZ #17869]
23974         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23975         power8 in .machine directive.
23977         [BZ #17868]
23978         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23979         set dependency from opd value.
23981 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23983         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23984         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23985         architecture.
23987 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23989         [BZ #17870]
23990         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23991         with uint64_t.
23992         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23993         (uint64_t) 1.
23994         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23995         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23996         Replace 1UL with (uint64_t) 1.
23997         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23998         int with uint64_t.
24000 2015-01-23  Roland McGrath  <roland@hack.frob.com>
24002         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
24003         (if_freenameindex): Likewise.
24005         * resource/getrlimit64.c: Add missing libc_hidden_def.
24007 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
24009         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
24010         __label__.
24011         (_FP_FMA): Likewise.
24012         (_FP_TO_INT_ROUND): Likewise.
24013         (_FP_FROM_INT): Likewise.
24015 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24017         [BZ #16418]
24018         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
24019         Make code racy and cancel safe.
24021 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
24023         * sysdeps/arm/unwind-resume.h: Fix copyright year.
24024         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
24025         attribution.
24027         * pwd/tst-getpw.c: Rewrite.
24029         [BZ #17702]
24030         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
24031         (modules-names): Add moddummy1 and moddummy2.
24032         ($(objpfx)tst-rec-dlopen): Define.
24033         * dlfcn/moddummy1.c: New file.
24034         * dlfcn/moddummy2.c: New file.
24035         * dlfcn/tst-rec-dlopen.c: New file.
24036         * elf/dl-cache.c (_dl_load_cache_lookup):
24037         Return char*. Copy result with alloca/strcpy/strdup.
24038         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
24039         returns char*. Free cached. If not saving realname
24040         free cached.
24041         * elf/dl-open.c (dl_open_worker): Do not assert that
24042         _r_debug->r_state is RT_CONSISTENT.
24043         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
24044         returns char*.
24046 2015-01-21  Torvald Riegel  <triegel@redhat.com>
24047             Carlos O'Donell  <carlos@redhat.com>
24049         [BZ #12674]
24050         * nptl/sem_waitcommon.c: New file.
24051         * nptl/sem_wait.c: Include sem_waitcommon.c.
24052         (__sem_wait_cleanup, do_futex_wait): Remove.
24053         (__new_sem_wait): Adapt.
24054         (__new_sem_trywait): New function.
24055         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
24056         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
24057         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
24058         (sem_timedwait): Adapt.
24059         * nptl/sem_post.c (__new_sem_post): Adapt.
24060         (futex_wake): New function.
24061         (__old_sem_post): Add release MO fence.
24062         * nptl/sem_open.c (sem_open): Adapt.
24063         * nptl/sem_init.c (__new_sem_init): Adapt.
24064         (futex_private_if_supported): New function.
24065         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
24066         (__old_sem_getvalue): Add using previous code.
24067         * sysdeps/nptl/internaltypes.h: Adapt.
24068         * nptl/tst-sem13.c (do_test): Adapt.
24069         * nptl/tst-sem11.c (main): Adapt.
24070         * nptl/sem_trywait.c: Remove.
24071         * nptl/DESIGN-sem.txt: Remove.
24072         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
24073         (gen-as-const-headers): Remove structsem.sym.
24074         * nptl/structsem.sym: Remove.
24075         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
24076         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
24077         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
24078         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
24079         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
24080         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
24081         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
24082         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
24083         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
24084         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
24085         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
24086         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
24087         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
24088         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
24089         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
24090         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
24091         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
24092         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
24093         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
24094         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
24095         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
24096         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
24098 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
24100         * INSTALL: Regenerated.
24102         * po/libc.pot: Regenerated.
24104 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
24105             Sandra Loosemore  <sandra@codesourcery.com>
24106             Andrew Jenner  <andrew@codesourcery.com>
24107             Joseph Myers  <joseph@codesourcery.com>
24108             Nathan Sidwell  <nathan@codesourcery.com>
24110         * NEWS: Mention new Nios II port.
24111         * sysdeps/nios2/Implies: New file.
24112         * sysdeps/nios2/Makefile: New file.
24113         * sysdeps/nios2/Subdirs: New file.
24114         * sysdeps/nios2/Versions: New file.
24115         * sysdeps/nios2/__longjmp.S: New file.
24116         * sysdeps/nios2/abort-instr.h: New file.
24117         * sysdeps/nios2/backtrace.c: New file.
24118         * sysdeps/nios2/bits/endian.h: New file.
24119         * sysdeps/nios2/bits/fenv.h: New file.
24120         * sysdeps/nios2/bits/link.h: New file.
24121         * sysdeps/nios2/bits/setjmp.h: New file.
24122         * sysdeps/nios2/bsd-_setjmp.S: New file.
24123         * sysdeps/nios2/bsd-setjmp.S: New file.
24124         * sysdeps/nios2/configure: New generated file.
24125         * sysdeps/nios2/configure.ac: New file.
24126         * sysdeps/nios2/crti.S: New file.
24127         * sysdeps/nios2/crtn.S: New file.
24128         * sysdeps/nios2/dl-init.c: New file.
24129         * sysdeps/nios2/dl-machine.h: New file.
24130         * sysdeps/nios2/dl-sysdep.h: New file.
24131         * sysdeps/nios2/dl-tls.h: New file.
24132         * sysdeps/nios2/dl-trampoline.S: New file.
24133         * sysdeps/nios2/gccframe.h: New file.
24134         * sysdeps/nios2/gmp-mparam.h: New file.
24135         * sysdeps/nios2/jmpbuf-offsets.h: New file.
24136         * sysdeps/nios2/jmpbuf-unwind.h: New file.
24137         * sysdeps/nios2/ldsodefs.h: New file.
24138         * sysdeps/nios2/libc-tls.c: New file.
24139         * sysdeps/nios2/libm-test-ulps: New file.
24140         * sysdeps/nios2/machine-gmon.h: New file.
24141         * sysdeps/nios2/math-tests.h: New file.
24142         * sysdeps/nios2/math_private.h: New file.
24143         * sysdeps/nios2/memusage.h: New file.
24144         * sysdeps/nios2/nptl/Makefile: New file.
24145         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
24146         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
24147         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
24148         * sysdeps/nios2/nptl/pthreaddef.h: New file.
24149         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
24150         * sysdeps/nios2/nptl/tls.h: New file.
24151         * sysdeps/nios2/preconfigure: New file.
24152         * sysdeps/nios2/s_fma.c: New file.
24153         * sysdeps/nios2/s_fmaf.c: New file.
24154         * sysdeps/nios2/setjmp.S: New file.
24155         * sysdeps/nios2/sfp-machine.h: New file.
24156         * sysdeps/nios2/sotruss-lib.c: New file.
24157         * sysdeps/nios2/stackguard-macros.h: New file.
24158         * sysdeps/nios2/stackinfo.h: New file.
24159         * sysdeps/nios2/start.S: New file.
24160         * sysdeps/nios2/sysdep.h: New file.
24161         * sysdeps/nios2/tls-macros.h: New file.
24162         * sysdeps/nios2/tst-audit.h: New file.
24163         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
24164         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
24165         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
24166         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
24167         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
24168         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
24169         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
24170         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
24171         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
24172         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
24173         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
24174         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
24175         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
24176         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
24177         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
24178         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
24179         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
24180         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
24181         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
24182         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
24183         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
24184         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
24185         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
24186         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
24187         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
24188         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
24189         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
24190         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
24191         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
24192         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
24193         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
24194         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
24195         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
24196         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
24197         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
24198         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
24199         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
24200         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
24201         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
24202         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
24203         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
24204         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
24205         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
24206         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
24208 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24210         [BZ #17844]
24211         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
24212         (getutent): Use weak_alias in non SHARED case
24213         and default_symbol_version in SHARED case.
24214         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
24215         (getutent_r, pututline): Likewise.
24216         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
24217         (getutid): Likewise.
24218         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
24219         (getutid_r): Likewise.
24220         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
24221         (getutline): Likewise.
24222         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
24223         (getutline_r): Likewise.
24224         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
24225         (updwtmp): Likewise.
24227 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
24229         [BZ #17848]
24230         * sysdeps/s390/s390-32/memcmp.S
24231         (memcmp_g5): Rename to __memcmp_g5.
24232         * sysdeps/s390/s390-32/memcpy.S
24233         (memcpy_g5): Rename to __memcpy_g5.
24234         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24235         (memcpy_mvcle) Rename to __memcpy_mvcle.
24236         * sysdeps/s390/s390-32/memset.S
24237         (memset_g5): Rename to __memset_g5.
24238         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24239         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24240         and use prefixed functions.
24241         * sysdeps/s390/s390-32/multiarch/memcmp.S
24242         (memcmp_z196): Rename to __memcmp_z196.
24243         (memcmp_z10): Rename to __memcmp_z10.
24244         (memcmp): Set alias to __memcmp_g5.
24245         (bcmp): Set alias to __memcmp_g5.
24246         * sysdeps/s390/s390-32/multiarch/memcpy.S
24247         (memcpy_z196): Rename to __memcpy_z196.
24248         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24249         (memcpy_z10): Rename to __memcpy_z10.
24250         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24251         (memcpy): Set alias to __memcpy_g5.
24252         * sysdeps/s390/s390-32/multiarch/memset.S
24253         (memset_z196): Rename to __memset_z196.
24254         Jump to __memset_mvcle instead of memset_mvcle.
24255         (memset_z10): Rename to __memset_z10.
24256         Jump to __memset_mvcle instead of memset_mvcle.
24257         (memset_mvcle) Rename to __memset_mvcle.
24258         (memset): Set alias to __memset_g5.
24259         * sysdeps/s390/s390-64/memcmp.S
24260         (memcmp_z900): Rename to __memcmp_z900.
24261         * sysdeps/s390/s390-64/memcpy.S
24262         (memcpy_z900): Rename to __memcpy_z900.
24263         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24264         (memcpy_mvcle) Rename to __memcpy_mvcle.
24265         * sysdeps/s390/s390-64/memset.S
24266         (memset_z900): Rename to __memset_z900.
24267         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
24268         (IFUNC_RESOLVE): Prefix ifunc-resolve function
24269         and use prefixed functions.
24270         * sysdeps/s390/s390-64/multiarch/memcmp.S
24271         (memcmp_z196): Rename to __memcmp_z196.
24272         (memcmp_z10): Rename to __memcmp_z10.
24273         (memcmp): Set alias to __memcmp_z900.
24274         (bcmp): Set alias to __memcmp_z900.
24275         * sysdeps/s390/s390-64/multiarch/memcpy.S
24276         (memcpy_z196): Rename to __memcpy_z196.
24277         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24278         (memcpy_z10): Rename to __memcpy_z10.
24279         Jump to __memcpy_mvcle instead of memcpy_mvcle.
24280         (memcpy): Set alias to __memcpy_z900.
24281         * sysdeps/s390/s390-64/multiarch/memset.S
24282         (memset_z196): Rename to __memset_z196.
24283         Jump to __memset_mvcle instead of memset_mvcle.
24284         (memset_z10): Rename to __memset_z10.
24285         Jump to __memset_mvcle instead of memset_mvcle.
24286         (memset_mvcle) Rename to __memset_mvcle.
24287         (memset): Set alias to __memset_z900.
24289 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
24291         [BZ #17748]
24292         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
24293         __fesetenv instead of fesetenv.
24295 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24297         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
24298         macro.
24300 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24302         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
24303         regression on LE.
24305         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
24306         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
24307         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24308         strncmp-power8 object.
24309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24310         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
24311         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
24312         * NEWS: Update.
24314 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24315             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24317         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
24318         trailing byte check.
24320 2015-01-13  David S. Miller  <davem@davemloft.net>
24322         * include/signal.h (__sigreturn): Guard with __USE_MISC.
24324 2015-01-13  Roland McGrath  <roland@hack.frob.com>
24326         * login/logout.c (logout): Use memset rather than bzero.
24327         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
24328         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
24329         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
24330         (_gethtbyaddr): Likewise.
24331         * locale/programs/simple-hash.c (bcopy): Macro removed.
24333 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24335         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24336         Add strcmp-power8 object.
24337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24338         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
24339         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
24340         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
24341         __strcmp_power8 implementation.
24342         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
24343         * NEWS: Update.
24345         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24346         Add strncpy-power8 and stpncpy-power8 objects.
24347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24348         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
24349         implementations.
24350         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
24351         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
24352         __stpncpy_power8 implementation.
24353         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
24354         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
24355         __strncpy_power8 implementation.
24356         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
24357         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
24358         * NEWS: Update.
24360         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
24361         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
24362         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
24364         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24365         strncat-power8 object.
24366         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
24367         __strcat_power8 implementation.
24368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24369         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
24370         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
24371         optimized strcat for power8.
24373         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
24374         strcpy-power8 and stpcpy-power8 objects.
24375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24376         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
24377         implementations.
24378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
24379         multiarch stpcpy implementation for POWER8.
24380         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
24381         multiarch strcpy implementation for POWER8.
24382         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
24383         __strcpy_power8 function.
24384         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
24385         stpcpy for POWER8.
24386         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
24387         strcpy for POWER8.
24388         * NEWS: Update.
24390 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
24392         [BZ #16009]
24393         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
24394         weights and rules. Use do_xfrm_cached if data fits in cache,
24395         do_xfrm otherwise.  Moved former main loop to...
24396         * (do_xfrm_cached): New function.
24397         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
24398         find_idx, find_position and stack_push.
24399         * (find_idx): New function.
24400         * (find_position): Likewise.
24401         * localedata/sort-test.sh: Added test run for do_xfrm.
24402         * localedata/xfrm-test.c (main): Added command line option
24403         -nocache to run the test with strings that are too large for
24404         the STRXFRM cache.
24406 2015-01-13  Torvald Riegel  <triegel@redhat.com>
24408         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
24409         variable to lll_futex_wake call, not the value itself.
24411 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
24413         [BZ #17803]
24414         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
24415         twom64.  Adjust value to 0x1p-64L.
24416         (__scalblnl): Only return standard underflowing result for K <=
24417         -64 not K <= -63; adjust exponent for underflowing result by 64
24418         not 63.
24419         * math/libm-test.inc (scalbn_test_data): Add more tests.
24420         (scalbln_test_data): Likewise.
24422         [BZ #17834]
24423         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
24424         0x1p63L.
24425         (__scalblnl): Get new exponent of adjusted subnormal value from ES
24426         not HX.
24427         * math/libm-test.inc (scalbn_test_data): Add more tests.
24428         (scalbln_test_data): Likewise.
24430 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24431             Stefani Seibold  <stefani@seibold.net>
24433         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
24434         (sysdep_routines): Add dl-vdso here, ...
24435         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
24436         (sysdep_routines): ... not here.
24437         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
24438         fallback when vDSO is not presented.
24439         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
24440         Define with libc_hidden_proto/libc_hidden_data_def definitions.
24441         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
24442         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
24443         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
24444         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
24445         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
24446         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
24447         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
24448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
24449         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
24450         fallback configurable symbol when vDSO is not available.
24451         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
24452         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
24453         be able to redefine fallback symbol when vDSO is not available.
24454         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
24455         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
24457 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24459         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
24460         (TLS_INIT_TP): Add tm_capable initialization.
24461         (TLS_DEFINE_INIT_TP): Likewise.
24462         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
24463         TCB.
24464         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
24465         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
24466         calculation.
24467         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
24468         transactoion is lock elision is built and TCB tm_capable is set.
24469         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
24470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24471         (INTERNAL_SYSCALL_NCS): Likewise.
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24473         (INTERNAL_SYSCALL_NCS): Likewise.
24474         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24476         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24477         for powerpc.
24478         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24479         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24480         and remove it for 32 bits case.
24481         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24482         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24483         initialization.
24484         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24485         Disable lock elision with rdlocks if elision is not available.
24487         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24488         (sysdep_routines): Add lock elision objects.
24489         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24490         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24491         [pthread_mutex_t] (__elision): Add field.
24492         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24493         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24494         elision definitions for powerpc.
24495         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24496         implementation of lock elision for powerpc.
24497         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24498         implementation of timed lock elision for powerpc.
24499         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24500         implementation of trylock with lock elision for powerpc.
24501         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24502         implementaion of unlock for lock elision for powerpc.
24503         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24504         automatic enable lock elision for mutexes.
24505         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24506         transaction execution definitions for powerpc.
24507         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24508         definitions.
24509         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24510         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24511         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24512         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24513         * NEWS: Update.
24515 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24517         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24518         for #include of <shm-directory.h>.
24520 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24522         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24523         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24525 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24527         [BZ #17791]
24528         * NEWS: Mention bug fix.
24529         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24530         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24531         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24533 2015-01-09  Torvald Riegel <triegel@redhat.com>
24535         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24537 2015-01-09  Torvald Riegel <triegel@redhat.com>
24539         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24541 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24543         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24544         pointer and cast to uintptr_t.
24546 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24548         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24549         removed.
24550         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24552 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24554         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24555         of 0.
24557 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24559         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24560         <nptl/pthreadP.h> instead.
24561         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24563         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24564         already defined.
24565         [__SIGRTMIN] (init): Function removed.
24566         [__SIGRTMIN] (initialized): Variable removed.
24567         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24568         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24569         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24570         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24571         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24572         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24573         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24574         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24575         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24576         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24577         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24578         * sysdeps/nptl/allocrtsig.c: New file.
24579         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24580         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24581         * sysdeps/generic/testrtsig.h: File removed.
24583         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24584         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24586         * nptl/nptl-init.c (pthread_functions): Conditionalize
24587         .ptr__nptl_setxid initialization on [SIGSETXID].
24589         * sysdeps/nptl/sys/procfs.h: New file.
24590         * nptl_db/Makefile (headers): Add it.
24591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24593         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24594         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24595         * nptl/pthread_attr_setaffinity.c: Include it.
24596         * nptl/pthread_setattr_default_np.c: Likewise.
24597         * nptl/check-cpuset.h: New file.
24599 2015-01-08  Richard Henderson  <rth@redhat.com>
24601         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24602         (CFLAGS-tst-execstack-prog.c): Likewise.
24603         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24605 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24606             Sandra Loosemore  <sandra@codesourcery.com>
24607             Andrew Jenner  <andrew@codesourcery.com>
24608             Joseph Myers  <joseph@codesourcery.com>
24609             Nathan Sidwell  <nathan@codesourcery.com>
24611         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24612         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24613         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24614         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24615         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24616         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24617         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24618         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24619         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24620         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24621         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24622         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24623         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24624         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24625         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24626         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24627         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24629 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24631         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24632         timespec struct member in syscall macro.
24633         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24634         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24635         first timeval struct member in syscall macro.
24636         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24638 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24640         [BZ #17748]
24641         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24642         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24643         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24644         __feupdateenv and define as weak alias of __feupdateenv.  Use
24645         libm_hidden_weak.
24646         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24647         libm_hidden_def.
24648         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24649         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24650         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24651         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24652         libm_hidden_def.
24653         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24654         __feupdateenv and define as weak alias of __feupdateenv.  Use
24655         libm_hidden_weak.
24656         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24657         libm_hidden_def.
24658         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24659         __feupdateenv and define as weak alias of __feupdateenv.  Use
24660         libm_hidden_weak.
24661         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24662         libm_hidden_def.
24663         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24664         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24665         (__feupdateenv): Likewise.
24666         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24667         __feupdateenv and define as weak alias of __feupdateenv.  Use
24668         libm_hidden_weak.
24669         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24670         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24671         libm_hidden_def.
24672         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24673         function.
24674         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24675         libm_hidden_def.
24676         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24677         __feupdateenv instead of feupdateenv.
24678         (default_libc_feupdateenv_test): Likewise.
24679         (libc_feresetround_ctx): Likewise.
24681 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24683         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24684         prototype.
24686 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24688         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24689         COLL_SYM in a couple of places to avoid uninitialized variable
24690         wanings on tilegx gcc 4.8.2.
24692 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24694         * sysdeps/aarch64/strcpy.S: New file.
24695         * sysdeps/aarch64/stpcpy.S: New file.
24696         * NEWS: Updated.
24698 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24700         * sysdeps/aarch64/strrchr.S: New file.
24701         * NEWS: Updated.
24703 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24705         [BZ #17658]
24706         * stdlib/setenv.c: Fix memory leak when setting large,
24707         duplicate string.
24709 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24711         [BZ #17273]
24712         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24713         and tabs from buffer before parsing fstab entry.
24714         * misc/tst-mntent.c (main): Add test for mount entry with
24715         trailing spaces and tabs.
24717 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24719         [BZ #17748]
24720         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24721         * math/fesetround.c (fesetround): Rename to __fesetround and
24722         define as weak alias of __fesetround.  Use libm_hidden_weak.
24723         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24724         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24725         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24726         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24727         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24728         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24729         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24730         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24731         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24732         __fesetround_inline.
24733         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24734         __fesetround_inline instead of __fesetround.
24735         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24736         __fesetround and define as weak alias of __fesetround.  Use
24737         libm_hidden_weak.  Call __fesetround_inline instead of
24738         __fesetround.
24739         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24740         __fesetround and define as weak alias of __fesetround.  Use
24741         libm_hidden_weak.
24742         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24743         Likewise.
24744         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24745         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24746         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24747         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24748         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24749         __fesetround and define as weak alias of __fesetround.  Use
24750         libm_hidden_weak.
24751         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24752         __fesetround instead of fesetround.
24753         (default_libc_feholdexcept_setround): Likewise.
24754         (libc_feholdsetround_ctx): Likewise.
24755         (libc_feholdsetround_noex_ctx): Likewise.
24757         [BZ #17748]
24758         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24759         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24760         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24761         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24762         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24763         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24764         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24765         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24766         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24767         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24768         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24769         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24770         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24771         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24772         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24773         libm_hidden_def.
24774         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24775         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24776         Likewise.
24777         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24778         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24779         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24780         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24781         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24782         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24783         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24784         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24785         __fesetenv instead of fesetenv.
24786         (libc_feresetround_noex_ctx): Likewise.
24787         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24788         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24789         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24790         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24791         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24792         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24793         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24794         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24795         (__feupdateenv): Likewise.
24796         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24797         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24798         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24799         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24801 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24803         [BZ #17806]
24804         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24805         addresses have been freed.
24807 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24809         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24810         and nservall.
24812 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24814         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24815         Clean up check_pf allocation pattern. addresses
24817 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24819         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24820         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24821         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24822         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24823         * nptl/pthread_join.c (pthread_join): Likewise.
24824         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24825         * sysdeps/posix/waitid.c (__waitid): Likewise.
24826         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24827         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24828         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24829         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24830         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24831         Likewise.
24832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24833         (__libc_pread64): Likewise.
24834         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24835         (__libc_pwrite): Likewise.
24836         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24837         (__libc_pwrite64): Likewsie.
24838         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24839         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24840         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24841         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24842         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24843         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24844         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24846         Likewise.
24847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24848         (__libc_pread64): Likewise.
24849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24850         Likewise.
24851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24852         (__libc_pwrite64): Likewise.
24853         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24854         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24855         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24856         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24857         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24858         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24859         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24860         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24861         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24862         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24863         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24864         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24865         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24866         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24867         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24868         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24869         Likewise.
24871 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24873         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24874         (CFLAGS-test-double.c): Likewise.
24875         (CFLAGS-test-ldouble.c): Likewise.
24876         (CPPFLAGS-test-ifloat.c): Likewise.
24877         (CPPFLAGS-test-idouble.c): Likewise.
24878         (CPPFLAGS-test-ildoubl.c): Likewise.
24879         (CFLAGS-test-test-fenv.c): Remove variable.
24880         (CFLAGS-test-misc.c): Likewise.
24882 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24884         [BZ #17797]
24885         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24886         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24887         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24888         CLOCKS_PER_SEC == 1000000.
24889         * time/clocktest.c (main): Replace %ld with %jd and cast to
24890         intmax_t.
24892 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24894         * sysdeps/generic/unwind-resume.h: New file.
24895         * sysdeps/gnu/unwind-resume.c: Include it.
24896         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24897         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24898         argument list.
24899         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24900         global rather than static.
24901         (_Unwind_Resume): Update user.
24902         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24903         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24904         rather than static.  Add __attribute__ ((cold)).
24905         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24906         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24907         * sysdeps/arm/arm-unwind-resume.S: New file.
24908         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24909         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24910         * sysdeps/arm/Makefile [$(subdir) = csu]
24911         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24912         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24913         Add rt-arm-unwind-resume.
24914         [$(subdir) = nptl]
24915         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24916         Add pt-arm-unwind-resume.
24917         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24918         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24920 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24922         [BZ #17748]
24923         * include/fenv.h (__feholdexcept): Declare.  Use
24924         libm_hidden_proto.
24925         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24926         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24927         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24928         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24929         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24930         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24931         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24932         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24933         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24934         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24935         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24936         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24937         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24938         (feholdexcept): Likewise.
24939         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24940         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24941         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24942         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24943         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24944         __feholdexcept instead of feholdexcept.
24945         (default_libc_feholdexcept_setround): Likewise.
24947 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24949         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24950         to avoid using stl/str to align destination.
24952 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24954         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24956 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24958         [BZ #17796]
24959         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24960         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24961         Define as weak alias not strong alias.
24963 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24965         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24966         bltzal with addiupc.
24967         (RTLD_START): Ditto.
24969 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24971         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24972         for __vdso_* functions in declarations.
24973         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24974         definitions.
24975         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24976         INTERNAL_VSYSCALL): Use struct return types to check for error.
24978         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24979         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24980         function with cast from llround().
24981         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24982         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24983         Define.
24985 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24987         [BZ #17793]
24988         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24989         Define as weak alias not strong alias.
24991         [BZ #17635]
24992         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24993         ...
24994         * ctype/ctype-extn.c: ... here.
24995         (__isblank_l): Move to ...
24996         * ctype/ctype-c99_l.c: ... here.  New file.
24997         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24998         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24999         Remove variable.
25000         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
25001         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
25002         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
25003         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
25004         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
25006         [BZ #17777]
25007         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
25008         (posix_fadvise64): Define as weak alias not strong alias.
25009         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25010         (posix_fallocate64): Likewise.
25011         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
25012         Remove variable.
25013         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
25014         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
25015         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
25016         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
25017         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
25019 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
25021         [BZ #16191]
25022         * NEWS: Mention bug fix.
25023         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
25024         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
25025         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
25026         (HOST_STACK_END_ADDR): Likewise.
25028 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25030         [BZ #17748]
25031         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
25032         * math/fegetround.c (fegetround): Rename to __fegetround and
25033         define as weak alias of __fegetround.  Use libm_hidden_weak.
25034         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
25035         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
25036         * sysdeps/arm/fegetround.c (fegetround): Likewise.
25037         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
25038         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25039         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
25040         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
25041         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
25042         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25043         Undefine after rather than before function definition; use
25044         parentheses around function name in definition.
25045         (__fegetround): Also undefine macro after function definition.
25046         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
25047         __fegetround and define as weak alias of __fegetround.  Use
25048         libm_hidden_weak.  Do not undefine as macro.
25049         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25050         Likewise.
25051         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
25052         __fegetround and define as weak alias of __fegetround.  Use
25053         libm_hidden_weak.
25054         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25055         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25056         * sysdeps/tile/math_private.h (__fegetround): New inline function.
25057         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
25058         __fegetround and define as weak alias of __fegetround.  Use
25059         libm_hidden_weak.
25060         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
25061         __fegetround instead of fegetround.
25063         [BZ #17782]
25064         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
25065         Condition macro definition on [__USE_MISC].
25067         [BZ #17781]
25068         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
25069         (struct sigaction): Change type of sa_flags field to int.
25071         [BZ #17780]
25072         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
25073         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
25074         __glibc_reserved0.
25076         * nptl/version.c (banner): Use single year in copyright notice.
25078         * NEWS: Update copyright dates.
25079         * catgets/gencat.c (print_version): Likewise.
25080         * csu/version.c (banner): Likewise.
25081         * debug/catchsegv.sh: Likewise.
25082         * debug/pcprofiledump.c (print_version): Likewise.
25083         * debug/xtrace.sh (do_version): Likewise.
25084         * elf/ldconfig.c (print_version): Likewise.
25085         * elf/ldd.bash.in: Likewise.
25086         * elf/pldd.c (print_version): Likewise.
25087         * elf/sotruss.sh: Likewise.
25088         * elf/sprof.c (print_version): Likewise.
25089         * iconv/iconv_prog.c (print_version): Likewise.
25090         * iconv/iconvconfig.c (print_version): Likewise.
25091         * locale/programs/locale.c (print_version): Likewise.
25092         * locale/programs/localedef.c (print_version): Likewise.
25093         * login/programs/pt_chown.c (print_version): Likewise.
25094         * malloc/memusage.sh (do_version): Likewise.
25095         * malloc/memusagestat.c (print_version): Likewise.
25096         * malloc/mtrace.pl: Likewise.
25097         * manual/libc.texinfo: Likewise.
25098         * nptl/version.c (banner): Likewise.
25099         * nscd/nscd.c (print_version): Likewise.
25100         * nss/getent.c (print_version): Likewise.
25101         * nss/makedb.c (print_version): Likewise.
25102         * posix/getconf.c (main): Likewise.
25103         * scripts/test-installation.pl: Likewise.
25104         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25106 2015-01-02  Will Newton  <will.newton@linaro.org>
25108         * sysdeps/arm/armv7/configure: Removed.
25109         * sysdeps/arm/armv7/configure.ac: Likewise.
25111 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
25113         * All files with FSF copyright notices: Update copyright dates
25114         using scripts/update-copyrights.
25115         * intl/plural.c: Regenerated.
25116         * locale/programs/charmap-kw.h: Likewise.
25117         * locale/programs/locfile-kw.h: Likewise.
25119 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25121         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
25123 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25125         [BZ #17748]
25126         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
25127         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
25128         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25129         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25130         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25131         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
25132         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25133         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
25134         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25135         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25136         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25137         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25138         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25139         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25140         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
25141         libm_hidden_def.
25142         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
25143         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
25144         Likewise.
25145         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
25146         define as weak alias of __fegetenv.  Use libm_hidden_weak.
25147         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
25148         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25149         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
25150         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
25151         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
25152         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
25153         __fegetenv instead of fegetenv.
25154         (libc_feholdsetround_noex_ctx): Likewise.
25156 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
25158         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
25159         (Elf_MIPS_ABIFlags_v0): New structure.
25160         (EF_MIPS_FP64): Define.
25161         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
25162         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
25163         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
25164         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
25165         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
25166         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
25167         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
25168         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
25169         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
25170         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
25171         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
25172         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
25173         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
25174         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
25175         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
25176         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
25177         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
25178         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
25179         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
25180         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
25181         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
25182         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
25183         field.
25184         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
25185         EF_MIPS_FP64.
25186         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
25187         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
25188         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
25189         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
25190         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
25191         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
25192         * sysdeps/mips/tst-abi-interlink.c: Likewise.
25193         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
25194         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
25195         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
25196         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
25197         record the current FP ABI extension.
25198         (mips-mode-switch): Define to show if kernel headers support mode
25199         switching.
25200         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25201         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
25202         supported SYSV ABI version to 3.
25203         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
25204         feature.
25206 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25207             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25209         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
25210         path.
25211         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
25213 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
25215         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
25216         __fegetround and redefine to call __fegetround.  Remove condition
25217         on [!__NO_MATH_INLINES].
25218         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
25219         function.
25220         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
25221         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25222         Remove macro.
25223         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
25224         instead of <fenv_libc.h>.
25225         (__llrintl): Call fegetround instead of __fegetround.
25226         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
25227         instead of <fenv_libc.h>.
25228         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
25229         (__lrintl): Call fegetround instead of __fegetround.
25230         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
25231         instead of <fenv_libc.h>.
25232         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
25233         (__rintl): Call fegetround instead of __fegetround.
25235 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25237         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
25238         arrays.
25240 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25242         [BZ #17775]
25243         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
25244         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
25245         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
25247 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25249         * sysdeps/i386/tls-macros.h: Include <features.h>.
25250         (TLS_LE): Use non-PIC version for GCC >= 5.0.
25251         (TLS_IE): Likewise.
25252         (TLS_LD): Likewise.
25253         (TLS_GD): Likewise.
25254         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
25255         define for GCC >= 5.0.
25257 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
25259         * math/test-fenv.c (test_single_exception, set_single_exc,
25260         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
25261         feexcp_mask_test, feenable_test, fe_single_test): Add
25262         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
25263         case where they are not used.
25264         * math/libm-test.inc: Likewise.
25265         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
25266         unused in the absence of FP rounding/exception support.
25267         * stdio-common/tst-printf-round.c: Likewise.
25268         * stdlib/tst-strtod-round.c: Likewise.
25269         * stdlib/tst-strtod-underflow.c: Likewise.
25271 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
25273         [BZ #17723]
25274         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
25275         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
25276         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25277         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25278         libm_hidden_weak.
25279         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
25280         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25281         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
25282         libm_hidden_def.
25283         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25284         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25285         libm_hidden_weak.
25286         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
25287         Likewise.
25288         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
25289         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25290         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25291         libm_hidden_weak.
25292         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25293         libm_hidden_def.
25294         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25295         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
25296         (__feraiseexcept): Likewise.
25297         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
25298         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
25299         libm_hidden_weak.
25300         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
25301         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
25302         libm_hidden_def.
25303         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
25304         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
25305         Use libm_hidden_def.
25306         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
25307         libm_hidden_def.
25308         (feraiseexcept): Define as weak not strong alias.  Use
25309         libm_hidden_weak.
25310         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
25311         New inline function.  Factored out of ...
25312         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
25313         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
25314         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
25315         feraiseexcept.
25316         * math/w_acos.c (__acos): Likewise.
25317         * math/w_asin.c (__asin): Likewise.
25318         * math/w_ilogb.c (__ilogb): Likewise.
25319         * math/w_j0.c (y0): Likewise.
25320         * math/w_j1.c (y1): Likewise.
25321         * math/w_jn.c (yn): Likewise.
25322         * math/w_log.c (__log): Likewise.
25323         * math/w_log10.c (__log10): Likewise.
25324         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
25325         * sysdeps/aarch64/fpu/math_private.h
25326         (libc_feupdateenv_test_aarch64): Likewise.
25327         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25328         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
25329         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
25330         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25331         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25332         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25333         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
25334         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25335         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25336         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25338 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
25340         [BZ #17732]
25341         * io/test-utime.c (main): Replace %ld with %jd and cast to
25342         intmax_t.
25343         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
25344         * nptl/tst-mutex5.c: Include <stdint.h>.
25345         (do_test): Replace %ld with %jd and cast to intmax_t.
25346         * posix/tst-regex.c (run_test): Likewise.
25347         (run_test_backwards): Likewise.
25348         * rt/tst-clock.c: Include <stdint.h>.
25349         (clock_test): Replace %ld with %jd and cast to intmax_t.
25350         * rt/tst-cpuclock1.c: Include <stdint.h>.
25351         (do_test): Replace %lu with %ju and cast to uintmax_t.
25352         * rt/tst-cpuclock2.c: Include <stdint.h>.
25353         (do_test): Replace %lu with %ju and cast to uintmax_t.
25354         * rt/tst-mqueue1.c: Include <stdint.h>.
25355         (check_attrs): Replace %ld with %jd and cast to intmax_t.
25356         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
25357         intmax_t.
25358         * rt/tst-mqueue4.c (do_test): Likewise.
25359         * rt/tst-timer4.c: Include <stdint.h>.
25360         (check_ts): Replace %ld with %jd and cast to intmax_t.
25361         (do_test): Likewise.
25362         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
25363         and cast to intmax_t.
25364         * sysdeps/pthread/tst-timer.c (main): Likewise.
25365         * time/clocktest.c (main): Likewise.
25366         * time/tst-posixtz.c (do_test): Likewise.
25367         * timezone/tst-timezone.c (main): Likewise.
25369 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
25370             H.J. Lu  <hongjiu.lu@intel.com>
25372         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
25373         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
25374         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
25375         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
25376         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
25377         version if bit_Fast_Unaligned_Load is set.
25378         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25379         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25380         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25381         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25382         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25383         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25385         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
25386         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
25387         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
25388         to 4.
25389         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
25390         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
25391         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
25392         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
25394 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
25396         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
25397         instead of #if to avoid a Wundef warning.
25398         * stdlib/tst-limits.c (do_test): Likewise.
25400         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
25401         parallel other exception macros.
25402         (fegetenv): Convert from macro to extern inline so that it applies
25403         retroactively to inline functions already seen by the compiler.
25404         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
25406         * posix/Makefile (before-compile): Use $(objpfx) for
25407         posix-conf-vars-def.h.
25409 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25411         * posix/getconf.c (main): Use size_t for type of I.
25412         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
25413         NSPEC.
25415         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
25416         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
25417         * posix/posix-envs.def: Likewise.
25418         * sysdeps/posix/sysconf.c: Likewise.
25419         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
25420         (specs): Remove array.
25421         * scripts/gen-posix-conf-vars.awk: Support generation of specs
25422         array.
25424         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
25425         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
25426         (__sysconf): Use CONF_IS_* macros.
25428         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
25429         ($(objpfx)posix-conf-vars-def.h): New target.
25430         * posix/posix-conf-vars.list: New file.
25431         * posix/posix-conf-vars.h: New file.
25432         * posix/confstr.c: Include posix-conf-vars.h.
25433         (confstr): Use CONF_IS_* macros.
25434         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
25435         CONF_IS_* macros.
25436         * scripts/gen-posix-conf-vars.awk: New file.
25438 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
25440         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
25441         fegetround): Add no-op macros to avoid linknamespace issues.
25443         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
25444         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
25446         * sysdeps/unix/sysv/linux/tile/sysdep.h
25447         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
25448         assembly-specific section to avoid a redefinition warning.
25450         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
25451         long before casting to pointer to avoid a cast warning.
25453 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
25455         * sysdeps/tile/tilegx/Implies: New file.
25457 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
25459         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
25461 2014-12-23  Florian Weimer  <fweimer@redhat.com>
25463         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
25465 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25467         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
25468         not define.
25469         * sysdeps/unix/sysv/linux/utimes.c: Do not include
25470         <kernel-features.h>.
25471         (__utimes) [__NR_utimes]: Make code unconditional.
25472         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
25473         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25474         (__ASSUME_UTIMES): Do not undefine.
25475         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25476         (__ASSUME_UTIMES): Likewise.
25477         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25478         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25479         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25480         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25482 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25484         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25486 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25488         [BZ #17747]
25489         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25490         alias to weak alias for j0l, y0l.
25491         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25492         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25494         [BZ #17746]
25495         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25496         conversion.
25498 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25500         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25501         to zero if not already defined.
25503 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25505         [BZ #17724]
25506         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25507         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25508         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25509         (char *) casts added.
25510         * sysdeps/ieee754/k_standardf.c: New file.
25511         * sysdeps/ieee754/k_standardl.c: Likewise.
25512         * math/Makefile (libm-support): Remove k_standard.
25513         (libm-calls): Add k_standard.
25515 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25517         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25518         Optimize to avoid an unnecessary FPCR read.
25520 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25522         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25523         Optimize to reduce FPCR/FPSR accesses.
25525 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25527         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25528         Call libc_fetestexcept_aarch64.
25530 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25532         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25533         Call libc_fesetround_aarch64.
25535 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25537         [BZ #17733]
25538         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25539         (__bind): Do not define as weak alias.
25540         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25541         define.
25542         (__getsockname): Do not define as weak alias.
25544 2014-12-22  Will Newton  <will.newton@linaro.org>
25546         * manual/install.texi: Document that we require bison 2.7
25547         or above.
25548         * INSTALL: Regenerate.
25549         * configure.ac: Use AC_CHECK_PROG_VER instead of
25550         AC_PATH_PROG when checking for bison and check for
25551         version 2.7 or above.
25552         * configure: Regenerate.
25554 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25556         [BZ #17745]
25557         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25558         * sysdeps/tile/ffsll.c (ffsll): To here.
25560         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25562 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25564         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25565         if not defined.
25566         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25567         definition.
25568         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25569         hidden ___tls_get_addr.
25570         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25571         hidden __tls_get_addr.
25572         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25573         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25574         Likewise.
25576 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25578         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25579         _dl_init call.
25581 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25583         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25584         from "call _dl_init@PLT".
25585         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25587 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25589         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25590         guarantees.
25592 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25594         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25596 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25598         [BZ #17744]
25599         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25600         strnlen.
25602 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25604         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25605         of multu on MIPSr6.
25606         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25607         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25608         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25609         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25610         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25612 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25614         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25615         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25616         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25617         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25618         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25619         mips32r6/mips64r6.
25620         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25622 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25624         * string/strncat.c (STRNCAT): Simplify implementation.
25626 2014-12-19  David S. Miller  <davem@davemloft.net>
25628         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25629         access the quad as both a long double and as a series of 4 words.
25631         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25632         link_map->l_info array access.
25634 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25636         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25638         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25639         * math/atest-exp2.c (TIMEOUT): Likewise.
25640         * math/atest-sincos.c (TIMEOUT): Likewise.
25642 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25644         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25645         -Wno-error with -fno-builtin-lround.
25647 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25649         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25650         Contains futex constants and functions moved over from ...
25651         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25652         <lowlevellock-futex.h>.
25653         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25654         (lll_timedwait_tid): Add comments and parentheses around macro
25655         arguments.
25657 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25659         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25660         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25661         (__lll_private_flag): Remove.
25662         (lll_futex_wait): Likewise.
25663         (lll_futex_timed_wait): Likewise.
25664         (lll_futex_wake): Likewise.
25665         (lll_futex_requeue): Likewise.
25666         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25667         (__lll_timedwait_tid): Spell out argument names.
25668         (lll_timedwait_tid): Add comments and parentheses around macro
25669         arguments.
25670         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25671         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25673 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25675         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25676         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25677         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25678         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25679         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25680         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25681         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25682         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25683         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25684         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25685         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25686         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25687         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25688         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25689         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25690         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25691         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25692         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25693         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25695 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25697         * sysdeps/x86_64/x32/Makefile: New file.
25699 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25701         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25702         1L with (mp_limb_t) 1.
25704 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25706         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25707         * nptl/libc_pthread_init.c: ... here.
25708         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25709         * nptl/register-atfork.c: ... here.
25711         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25712         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25713         Use assert_perror to check its return value.
25714         (__gai_create_helper_thread): Likewise.
25716         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25718         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25720 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25722         [BZ #17725]
25723         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25724         __profil_counter.
25725         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25726         Likewise.
25727         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25728         Likewise.
25729         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25730         Likewise.
25731         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25732         (profil_counter): Likewise.
25733         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25734         (profil_counter): Likewise.
25735         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25736         Likewise.
25737         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25738         Likewise.
25739         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25740         (profil_counter): Likewise.
25741         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25742         Likewise.
25743         [!__profil_counter] (profil_counter): Define as weak alias of
25744         __profil_counter.
25745         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25746         (profil_counter): Rename to __profil_counter.
25747         [!__profil_counter] (profil_counter): Define as weak alias of
25748         __profil_counter.
25749         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25750         (profil_counter): Rename to __profil_counter.
25751         [!__profil_counter] (profil_counter): Define as weak alias of
25752         __profil_counter.
25753         * sysdeps/posix/profil.c: Update comment referring to
25754         profil_counter.
25755         (__profil): Use __profil_counter instead of profil_counter.
25756         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25757         __profil_counter.  Use __profil_counter_ushort and
25758         __profil_counter_uint in definitions.
25759         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25760         instead of profil_counter_uint and profil_counter_ushort.
25762         [BZ #17722]
25763         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25764         define as weak alias of __inet_makeaddr.
25765         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25766         as weak alias of __inet_addr.
25767         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25768         as weak alias of __inet_pton.  Use libc_hidden_weak.
25769         * include/arpa/inet.h (__inet_pton): Declare.  Use
25770         libc_hidden_proto.
25771         (inet_makeaddr): Don't use libc_hidden_proto.
25772         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25773         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25774         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25775         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25776         Remove variable.
25777         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25778         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25780 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25782         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25784 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25786         * stdio-common/bug-vfprintf-nargs.c (do_test):
25787         Cast value to intptr_t to avoid format warning
25788         for usage with PRIdPTR printing macro.
25790 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25792         * libio/tst-widetext.c (do_test):
25793         Use format type %td instead of %Zd for ptrdiff_t
25794         in order to avoid format warning.
25796 2014-12-17  Andreas Schwab  <schwab@suse.de>
25798         * nscd/mem.c (gc): Add size_t cast to match printf format.
25800 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25802         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25803         (init): Apply PTR_MANGLE to pointers before storing them.
25804         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25805         before using them.
25807 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25809         [BZ #17719]
25810         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25811         define as weak alias of __memrchr.
25812         (__memrchr): Do not define as strong alias of memrchr.
25813         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25814         Remove variable.
25815         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25816         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25817         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25819         [BZ #17717]
25820         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25821         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
25822         (if_indextoname): Rename to __if_indextoname and define as weak
25823         alias of __if_indextoname.  Use libc_hidden_weak.
25824         (if_freenameindex): Rename to __if_freenameindex and define as
25825         weak alias of __if_freenameindex.
25826         (if_nameindex): Rename to __if_nameindex and define as weak alias
25827         of __if_nameindex.
25828         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25829         __if_nametoindex and define as weak alias of __if_nametoindex.
25830         Use libc_hidden_weak.
25831         (if_freenameindex): Rename to __if_freenameindex and define as
25832         weak alias of __if_freenameindex.
25833         (if_nameindex): Rename to __if_nameindex and define as weak alias
25834         of __if_nameindex.
25835         (if_indextoname): Rename to __if_indextoname and define as weak
25836         alias of __if_indextoname.  Use libc_hidden_weak.
25837         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25838         __if_nametoindex and define as weak alias of __if_nametoindex.
25839         Use libc_hidden_weak.
25840         (if_freenameindex): Rename to __if_freenameindex and define as
25841         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25842         (if_nameindex_netlink): Use __if_freenameindex instead of
25843         if_freenameindex.
25844         (if_nameindex): Rename to __if_nameindex and define as weak alias
25845         of __if_nameindex.  Use libc_hidden_weak.
25846         (if_indextoname): Rename to __if_indextoname and define as weak
25847         alias of __if_indextoname.  Use libc_hidden_weak.
25848         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25849         libc_hidden_proto.
25850         [!_ISOMAC] (__if_freenameindex): Likewise.
25851         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25852         if_nametoindex.
25853         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25854         variable.
25855         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25856         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25857         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25858         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25859         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25860         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25861         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25863         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25864         Remove variable.
25865         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25866         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25868 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25870         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25871         subscript above bounds'
25873         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25874         bounds.
25876 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25878         * libio/tst-fopenloc.c: Use test-skeleton.c.
25880         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25881         (entry): Rename to ITEM.
25882         (do_test, comp): Adjust.
25884         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25886 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25888         * string/tester.c: Include <libc-internal.h>.
25889         (test_memset): Ignore -Wmemset-transposed-args.
25891 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25893         * misc/tst-mntent2.c (do_test): Fix warning.
25895 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25897         * elf/tst-unique4lib.cc(a): Mark as used.
25899 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25901         [BZ #17630]
25902         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25903         names.
25905 2014-12-16  Allan McRae  <allan@archlinux.org>
25907         * stdio-common/Makefile (tests): Re-add bug26.
25909 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25911         [BZ #17657]
25912         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25913         static array.
25915 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25917         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25918         (__lll_lock_wait): Likewise.
25919         (__lll_timedlock_wait): Likewise.
25920         (__lll_timedwait_tid): Likewise.
25921         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25922         (__lll_robust_timedlock_wait): Likewise.
25923         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25924         (lll_cond_trylock): Likewise.
25925         (__lll_lock): Likewise.
25926         (__lll_robust_lock): Likewise.
25927         (__lll_cond_lock): Likewise.
25928         (lll_robust_cond_lock): Likewise.
25929         (__lll_timedlock): Likewise.
25930         (__lll_robust_timedlock): Likewise.
25931         (__lll_unlock): Likewise.
25932         (__lll_robust_unlock): Likewise.
25933         (lll_wait_tid): Likewise.
25934         (lll_timedwait_tid): Likewise.
25936 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25938         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25940 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25942         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25944 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25946         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25947         * stdio-common/tst-sprintf.c: Likewise.
25949 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25951         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25953 2014-12-15  Jeff Law  <law@redhat.com>
25955         [BZ #16617]
25956         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25957         on the heap.  (CVE-2012-3406)
25958         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25959         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25960         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25962 2014-12-15  Will Newton  <will.newton@linaro.org>
25964         * manual/install.texi: Bump required version of texinfo
25965         to 4.7 from 4.5.
25966         * INSTALL: Regenerated.
25967         * configure.ac: Check for makeinfo version 4.7 and above.
25968         * configure: Regenerated.
25970 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25972         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25973         PREFIX, string constant to insert between directory and name.
25974         * sysdeps/posix/shm_open.c: Update caller.
25975         * sysdeps/posix/shm_unlink.c: Likewise.
25976         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25977         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25978         (SEM_SHM_PREFIX): New macro.
25979         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25980         [$(have-thread-library) = no].
25981         * nptl/Makefile (libpthread-routines): Add shm-directory.
25982         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25983         * sysdeps/nptl/shm-directory.h: New file.
25984         * sysdeps/posix/shm-directory.c
25985         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25986         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25987         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25988         INTERNAL_SYSCALL.
25989         (__where_is_shmfs): Function removed.
25990         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25991         Variables removed.
25992         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25993         Use SHM_GET_NAME.
25994         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25996         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25997         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25998         unconditional for use inside libpthread.
25999         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
26001 2014-12-12  Roland McGrath  <roland@hack.frob.com>
26003         * nptl/pthread_getaffinity.c: New file.
26004         * nptl/pthread_setaffinity.c: New file.
26005         * nptl/pthread_getname.c: New file.
26006         * nptl/pthread_setname.c: New file.
26008         * nptl/pthread_create.c (START_THREAD_DEFN)
26009         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
26011 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26012             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26014         * resolv/res_send.c (send_vc): Disable warning resplen may
26015         be used uninitialized.
26017 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
26019         * nptl/tst-mutex6.c
26020         (ATTR_NULL): New define checks ATTR against NULL.
26021         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
26022         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
26024 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
26026         [BZ #17581]
26027         * malloc/hooks.c
26028         (mem2mem_check): Revert my previous change.
26029         (malloc_check_get_size): Revert my previous change.
26030         (mem2chunk_check): Revert my previous change.
26032 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26034         * sysdeps/posix/shm-directory.c: New file.
26035         * sysdeps/posix/shm-directory.h: New file.
26036         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
26037         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
26038         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
26039         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
26040         Transmute EPERM to EACCES.
26041         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
26042         from ...
26043         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
26044         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
26046 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26048         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
26049         pointer and cast to uintptr_t.
26050         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
26051         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
26052         Add cast to avoid warning.
26053         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
26055 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26057         * nptl/semaphore.h: Move to ...
26058         * sysdeps/pthread/semaphore.h: ... here.
26059         * Makefile (installed-headers): Change nptl/semaphore.h to
26060         sysdeps/pthread/semaphore.h.
26062 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26064         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
26065         generated error format strings.
26067         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
26068         -Wformat-extra-args warnings for scanf formats.
26069         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
26070         test of zero-length format (duh).
26071         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
26072         corner-case scanf format test.
26073         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
26074         generated fprintf format string.
26075         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
26076         corner-case sprintf format tests.
26077         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
26078         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
26079         -Wformat-extra-args warnings throughout.
26080         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
26081         (CFLAGS-scanf4.c): Likewise.
26082         (CFLAGS-scanf7.c): Likewise.
26083         (CFLAGS-tst-sprintf.c): Likewise.
26084         (CFLAGS-tst-printf.c): Likewise.
26085         (CFLAGS-tst-printfsz.c): Likewise.
26087 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
26089         * include/cpio.h: New file.
26090         * include/fmtmsg.h: Likewise.
26092         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
26093         corresponding format argument to size_t.
26094         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
26095         arguments.
26096         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
26097         corresponding format argument to size_t.
26098         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
26099         arguments.
26100         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
26101         corresponding format argument to size_t.
26102         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
26103         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
26104         (CFLAGS-tst-mbswcs2.c): Likewise.
26105         (CFLAGS-tst-mbswcs3.c): Likewise.
26106         (CFLAGS-tst-mbswcs4.c): Likewise.
26107         (CFLAGS-tst-mbswcs5.c): Likewise.
26108         (CFLAGS-tst-trans.c): Likewise.
26110 2014-12-11  Roland McGrath  <roland@hack.frob.com>
26112         * posix/regexbug1.c (main): Use "%s" format with regerror results,
26113         rather than assuming they won't contain any '%'s.
26115 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
26117         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
26118         inhibit_loop_to_libcall to avoid recursive calls.
26119         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
26120         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
26122 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
26124         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
26125         prototype.
26127 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26129         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
26130         integer value instead of boolean.
26132 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
26134         * malloc/malloc.c: Fix powerof2 check.
26136 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26138         * locale/programs/locfile.h (maybe_swap_uint32):
26139         Remove inline and add unused attribute.
26141 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26143         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26144         Truncating assembler expression to a .long expression.
26146 2014-12-11  Andreas Schwab  <schwab@suse.de>
26148         * elf/rtld.c (struct map_args): Constify str member.
26149         (do_preload): Constify fname argument.
26151 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26153         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
26154         constants definition.
26156 2014-12-11  Andreas Schwab  <schwab@suse.de>
26158         [BZ #16657]
26159         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
26160         FORCE_ELISION instead of DO_ELISION.
26161         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
26162         Remove.
26163         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
26164         Likewise.
26166         * iconvdata/gconv-modules: Remove duplicate entry.
26168 2014-12-11  Will Newton  <will.newton@linaro.org>
26170         Merge gettext 0.19.3 into intl/.
26172         This involves a number of cosmetic changes to comments
26173         and ANSI function definitions and prototypes throughout
26174         all the files. The gettext copyright header is used but
26175         with the date ranges taken from the glibc copy.
26177         * NEWS: Add gettext merge to 2.21.
26178         * intl/bindtextdom.c: Switch to gettext copyright.
26179         Use ANSI definitions and prototypes.
26180         Use gl_* locking primitives rather than __libc_* ones.
26181         Use __builtin_expect rather than __glibc_likely/unlikely.
26182         * intl/dcgettext.c: Switch to gettext copyright.
26183         Use ANSI definitions and prototypes.
26184         * intl/dcigettext.c: Switch to gettext copyright.
26185         Use ANSI definitions and prototypes.
26186         (INTDIV0_RAISES_SIGFPE): New define.
26187         Use gl_* locking primitives rather than __libc_* ones.
26188         Include eval-plural.h instead of plural-eval.c.
26189         Use __builtin_expect rather than __glibc_likely/unlikely.
26190         * intl/dcngettext.c: Switch to gettext copyright.
26191         Use ANSI definitions and prototypes.
26192         * intl/dgettext.c: Likewise.
26193         * intl/dngettext.c: Likewise.
26194         * intl/plural-eval.c: Renamed to...
26195         * intl/eval-plural.h: ...this.
26196         * intl/explodename.c: Switch to gettext copyright.
26197         Use ANSI definitions and prototypes.
26198         (_nl_explode_name): Use strchr instead of __rawmemchr.
26199         * intl/finddomain.c: Switch to gettext copyright.
26200         Use ANSI definitions and prototypes.
26201         Use gl_* locking primitives rather than __libc_* ones.
26202         (_nl_find_domain): Use malloc rather than alloca for
26203         allocation of temporary locale name.
26204         * intl/gettext.c: Switch to gettext copyright.
26205         Use ANSI definitions and prototypes.
26206         * intl/gettextP.h: Switch to gettext copyright.
26207         Use ANSI definitions and prototypes.
26208         Use gl_* locking primitives rather than __libc_* ones.
26209         * intl/gmo.h: Switch to gettext copyright.
26210         (struct sysdep_string): Move struct segment_pair outside of
26211         struct definition.
26212         * intl/hash-string.c: Use ANSI definitions and prototypes.
26213         * intl/hash-string.h: Switch to gettext copyright.
26214         Use ANSI definitions and prototypes.
26215         * intl/l10nflist.c: Switch to gettext copyright.
26216         Use ANSI definitions and prototypes.
26217         (_nl_normalize_codeset): Avoid integer overflow.
26218         * intl/loadinfo.h: Switch to gettext copyright.
26219         Use ANSI definitions and prototypes.
26220         (LIBINTL_DLL_EXPORTED): New define.
26221         (PATH_SEPARATOR): New define.
26222         * intl/loadmsgcat.c: Switch to gettext copyright.
26223         * intl/localealias.c: Switch to gettext copyright.
26224         Use ANSI definitions and prototypes.
26225         (_nl_expand_alias): Use PATH_SEPARATOR.
26226         * intl/ngettext.c: Switch to gettext copyright.
26227         Use ANSI definitions and prototypes.
26228         * intl/plural-exp.c: Likewise.
26229         * intl/plural-exp.h: Switch to gettext copyright.
26230         Use ANSI definitions and prototypes.
26231         (struct expression): Move definition of enum operator outside
26232         of struct definition.
26233         * intl/plural.c: Regenerate.
26234         * intl/plural.y: Switch to gettext copyright.
26235         Use ANSI definitions and prototypes.
26236         Port to bison 3.0.
26237         * intl/textdomain.c: Switch to gettext copyright.
26238         Use ANSI definitions and prototypes.
26239         Use gl_* locking primitives rather than __libc_* ones.
26241 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
26243         * debug/warning-nop.c: Add used atrribute.
26245 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26247         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
26249         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
26250         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
26251         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
26253 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26254             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26256         [BZ #17634]
26257         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
26258         Undefine after defining function.  Define as weak alias of
26259         __wcschr.  Use libc_hidden_weak.
26260         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
26261         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
26262         (libc_hidden_def): Also define __GI___wcschr alias.
26263         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
26264         __wcschr and define as weak alias of __wcschr.
26265         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
26266         __wcschr.
26267         [!WCSCHR] (DEFAULT_WCSCHR): Define.
26268         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
26269         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
26270         libc_hidden_weak.  Do not use libc_hidden_def.
26271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
26272         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
26273         __GI___wcschr alias.
26274         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
26275         [IS_IN (libc)] (wcschr): Define as macro expanding to
26276         __redirect_wcschr.
26277         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
26278         [IS_IN (libc)] (__wcschr_power6): Likewise.
26279         [IS_IN (libc)] (__wcschr_power7): Likewise.
26280         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
26281         instead of wcschr.
26282         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
26283         __libc_wcschr.
26284         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
26285         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
26286         __wcschr and define as weak alias of __wcschr.  Use
26287         libc_hidden_builtin_def.
26288         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
26289         as weak alias of __wcschr.  Use libc_hidden_weak.
26290         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
26291         wcschr.
26292         * time/era.c (_nl_init_era_entries): Likewise.
26293         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
26294         variable.
26295         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26296         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26298 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26300         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
26301         format for long int variable.
26303 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
26305         [BZ #10672]
26306         * manual/search.texi: (Array Sort Function): Remove claim how to make
26307         qsort stable.
26309 2014-12-10  Andreas Schwab  <schwab@suse.de>
26311         [BZ #12847]
26312         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
26313         user-controlled locks.
26315 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
26317         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
26318         register.
26320 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
26322         * configure.ac (--disable-werror): New configure option.
26323         (enable_werror): New AC_SUBST.
26324         * configure: Regenerated.
26325         * config.make.in (enable-werror): New variable.
26326         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
26327         -Wno-error=undef.
26328         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
26329         * manual/install.texi (Configuring and compiling): Document
26330         --disable-werror.
26331         * INSTALL: Regenerated.
26332         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
26333         (CFLAGS-tst-chk2.c): Likewise.
26334         (CFLAGS-tst-chk3.c): Likewise.
26335         (CFLAGS-tst-chk4.cc): Likewise.
26336         (CFLAGS-tst-chk5.cc): Likewise.
26337         (CFLAGS-tst-chk6.cc): Likewise.
26338         (CFLAGS-tst-lfschk1.c): Likewise.
26339         (CFLAGS-tst-lfschk2.c): Likewise.
26340         (CFLAGS-tst-lfschk3.c): Likewise.
26341         (CFLAGS-tst-lfschk4.cc): Likewise.
26342         (CFLAGS-tst-lfschk5.cc): Likewise.
26343         (CFLAGS-tst-lfschk6.cc): Likewise.
26345         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
26346         (main): Disable -Wdeprecated-declarations around calls to
26347         register_printf_function.
26349         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
26350         (do_test): Disable -Wdiv-by-zero around some calls to
26351         fwrite_unlocked and fread_unlocked.
26353         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
26354         (DIAG_POP_NEEDS_COMMENT): Likewise.
26355         (_DIAG_STR1): Likewise.
26356         (_DIAG_STR): Likewise.
26357         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
26358         * stdio-common/bug21.c: Include <libc-internal.h>.
26359         (do_test): Disable -Wformat around call to sscanf.
26360         * stdio-common/scanf14.c: Include <libc-internal.h>.
26361         (main): Disable -Wformat around some calls to scanf functions.
26363 2014-12-09  Torvald Riegel  <triegel@redhat.com>
26365         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
26367 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26369         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
26370         stack variable alignment.
26372 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
26374         [BZ #17682]
26375         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
26376         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
26377         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
26378         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
26379         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
26380         __getrlimit instead of getrlimit.
26381         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
26382         __gettimeofday instead of gettimeofday.
26383         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26384         Likewise.
26385         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26386         Likewise.
26387         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26388         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
26389         Remove variable.
26390         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26391         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26393 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26395         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
26396         for wide-character tests.
26398 2014-12-04  Roland McGrath  <roland@hack.frob.com>
26400         * io/openat64.c: #include <libc-internal.h>
26401         (__openat64): Prototypify.  Use ignore_value on MODE.
26402         * io/openat.c: Likewise.
26403         * misc/reboot.c: #include <libc-internal.h>
26404         (reboot): Prototypify.  Use ignore_value on HOWTO.
26405         * misc/ptrace.c: #include <libc-internal.h>
26406         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
26408 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
26410         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
26411         XPG4, UNIX98 and XOPEN2K.
26412         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
26413         Remove variable.
26414         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26416 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26418         * libio/fileops.c: Use ISO C style for function definitions.
26419         * libio/iofopen.c: Likewise.
26420         * libio/wfileops.c: Likewise.
26422         [BZ #17653]
26423         * libio/fileops.c (_IO_new_file_underflow): Unset cached
26424         offset on EOF.
26425         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
26426         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
26427         (fgets_func): Function pointer to fgets and fgetws.
26428         (do_ftell_test): Add test to verify ftell value after read
26429         EOF.
26430         (do_test): Set fgets_func.
26432         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
26433         O_TRUNC flag for w and w+ modes.
26434         (do_rewind_test): Likewise.
26435         (do_ftell_test): Likewise.
26436         (do_write_test): Likewise.
26438         [BZ #17647]
26439         * libio/fileops.c (do_ftell): Seek only when there are
26440         unflushed writes.
26441         * libio/wfileops.c (do_ftell_wide): Likewise.
26442         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
26443         test case.
26444         (do_one_test): Call it.
26446 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
26448         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
26449         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
26450         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
26451         Remove variable.
26452         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26453         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26454         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26456 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26458         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
26459         Remove variable.
26460         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26462         [BZ #17668]
26463         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
26464         as weak alias of __getifaddrs.  Use libc_hidden_weak.
26465         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26466         __freeifaddrs.  Use libc_hidden_weak.
26467         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
26468         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
26469         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26470         __freeifaddrs.  Use libc_hidden_weak.
26471         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
26472         __getifaddrs and define as weak alias of __getifaddrs.  Use
26473         libc_hidden_weak.
26474         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26475         __freeifaddrs.  Use libc_hidden_weak.
26476         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26477         Remove variable.
26478         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26479         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26481 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26483         [BZ #17601]
26484         * sysdeps/mips/start.S (__start): Use indirect jump to call
26485         __libc_start_main.
26487 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26489         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26491         * nptl/tst-mutex1.c: Include <stdbool.h>.
26492         [!ATTR] (ATTR_NULL): New macro.
26493         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26494         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26495         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26497         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26498         to char *.
26500         [BZ #17665]
26501         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26502         Change conditional to [__USE_MISC].
26504         [BZ #17664]
26505         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26506         fgets_unlocked.
26507         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26508         __fgets_unlocked.
26509         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26510         fgets_unlocked.
26511         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26512         Remove variable.
26513         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26514         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26515         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26516         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26517         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26518         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26519         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26520         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26521         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26523         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26525 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26527         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26528         Remove strpbrk objects.
26529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26530         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26531         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26532         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26533         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26534         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26536         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26537         Remove strcspn objects.
26538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26539         (__libc_ifunc_impl_list): Remove strcspn implementation.
26540         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26541         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26542         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26543         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26545         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26546         Remove strspn objetcs.
26547         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26548         (__libc_ifunc_impl_list): Remove strspn implementation.
26549         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26550         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26551         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26552         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26554 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26556         [BZ #17581]
26557         * malloc/hooks.c
26558         (mem2mem_check): Add a terminator to the chain of checking blocks.
26559         (malloc_check_get_size): Use it here.
26560         (mem2chunk_check): Ditto.
26562 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26564         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26565         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26567 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26569         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26571         * nptl/nptl-init.c: Include libc-internal.h.
26572         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26574         * elf/ldconfig.c (search_dir): Expand comment.
26576 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26578         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26579         variable.
26580         (linknamespace-symlist-stdlibs-tests): Likewise.
26581         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26582         instead of $(objpfx)symlist-stdlibs.
26583         (linknamespace-libs-isoc): New variable.
26584         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26585         (linknamespace-libs-ISO): New variable.
26586         (linknamespace-libs-ISO99): Likewise.
26587         (linknamespace-libs-ISO11): Likewise.
26588         (linknamespace-libs-XPG3): Likewise.
26589         (linknamespace-libs-XPG4): Likewise.
26590         (linknamespace-libs-POSIX): Likewise.
26591         (linknamespace-libs-UNIX98): Likewise.
26592         (linknamespace-libs-XOPEN2K): Likewise.
26593         (linknamespace-libs-POSIX2008): Likewise.
26594         (linknamespace-libs-XOPEN2K8): Likewise.
26595         ($(objpfx)symlist-stdlibs): Replace by
26596         $(linknamespace-symlist-stdlibs-tests).  Use
26597         $(linknamespace-libs-$*) as set of libraries.
26598         ($(linknamespace-header-tests)): Update dependencies.  Use
26599         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26600         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26601         * conform/linknamespace.pl: Remove comment about considering
26602         definitions of symbols from irrelevant libraries.
26604 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26606         [BZ #13862]
26607         * elf/dl-tls.c: Include <atomic.h>.
26608         (oom): Remove #ifdef SHARED/#endif.
26609         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26610         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26611         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26612         big enough.
26613         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26614         * nptl/Makefile (tests): Add tst-stack4.
26615         (modules-names): Add tst-stack4mod.
26616         ($(objpfx)tst-stack4): New.
26617         (tst-stack4mod.sos): Likewise.
26618         ($(objpfx)tst-stack4.out): Likewise.
26619         ($(tst-stack4mod.sos)): Likewise.
26620         (clean): Likewise.
26621         * nptl/tst-stack4.c: New file.
26622         * nptl/tst-stack4mod.c: Likewise.
26624 2014-11-27  J. Brown  <jb999@gmx.de>
26626         * sysdeps/x86/bits/string.h: Add recent CPUs.
26628 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26630         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26631         sigblock.
26633         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26634         feof.
26636         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26637         variable.
26639 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26641         * nscd/connections.c: Include libc-internal.h because of macro
26642         usage ignore_value.
26644 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26646         * string/bits/string3.h (__warn_memset_zero_len): Don't
26647         declare for gcc newer than 5.0.
26648         (memset): Don't test for zero-length __LEN for gcc newer than
26649         5.0.
26651 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26653         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26654         size_t for %zu format.
26656         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26657         difference, not %ju.
26659 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26661         * include/libc-internal.h (ignore_value): New macro.
26662         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26663         with ignore_value.
26665         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26666         definition.
26668         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26669         pthread_cleanup_push to void *.
26671         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26672         Undefine.
26674         [BZ #16619]
26675         [BZ #16740]
26676         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26677         instead of 1L << 52.
26679         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26680         * libio/bug-rewind2.c (do_test): Likewise.
26682         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26683         * debug/test-strcpy_chk-ifunc.c: Likewise.
26684         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26685         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26686         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26687         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26688         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26689         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26690         * Rules [$(multi-arch) = no] (tests): Do not filter out
26691         $(tests-ifunc).
26692         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26693         * debug/Makefile (tests-ifunc): Remove variable.
26694         (tests): Do not add $(tests-ifunc).
26695         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26696         (tests): Do not add $(tests-ifunc).
26697         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26698         [TEST_IFUNC]: Remove conditionals.
26699         * string/test-string.h (TEST_IFUNC): Remove macro.
26700         [TEST_IFUNC]: Remove conditionals.
26702         * string/test-strchr.c [!WIDE] (L): New macro.
26703         [WIDE] (L): Likewise.
26704         (check1): Use CHAR instead of char.  Use L on string and character
26705         constants.
26707 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26709         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26710         tests.
26711         * sysdeps/powerpc/bits/atomic.h
26712         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26713         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26714         (atomic_exchange_and_add_acq): Likewise.
26715         (atomic_exchange_and_add_rel): Likewise.
26716         * sysdeps/powerpc/powerpc32/bits/atomic.h
26717         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26718         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26719         * sysdeps/powerpc/powerpc64/bits/atomic.h
26720         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26721         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26723 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26725         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26726         Change synchronization of __sched_fifo_min_prio and
26727         __sched_fifo_max_prio.
26728         * nptl/pthread_mutexattr_getprioceiling.c
26729         (pthread_mutexattr_getprioceiling): Likewise.
26730         * nptl/pthread_mutexattr_setprioceiling.c
26731         (pthread_mutexattr_setprioceiling): Likewise.
26732         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26733         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26734         Likewise.
26736 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26738         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26739         void.
26741 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26743         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26744         third argument const.
26746 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26748         fnmatch: work around GCC compiler warning bug with uninit var
26749         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26750         This works around a bug with x86-64 GCC 4.9.2 and earlier
26751         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26752         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26753         used uninitialized in this function [-Wmaybe-uninitialized]".
26755 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26757         * posix/bug-regex31.c (main): Return RES not 0.
26759 2014-11-25  Anton Blanchard <anton@samba.org>
26761         * sysdeps/powerpc/bits/atomic.h
26762         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26764 2014-11-24  Sterling Augustine  <saugustine@google.com>
26766         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26768 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26770         [BZ #17608]
26771         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26773 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26775         [BZ #17633]
26776         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26777         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26778         variable.
26779         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26780         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26782 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26784         * string/strncpy.c (strncpy): Improve performance by using memset.
26786 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26788         * string/strcpy.c (strcpy):
26789         Improve performance by using strlen and memcpy.
26791 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26793         * string/strcoll_l.c (get_next_seq): __always_inline.
26794         * string/strcoll_l.c (do_compare): __always_inline.
26796 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26798         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26799         defined.
26800         * include/mqueue.h: Likewise.
26801         * include/stdlib.h: Likewise.
26803         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26804         (get_null_defines): Adjust.
26805         * sunrpc/Makefile: Adjust comment.
26806         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26807         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26808         (CFLAGS-interp.c): Likewise.
26809         (CFLAGS-ldconfig.c): Likewise.
26810         (CPPFLAGS-.os): Likewise.
26811         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26812         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26813         * extra-modules.mk (extra-modules.mk): Likewise.
26814         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26815         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26816         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26817         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26818         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26819         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26820         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26821         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26822         * iconvdata/Makefile (CPPFLAGS): Likewise.
26823         (cpp-srcs-left): Add libof for all iconvdata routines.
26824         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26825         * include/assert.h: Likewise.
26826         * include/ctype.h: Likewise.
26827         * include/errno.h: Likewise.
26828         * include/libc-symbols.h: Likewise.
26829         * include/math.h: Likewise.
26830         * include/netdb.h: Likewise.
26831         * include/resolv.h: Likewise.
26832         * include/stdio.h: Likewise.
26833         * include/stdlib.h: Likewise.
26834         * include/string.h: Likewise.
26835         * include/sys/stat.h: Likewise.
26836         * include/wctype.h: Likewise.
26837         * intl/l10nflist.c: Likewise.
26838         * libidn/idn-stub.c: Likewise.
26839         * libio/libioP.h: Likewise.
26840         * nptl/libc_multiple_threads.c: Likewise.
26841         * nptl/pthreadP.h: Likewise.
26842         * posix/regex_internal.h: Likewise.
26843         * resolv/res_hconf.c: Likewise.
26844         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26845         * sysdeps/arm/memmove.S: Likewise.
26846         * sysdeps/arm/sysdep.h: Likewise.
26847         * sysdeps/generic/_itoa.h: Likewise.
26848         * sysdeps/generic/symbol-hacks.h: Likewise.
26849         * sysdeps/gnu/errlist.awk: Likewise.
26850         * sysdeps/gnu/errlist.c: Likewise.
26851         * sysdeps/i386/i586/memcpy.S: Likewise.
26852         * sysdeps/i386/i586/memset.S: Likewise.
26853         * sysdeps/i386/i686/memcpy.S: Likewise.
26854         * sysdeps/i386/i686/memmove.S: Likewise.
26855         * sysdeps/i386/i686/mempcpy.S: Likewise.
26856         * sysdeps/i386/i686/memset.S: Likewise.
26857         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26858         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26859         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26860         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26861         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26862         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26863         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26864         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26865         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26866         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26867         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26868         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26869         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26870         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26871         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26872         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26873         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26874         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26875         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26876         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26877         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26878         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26879         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26880         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26881         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26882         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26883         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26884         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26885         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26886         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26887         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26890         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26891         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26892         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26893         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26894         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26895         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26896         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26897         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26898         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26900         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26901         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26902         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26903         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26904         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26905         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26906         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26907         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26908         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26909         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26910         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26911         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26912         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26913         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26914         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26915         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26916         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26917         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26918         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26919         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26920         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26921         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26922         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26923         * sysdeps/posix/closedir.c: Likewise.
26924         * sysdeps/posix/opendir.c: Likewise.
26925         * sysdeps/posix/readdir.c: Likewise.
26926         * sysdeps/posix/rewinddir.c: Likewise.
26927         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26928         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26929         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26930         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26931         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26932         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26933         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26934         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26935         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26936         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26937         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26938         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26939         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26940         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26941         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26942         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26943         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26944         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26946         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26947         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26948         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26949         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26950         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26951         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26953         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26955         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26956         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26957         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26959         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26962         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26963         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26964         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26965         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26966         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26967         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26968         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26969         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26970         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26971         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26972         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26973         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26974         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26975         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26976         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26977         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26978         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26979         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26981         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26983         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26984         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26985         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26986         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26987         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26988         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26989         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26990         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26991         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26992         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26993         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26994         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26995         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26996         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26997         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26998         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26999         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
27000         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
27001         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
27002         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
27003         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
27004         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
27005         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27006         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
27007         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
27008         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27009         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
27010         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
27011         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27012         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
27013         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
27014         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27015         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27016         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27017         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
27018         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
27019         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
27020         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27021         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27022         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
27023         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27024         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27025         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
27026         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
27027         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27028         * sysdeps/unix/alpha/sysdep.S: Likewise.
27029         * sysdeps/unix/alpha/sysdep.h: Likewise.
27030         * sysdeps/unix/make-syscalls.sh: Likewise.
27031         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27032         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27033         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27034         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
27035         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27036         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
27037         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
27038         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27039         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27040         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
27041         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27042         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27043         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27044         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27045         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27046         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27047         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27048         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27049         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27050         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27051         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
27052         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27053         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27054         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27055         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27056         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27057         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27060         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
27061         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27062         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27063         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27065         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27066         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27067         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27069         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27070         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27071         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27072         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27073         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27074         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27075         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27076         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27078         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27079         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27080         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27081         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27082         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27083         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27084         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27085         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
27086         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27087         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27089         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
27090         * sysdeps/x86_64/memcpy.S: Likewise.
27091         * sysdeps/x86_64/memmove.c: Likewise.
27092         * sysdeps/x86_64/memset.S: Likewise.
27093         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
27094         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
27095         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
27096         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
27097         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
27098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27099         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27100         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27101         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27102         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27103         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27104         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27105         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
27106         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27107         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27108         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
27109         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27110         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27111         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27112         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27113         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
27114         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27115         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27116         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
27117         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27118         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27119         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27120         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
27121         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27122         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27123         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
27124         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27125         * sysdeps/x86_64/strcmp.S: Likewise.
27127         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
27129         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
27130         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
27131         * elf/rtld-Rules: Likewise.
27132         * elf/setup-vdso.h: Likewise.
27133         * include/assert.h: Likewise.
27134         * include/bits/stdlib-float.h: Likewise.
27135         * include/errno.h: Likewise.
27136         * include/sys/stat.h: Likewise.
27137         * include/unistd.h: Likewise.
27138         * sysdeps/aarch64/setjmp.S: Likewise.
27139         * sysdeps/alpha/setjmp.S: Likewise.
27140         * sysdeps/arm/__longjmp.S: Likewise.
27141         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
27142         * sysdeps/arm/setjmp.S: Likewise.
27143         * sysdeps/arm/sysdep.h: Likewise.
27144         * sysdeps/generic/_itoa.h: Likewise.
27145         * sysdeps/generic/dl-sysdep.h: Likewise.
27146         * sysdeps/generic/ldsodefs.h: Likewise.
27147         * sysdeps/i386/dl-tls.h: Likewise.
27148         * sysdeps/i386/setjmp.S: Likewise.
27149         * sysdeps/m68k/setjmp.c: Likewise.
27150         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
27151         * sysdeps/mach/hurd/opendir.c: Likewise.
27152         * sysdeps/posix/getcwd.c: Likewise.
27153         * sysdeps/posix/opendir.c: Likewise.
27154         * sysdeps/posix/profil.c: Likewise.
27155         * sysdeps/powerpc/dl-procinfo.h: Likewise.
27156         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27157         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27158         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
27159         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
27160         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
27161         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
27162         * sysdeps/s390/dl-tls.h: Likewise.
27163         * sysdeps/s390/s390-32/setjmp.S: Likewise.
27164         * sysdeps/s390/s390-64/setjmp.S: Likewise.
27165         * sysdeps/sh/sh3/setjmp.S: Likewise.
27166         * sysdeps/sh/sh4/setjmp.S: Likewise.
27167         * sysdeps/unix/alpha/sysdep.h: Likewise.
27168         * sysdeps/unix/arm/sysdep.S: Likewise.
27169         * sysdeps/unix/i386/sysdep.S: Likewise.
27170         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27171         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27172         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
27173         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
27174         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27175         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
27176         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
27177         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27178         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
27179         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
27180         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
27181         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
27182         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
27183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27185         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
27186         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27187         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27188         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27189         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27190         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
27191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27193         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
27194         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
27196         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27197         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27198         * sysdeps/x86_64/setjmp.S: Likewise.
27200         * include/math.h: Use IS_IN instead of IS_IN_libm.
27201         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
27202         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27203         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27204         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
27205         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27206         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27207         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27208         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27209         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27210         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27211         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
27212         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
27213         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
27214         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
27215         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
27216         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
27217         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27218         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
27219         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27220         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
27221         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
27222         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
27223         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
27224         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
27225         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
27226         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
27227         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
27228         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
27229         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
27230         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
27231         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
27232         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27233         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
27235         Likewise.
27236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
27237         Likewise.
27238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
27239         Likewise.
27240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
27241         Likewise.
27242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
27243         Likewise.
27244         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27245         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
27246         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27247         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27248         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27249         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
27251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
27253         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
27254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
27255         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
27256         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
27257         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27258         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27259         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27260         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27261         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27262         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27263         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27264         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
27265         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27266         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
27267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
27268         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
27269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
27270         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
27272         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
27273         * nptl/pthreadP.h: Likewise.
27274         * nptl_db/structs.def: Likewise.
27275         * sysdeps/arm/sysdep.h: Likewise.
27276         * sysdeps/nptl/bits/libc-lock.h: Likewise.
27277         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
27278         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
27279         * sysdeps/unix/alpha/sysdep.h: Likewise.
27280         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27281         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
27282         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27283         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27284         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27285         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27286         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27287         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27288         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27289         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27290         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27291         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27292         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27293         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
27295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
27296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27297         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27298         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27301         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27302         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
27303         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27304         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
27305         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27307         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
27308         * nptl/pthreadP.h: Likewise.
27309         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
27310         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27311         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27312         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
27313         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
27314         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
27315         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
27316         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
27317         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
27318         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
27319         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27320         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
27322         Likewise.
27323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
27324         Likewise.
27325         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27326         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27327         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27328         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
27329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
27330         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27331         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
27332         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27334         * dlfcn/dladdr.c: Use IS_IN.
27335         * dlfcn/dladdr1.c: Likewise.
27336         * dlfcn/dlclose.c: Likewise.
27337         * dlfcn/dlerror.c: Likewise.
27338         * dlfcn/dlinfo.c: Likewise.
27339         * dlfcn/dlmopen.c: Likewise.
27340         * dlfcn/dlopen.c: Likewise.
27341         * dlfcn/dlsym.c: Likewise.
27342         * dlfcn/dlvsym.c: Likewise.
27344         * include/ifaddrs.h: Use IS_IN.
27345         * inet/check_pf.c: Likewise.
27346         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27347         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
27349         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
27350         IS_IN_ldconfig.
27351         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
27352         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
27354         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
27355         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
27356         IS_IN (libc).
27358         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
27360         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
27361         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27362         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27363         * include/libc-symbols.h (IS_IN_LIB): New macro.
27364         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
27365         * include/netdb.h: Likewise.
27366         * include/stap-probe.h: Remove all uses of IN_LIB.
27368         * Makeconfig (module-cppflags-real): Define MODULE_NAME
27369         instead of IN_MODULE.
27370         * include/libc-symbols.h (IN_MODULE): Define using
27371         MODULE_NAME.
27372         (PASTE_NAME, PASTE_NAME1): New macros.
27373         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
27374         of IN_LIB.
27375         (STAP_PROBE_ASM): Likewise.
27377 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27379         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
27380         __mach_init in dlopened libc.
27382 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
27384         * sysdeps/arm/preconfigure.ac: Delete EABI check.
27385         * sysdeps/arm/preconfigure: Regenerate.
27387 2014-11-21  Roland McGrath  <roland@hack.frob.com>
27389         * nptl/pthread_create.c (__pthread_create_2_1): Set
27390         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
27391         when copying values from IATTR into PD.
27393 2014-11-21  Will Newton  <will.newton@linaro.org>
27394             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
27396         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
27397         Refactor inline-asm.  Also add comment.
27399         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
27400         ElfW macro instead of hardcoded Elf64 types.
27401         (la_aarch64_gnu_pltenter): Likewise.
27402         * sysdeps/aarch64/dl-machine.h
27403         (elf_machine_runtime_setup): Use ElfW(Addr).
27405         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
27406         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
27407         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
27408         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
27409         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
27410         (R_AARCH64_TLS_DTPMOD64): Rename to ..
27411         (R_AARCH64_TLS_DTPMOD): This.
27412         (R_AARCH64_TLS_DTPREL64): Rename to ...
27413         (R_AARCH64_TLS_DTPREL): This.
27414         (R_AARCH64_TLS_TPREL64): Rename to ...
27415         (R_AARCH64_TLS_TPREL): This.
27416         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
27417         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
27418         R_AARCH64_TLS_TPREL64.
27419         (elf_machine_rela): Likewise.
27421 2014-11-21  Torvald Riegel  <triegel@redhat.com>
27423         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
27424         by setting it to 0.  64b atomics are not supported currently.
27426 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27428         [BZ #16469]
27429         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
27430         search domain names.
27432 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27434         [BZ #16469]
27435         * NEWS: Update.
27436         * resolv/res_query.c (__libc_res_nquerydomain): Retain
27437         trailing dot.
27438         * posix/tst-getaddrinfo5.c: New.
27439         * posix/Makefile (tests): Add it.
27441 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27443         [BZ #14498]
27444         * NEWS: Fixed.
27445         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
27446         after parsing line but before break_if_match.
27447         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
27448         if there is a protocol mismatch.
27450 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
27452         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
27453         because the potential race is on the user-supplied stream.
27455 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27457         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
27458         string literal if not passed a buffer.
27459         * manual/job.texi (ctermid): Update reasoning, note deviation
27460         from posix, suggest mtasurace when not passed a buffer, for
27461         future non-preliminary safety notes.
27463 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27465         * manual/users.texi (cuserid): Fix MT-Safety note for the case
27466         of not passing it a buffer.
27467         Reported by Peng Haitao.
27469 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
27471         * manual/Makefile ($(objpfx)stamp-summary): Require
27472         check-safety.sh to pass.
27473         * manual/check-safety.sh: Wish for verification that every
27474         @deftypefn and @deftypefun is followed by a @safety remark.
27476 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27478         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27480         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27481         PTHREAD_CANCEL_ASYNCHRONOUS.
27482         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27483         send SIGCANCEL.
27485         * nptl/default-sched.h: New file.
27486         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27487         * nptl/pthread_create.c: Include it.
27488         (__pthread_create_2_1): Use collect_default_sched instead of making
27489         Linux syscalls here directly.
27491 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27493         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27494         __pthread_once): Use C11 atomics.
27496 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27498         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27500 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27502         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27503         atomic_thread_fence_acquire, atomic_thread_fence_release,
27504         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27505         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27506         atomic_compare_exchange_weak_relaxed,
27507         atomic_compare_exchange_weak_acquire,
27508         atomic_compare_exchange_weak_release,
27509         atomic_exchange_acquire, atomic_exchange_release,
27510         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27511         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27512         atomic_fetch_and_acquire,
27513         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27515 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27517         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27518         USE_ATOMIC_COMPILER_BUILTINS): Define.
27519         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27521         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27523         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27525         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27527         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27529         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27531         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27533         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27535         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27537         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27539         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27541         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27543         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27545         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27547         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27549         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27551         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27553         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27554         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27555         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27557         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27560 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27562         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27563         the sched_priority value here.  It was already checked when the user
27564         called pthread_attr_setschedparam.
27566         * nptl/tst-bad-schedattr.c: New file.
27567         * nptl/Makefile (tests): Add it.
27569 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27570             Florian Weimer  <fweimer@redhat.com>
27571             Joseph Myers  <joseph@codesourcery.com>
27572             Adam Conrad  <adconrad@0c3.net>
27573             Andreas Schwab  <schwab@suse.de>
27574             Brooks  <bmoses@google.com>
27576         [BZ #17625]
27577         * wordexp-test.c (__dso_handle): Add prototype.
27578         (__register_atfork): Likewise.
27579         (__app_register_atfork): New function.
27580         (registered_forks): New global.
27581         (register_fork): New function.
27582         (test_case): Add 3 new tests for WRDE_CMDSUB.
27583         (main): Call __app_register_atfork.
27584         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27585         fork count is non-zero fail the test.
27586         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27587         is set.
27588         (parse_dollars): Remove check for WRDE_NOCMD.
27589         (parse_dquote): Likewise.
27591 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27593         * Makeconfig (built-modules): List non-library modules to be
27594         built.
27595         (module-cppflags): Include libc-modules.h for
27596         everything except shlib-versions.v.i.
27597         (CPPFLAGS): Use it.
27598         (before-compile): Add libc-modules.h.
27599         ($(common-objpfx)libc-modules.h,
27600         $(common-objpfx)libc-modules.stmp): New targets.
27601         (common-generated): Add libc-modules.h and libc-modules.stmp.
27602         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27603         * include/libc-symbols.h: Don't include libc-modules.h.
27604         * include/libc-modules.h: Remove file.
27605         * scripts/gen-libc-modules.awk: New script to generate
27606         libc-modules.h.
27607         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27608         Depend on libc-modules.stmp.
27610         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27612         * Makeconfig (in-module): Get value of libof set for the
27613         translation unit.
27614         (CPPFLAGS): Use $(in-module).
27615         * Makerules: Don't suffix routine names for nonlib.
27616         * include/libc-modules.h: New file.
27617         * include/libc-symbols.h: Include libc-modules.h
27618         (IS_IN): New macro to replace IS_IN_* macros.
27619         * elf/Makefile: Set libof-* for each routine.
27620         * elf/rtld-Rules: Likewise.
27621         * extra-modules.mk: Likewise.
27622         * iconv/Makefile: Likewise.
27623         * iconvdata/Makefile: Likewise.
27624         * locale/Makefile: Likewise.
27625         * malloc/Makefile: Likewise.
27626         * nss/Makefile: Likewise.
27627         * sysdeps/gnu/Makefile: Likewise.
27628         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27629         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27630         * sysdeps/s390/s390-64/Makefile: Likewise.
27631         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27632         CPPFLAGS for nscd instead of nonlib.
27634 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27636         * nptl/createthread.c: New file.
27638         * nptl/createthread.c: Moved ...
27639         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27641         * nptl/createthread.c: Add proper top-line comment.
27642         (do_clone): Folded into ...
27643         (create_thread): ... here.  Take new arguments STOPPED_START and
27644         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27645         increment __nptl_threads, do event-reporting logic, do
27646         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27647         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27648         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27649         just send SIGCANCEL.
27650         * nptl/pthread_create.c: Forward-declare create_thread before
27651         including createthread.c.
27652         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27653         declaration, and new macro START_THREAD_SELF to replace argument.
27654         Remove return statement.
27655         (report_thread_creation): New function.
27656         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27657         synchronization logic, and __nptl_nthreads increment here, around
27658         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27659         PD->parent_cancelhandling here, before create_thread.  When
27660         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27661         __deallocate_stack, and ENOMEM translation here.
27663 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27665         [BZ #17616]
27666         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27667         (mptwo): Rename to __mptwo.
27668         (__inv): Use __mptwo instead of mptwo.
27669         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27670         (mptwo): Rename to __mptwo.
27671         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27672         of mpone and __mptwo instead of mptwo.
27673         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27674         instead of mpone.
27675         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27676         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27677         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27678         of mpone and __mptwo instead of mptwo.
27679         (__mpranred): Use __mpone instead of mpone.
27680         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27681         variable.
27682         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27683         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27684         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27685         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27686         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27687         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27688         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27689         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27690         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27691         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27692         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27693         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27694         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27695         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27696         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27697         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27698         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27699         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27700         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27702 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27704         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27705         replace BSD Handler xref with BSD Signal Handling.
27707 2014-11-17  Richard Henderson  <rth@redhat.com>
27709         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27710         (_FP_PACK_RAW_2): Remove.
27711         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27712         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27713         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27714         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27715         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27716         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27717         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27718         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27719         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27720         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27721         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27722         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27723         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27724         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27725         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27726         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27728 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27730         * signal/signal.h [__USE_MISC]
27731         (struct sigvec): Remove type.
27732         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27733         (sigvec): Remove declaration.
27734         * sysdeps/posix/sigvec.c: Moved ...
27735         * signal/sigvec.c: ... here, replacing old file.
27736         (struct sigvec): New type, copied from old signal.h definition.
27737         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27738         (__sigvec): Convert definition to prototype.
27739         (sigvec): Replace weak_alias with compat_symbol.
27740         * signal/Versions (libc: GLIBC_2.21): New version set.
27741         * include/signal.h: Remove __sigvec declaration.
27742         * sysdeps/unix/bsd/sigvec.c: Remove file.
27743         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27744         * manual/signal.texi (BSD Handler): Remove subsection.
27745         Move siginterrupt up to ...
27746         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27747         (Blocking in BSD): Fold subsection into its parent.
27748         * NEWS: Mention sigvec removal.
27750 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27752         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27753         (DLA_FMS): Make definition conditional only on [__FMA4__].
27754         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27755         definition.
27757         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27758         Make definition conditional only on [PROF].
27759         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27760         definition.
27761         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27762         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27764         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27765         !__GNUC__].
27766         * include/signal.h (__sigpause): Move declaration above call to
27767         libc_hidden_proto.
27768         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27769         variable.
27770         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27771         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27773 2014-11-14  David S. Miller  <davem@davemloft.net>
27775         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27776         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27778 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27780         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27781         * configure: Regenerated.
27782         * manual/install.texi (Tools for Compilation): Document a
27783         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27784         compiler verified to work.
27785         * INSTALL: Regenerated.
27787         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27788         redeclare with asm name.
27789         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27790         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27791         including <string.h>.
27792         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27793         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27794         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27795         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27796         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27797         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27798         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27800 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27802         * stdlib/strtol.c (__strtol): Use prototype definition.
27804         [BZ #17594]
27805         * stdlib/strtol.c (SYM__): New macro.
27806         (SYM__1): Likewise.
27807         (__strtol): Likewise.
27808         (strtol): Rename to __strtol and define as weak alias of
27809         __strtol.  Use libc_hidden_weak.
27811 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27813         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27814         Use numbered labels in inline assembly.
27816 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27818         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27819         Add setjmp LIBC_PROBE.
27820         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27821         Likewise.
27822         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27823         Add longjmp, longjmp_target LIBC_PROBE.
27824         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27825         Likewise.
27827 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27829         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27830         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27831         to get rid of unused variable warning.
27833 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27835         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27836         Check for unwind_backtrace ==  NULL only in SHARED case.
27837         (__backchain_backtrace): Compile only in SHARED case.
27838         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27839         Likewise.
27840         (__backchain_backtrace): Declare as static.
27842 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27844         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27845         (__libc_multiple_threads_ptr): Variable moved ...
27846         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27848 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27850         * conform/GlibcConform.pm: New file.
27851         * conform/conformtest.pl: Use GlibcConform module.
27852         * conform/linknamespace.pl: New file.
27853         * conform/list-header-symbols.pl: Likewise.
27854         * conform/Makefile (linknamespace-symlists-base): New variable.
27855         (linknamespace-symlists-tests): Likewise.
27856         (linknamespace-header-base): Likewise.
27857         (linknamespace-header-tests): Likewise.
27858         (tests-special): Add new tests.
27859         ($(linknamespace-symlists-tests)): New rule.
27860         (linknamespace-libs): New variable.
27861         ($(objpfx)symlist-stdlibs): New rule.
27862         ($(linknamespace-header-tests)): Likewise.
27863         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27864         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27865         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27866         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27867         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27868         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27869         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27870         (test-xfail-ISO/math.h/linknamespace): Likewise.
27871         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27872         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27873         (test-xfail-ISO/time.h/linknamespace): Likewise.
27874         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27875         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27876         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27877         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27878         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27879         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27880         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27881         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27882         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27883         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27884         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27885         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27886         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27887         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27888         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27889         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27890         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27891         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27892         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27893         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27894         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27895         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27896         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27897         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27898         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27899         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27900         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27901         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27902         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27903         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27904         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27905         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27906         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27907         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27908         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27909         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27910         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27911         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27912         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27913         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27914         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27915         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27916         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27917         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27918         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27919         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27920         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27921         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27922         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27923         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27924         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27925         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27926         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27927         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27928         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27929         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27930         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27931         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27932         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27933         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27934         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27935         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27936         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27937         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27938         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27939         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27940         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27941         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27942         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27943         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27944         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27945         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27946         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27947         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27948         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27949         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27950         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27951         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27952         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27953         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27954         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27955         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27956         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27957         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27958         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27959         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27960         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27961         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27962         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27963         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27964         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27965         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27966         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27967         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27968         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27969         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27970         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27971         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27972         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27973         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27974         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27975         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27976         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27977         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27978         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27979         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27980         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27981         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27982         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27983         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27984         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27985         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27986         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27987         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27988         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27989         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27990         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27991         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27992         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27993         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27994         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27995         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27996         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27997         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27998         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27999         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28000         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
28001         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28002         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28003         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28004         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28005         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28006         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
28007         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28008         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28009         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28010         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28011         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28012         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28013         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28014         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
28015         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28016         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28017         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28018         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28019         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28020         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
28021         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28022         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28023         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
28025         [BZ #17589]
28026         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
28027         of fgets_unlocked.
28029         [BZ #17585]
28030         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
28031         (memmem): Rename to __memmem and define as weak alias of
28032         __memmem.  Use libc_hidden_weak.
28033         (__memmem): Use libc_hidden_def.
28034         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
28035         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
28036         memmem.
28038         [BZ #17582]
28039         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
28040         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
28041         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
28042         and define as weak alias of __fgets_unlocked.  Use
28043         libc_hidden_weak.
28044         (__fgets_unlocked): Use libc_hidden_def.
28045         * include/stdio.h (__fgets_unlocked): Declare.  Use
28046         libc_hidden_proto.
28047         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
28048         __fgets_unlocked instead of fgets_unlocked.
28049         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
28050         (GET_NPROCS_CONF_PARSER): Likewise.
28051         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
28052         (GET_NPROCS_CONF_PARSER): Likewise.
28054         [BZ #17574]
28055         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
28056         weak alias of __wmemset.  Use libc_hidden_weak.
28057         (__wmemset): Use libc_hidden_def.
28058         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
28059         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
28060         of wmemset.
28062         [BZ #17573]
28063         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
28064         with asm name __mempcpy.
28065         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
28067         [BZ #17572]
28068         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
28069         and define as weak alias of __rawmemchr.
28070         (__rawmemchr): Do not define as strong alias of rawmemchr.
28072         [BZ #17571]
28073         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
28074         alias of __qsort_r.
28075         (qsort): Call __qsort_r instead of qsort_r.
28076         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
28077         (__qsort_r): Declare.  Call libc_hidden_proto.
28078         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
28079         instead of qsort_r.
28080         * nscd/gai.c (__qsort_r): Define to qsort_r.
28081         * posix/tst-rfc3484.c (__qsort_r): Likewise.
28082         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
28083         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
28085         [BZ #17570]
28086         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
28087         define as weak alias of __malloc_info.
28089         [BZ #17584]
28090         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
28091         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28092         (__rewinddir): Use libc_hidden_def.
28093         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
28094         as weak alias of __rewinddir.  Don't use libc_hidden_def.
28095         (__rewinddir): Use libc_hidden_def.
28096         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
28097         weak alias of __rewinddir.  Don't use libc_hidden_def.
28098         (__rewinddir): Use libc_hidden_def.
28099         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
28100         (__rewinddir): Use libc_hidden_proto.
28101         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
28102         rewinddir.
28103         (__getcwd): Use __rewinddir instead of rewinddir.
28105         [BZ #17583]
28106         * libio/fileno.c (fileno): Rename to __fileno and define as weak
28107         alias of __fileno.  Use libc_hidden_weak.
28108         (__fileno): Use libc_hidden_def.
28109         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
28110         * libio/ftello.c (ftello): Rename to __ftello and define as weak
28111         alias of __ftello.
28112         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
28113         __ftello.
28114         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
28115         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
28116         libc_hidden_def.
28117         (fread_unlocked): Don't use libc_hidden_ver.
28118         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
28119         and define as weak alias of __fread_unlocked.  Don't use
28120         libc_hidden_def.
28121         (__fread_unlocked): Use libc_hidden_def.
28122         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
28123         (ftello): Don't use libc_hidden_proto.
28124         (__ftello): Declare.  Use libc_hidden_proto.
28125         (fread_unlocked): Don't use libc_hidden_proto.
28126         (__fread_unlocked): Declare.  Use libc_hidden_proto.
28127         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
28128         and __ftello instead of fileno, fread_unlocked and ftello.
28130 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28132         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
28133         GOT12.
28134         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28135         Likewise.
28136         (_dl_start_user): Likewise.
28137         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
28139 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
28140             Siddhesh Poyarekar  <siddhesh@redhat.com>
28142         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
28143         Move argv and envp down instead of moving argc up.
28144         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
28146 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
28148         [BZ #17506]
28149         * test-skeleton.c (main): Return successful if one of
28150         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
28151         * string/tst-strcoll-overflow.c: Define expected status.
28153 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
28155         [BZ #17475]
28156         * locale/iso-639.def: Define Bhili and Tulu language codes.
28158 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
28160         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
28162 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
28164         [BZ #17555]
28165         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
28167 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28169         * configure.ac: Updated check of minimal required version to
28170         2.22.
28171         * manual/install.texi (Tools for Compilation): Updated version
28172         number.
28173         * configure: Regenerated.
28174         * INSTALL: Likewise.
28176 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
28178         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
28179         __tls_get_addr.
28181 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
28183         * include/sys/wait.h (__libc_waitpid): Remove declaration.
28184         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
28185         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28186         libc_hidden_weak.
28187         (waitpid): Define as alias of __waitpid.
28188         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
28189         __waitpid.
28190         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28191         libc_hidden_weak.
28192         (waitpid): Define as alias of __waitpid.
28193         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
28194         __libc_waitpid alias.
28195         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
28196         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
28197         Likewise.
28198         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
28199         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
28200         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
28201         alias.
28202         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
28203         __waitpid.
28204         (__waitpid): Don't define as alias.  Use libc_hidden_def not
28205         libc_hidden_weak.
28206         (waitpid): Define as alias of __waitpid.
28208 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
28210         * manual/llio.texi: Add comment that write safety has been
28211         fixed in Linux.
28213         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
28214         (localplt-build-dso): Add elf/ld.so.
28215         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
28216         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
28217         and free for ld.so.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
28219         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
28220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
28221         Likewise.
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28223         Likewise.
28224         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
28225         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
28226         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
28227         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
28228         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
28229         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
28230         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
28231         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
28232         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
28233         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
28234         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28236 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
28238         [BZ #14132]
28239         * include/libc-symbols.h (INTUSE): Remove macro.
28240         (INTDEF): Likewise.
28241         (INTVARDEF): Likewise.
28242         (_INTVARDEF): Likewise.
28243         (INTDEF2): Likewise.
28244         (INTVARDEF2): Likewise.
28245         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
28246         rtld_hidden_def instead of INTVARDEF.
28247         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
28248         (_dl_starting_up_internal): Remove declaration.
28249         (_dl_starting_up): Use rtld_hidden_proto.
28250         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
28251         declaration.
28252         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
28253         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
28254         _dl_starting_up.
28255         * elf/dl-writev.h (_dl_writev): Likewise.
28256         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
28257         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
28258         _dl_starting_up_internal.
28260 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28262         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28263         test-skeleton.c.
28265 2014-11-05  Will Newton  <will.newton@linaro.org>
28267         * benchtests/Makefile: (bench-malloc): Add malloc thread
28268         scalability benchmark.
28269         * benchtests/bench-malloc-threads.c: New file.
28271 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
28273         * sysdeps/aarch64/strchrnul.S: New file.
28275 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28277         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
28278         definition.
28279         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28280         Likwise.
28281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28282         Likewise.
28283         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28284         Likewise.
28285         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28286         Likewise.
28287         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28288         Likewise.
28290 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
28292         * catgets/test-gencat.c: Use test-skeleton.c.
28293         * catgets/tst-catgets.c: Likewise.
28294         * csu/tst-empty.c: Likewise.
28295         * elf/tst-audit2.c: Likewise.
28296         * elf/tst-global1.c: Likewise.
28297         * elf/tst-pathopt.c: Likewise.
28298         * elf/tst-piemod1.c: Likewise.
28299         * elf/tst-tls10.c: Likewise.
28300         * elf/tst-tls11.c: Likewise.
28301         * elf/tst-tls12.c: Likewise.
28302         * gnulib/tst-gcc.c: Likewise.
28303         * iconvdata/tst-e2big.c: Likewise.
28304         * iconvdata/tst-loading.c: Likewise.
28305         * iconv/tst-iconv1.c: Likewise.
28306         * iconv/tst-iconv2.c: Likewise.
28307         * inet/test-inet6_opt.c: Likewise.
28308         * inet/tst-gethnm.c: Likewise.
28309         * inet/tst-network.c: Likewise.
28310         * inet/tst-ntoa.c: Likewise.
28311         * intl/tst-codeset.c: Likewise.
28312         * intl/tst-gettext2.c: Likewise.
28313         * intl/tst-gettext3.c: Likewise.
28314         * intl/tst-ngettext.c: Likewise.
28315         * intl/tst-translit.c: Likewise.
28316         * io/test-stat.c: Likewise.
28317         * libio/test-fmemopen.c: Likewise.
28318         * libio/tst-freopen.c: Likewise.
28319         * libio/tst-sscanf.c: Likewise.
28320         * libio/tst-ungetwc1.c: Likewise.
28321         * libio/tst-ungetwc2.c: Likewise.
28322         * libio/tst-widetext.c: Likewise.
28323         * localedata/tst-ctype.c: Likewise.
28324         * localedata/tst-digits.c: Likewise.
28325         * localedata/tst-leaks.c: Likewise.
28326         * localedata/tst-mbswcs1.c: Likewise.
28327         * localedata/tst-mbswcs2.c: Likewise.
28328         * localedata/tst-mbswcs3.c: Likewise.
28329         * localedata/tst-mbswcs4.c: Likewise.
28330         * localedata/tst-mbswcs5.c: Likewise.
28331         * localedata/tst-setlocale.c: Likewise.
28332         * localedata/tst-trans.c: Likewise.
28333         * localedata/tst-wctype.c: Likewise.
28334         * localedata/tst-xlocale1.c: Likewise.
28335         * login/tst-grantpt.c: Likewise.
28336         * malloc/tst-calloc.c: Likewise.
28337         * malloc/tst-malloc.c: Likewise.
28338         * malloc/tst-mallocstate.c: Likewise.
28339         * malloc/tst-mcheck.c: Likewise.
28340         * malloc/tst-mtrace.c: Likewise.
28341         * malloc/tst-obstack.c: Likewise.
28342         * math/atest-exp2.c: Likewise.
28343         * math/atest-exp.c: Likewise.
28344         * math/atest-sincos.c: Likewise.
28345         * math/test-matherr.c: Likewise.
28346         * math/test-misc.c: Likewise.
28347         * math/test-powl.c: Likewise.
28348         * math/tst-definitions.c: Likewise.
28349         * misc/tst-dirname.c: Likewise.
28350         * misc/tst-efgcvt.c: Likewise.
28351         * misc/tst-fdset.c: Likewise.
28352         * misc/tst-hsearch.c: Likewise.
28353         * misc/tst-mntent2.c: Likewise.
28354         * nptl/tst-sem7.c: Likewise.
28355         * nptl/tst-sem8.c: Likewise.
28356         * nptl/tst-sem9.c: Likewise.
28357         * nss/test-netdb.c: Likewise.
28358         * posix/tst-fnmatch.c: Likewise.
28359         * posix/tst-getlogin.c: Likewise.
28360         * posix/tst-gnuglob.c: Likewise.
28361         * posix/tst-mmap.c: Likewise.
28362         * pwd/tst-getpw.c: Likewise.
28363         * resolv/tst-inet_ntop.c: Likewise.
28364         * rt/tst-timer.c: Likewise.
28365         * stdio-common/test-fseek.c: Likewise.
28366         * stdio-common/test-popen.c: Likewise.
28367         * stdio-common/test-vfprintf.c: Likewise.
28368         * stdio-common/tst-cookie.c: Likewise.
28369         * stdio-common/tst-fileno.c: Likewise.
28370         * stdio-common/tst-gets.c: Likewise.
28371         * stdio-common/tst-obprintf.c: Likewise.
28372         * stdio-common/tst-perror.c: Likewise.
28373         * stdio-common/tst-sprintf2.c: Likewise.
28374         * stdio-common/tst-sprintf3.c: Likewise.
28375         * stdio-common/tst-sprintf.c: Likewise.
28376         * stdio-common/tst-swprintf.c: Likewise.
28377         * stdio-common/tst-tmpnam.c: Likewise.
28378         * stdio-common/tst-unbputc.c: Likewise.
28379         * stdio-common/tst-wc-printf.c: Likewise.
28380         * stdlib/tst-environ.c: Likewise.
28381         * stdlib/tst-fmtmsg.c: Likewise.
28382         * stdlib/tst-limits.c: Likewise.
28383         * stdlib/tst-rand48-2.c: Likewise.
28384         * stdlib/tst-rand48.c: Likewise.
28385         * stdlib/tst-random2.c: Likewise.
28386         * stdlib/tst-random.c: Likewise.
28387         * stdlib/tst-strtol.c: Likewise.
28388         * stdlib/tst-strtoll.c: Likewise.
28389         * stdlib/tst-tls-atexit.c: Likewise.
28390         * stdlib/tst-xpg-basename.c: Likewise.
28391         * string/test-ffs.c: Likewise.
28392         * string/tst-bswap.c: Likewise.
28393         * string/tst-inlcall.c: Likewise.
28394         * string/tst-strtok.c: Likewise.
28395         * string/tst-strxfrm.c: Likewise.
28396         * sysdeps/x86_64/tst-audit10.c: Likewise.
28397         * sysdeps/x86_64/tst-audit3.c: Likewise.
28398         * sysdeps/x86_64/tst-audit4.c: Likewise.
28399         * sysdeps/x86_64/tst-audit5.c: Likewise.
28400         * time/tst-ftime_l.c: Likewise.
28401         * time/tst-getdate.c: Likewise.
28402         * time/tst-mktime3.c: Likewise.
28403         * time/tst-mktime.c: Likewise.
28404         * time/tst-posixtz.c: Likewise.
28405         * time/tst-strptime2.c: Likewise.
28406         * time/tst-strptime3.c: Likewise.
28407         * wcsmbs/tst-btowc.c: Likewise.
28408         * wcsmbs/tst-mbrtowc.c: Likewise.
28409         * wcsmbs/tst-mbsrtowcs.c: Likewise.
28410         * wcsmbs/tst-wchar-h.c: Likewise.
28411         * wcsmbs/tst-wcpncpy.c: Likewise.
28412         * wcsmbs/tst-wcrtomb.c: Likewise.
28413         * wcsmbs/tst-wcsnlen.c: Likewise.
28414         * wcsmbs/tst-wcstof.c: Likewise.
28416 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
28418         [BZ #14132]
28419         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
28420         INTDEF.
28421         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
28422         declaration.
28423         (_dl_mcount): Use rtld_hidden_proto.
28424         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
28425         _dl_mcount.
28426         * elf/rtld.c (_rtld_global_ro): Likewise.
28428         [BZ #14132]
28429         * elf/dl-init.c (_dl_init): Don't use INTDEF.
28430         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
28431         of _dl_init_internal.
28432         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
28433         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
28434         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
28435         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
28436         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
28437         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
28438         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
28439         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
28440         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
28441         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
28442         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
28443         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
28444         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28445         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28446         * sysdeps/tile/dl-start.S (_start): Likewise.
28447         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
28448         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
28450         [BZ #14132]
28451         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
28452         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
28453         (rtld_progname): Make macro definition unconditional.
28454         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
28455         INTDEF.
28456         (dlmopen_doit): Do not use INTUSE with _dl_argv.
28457         (dl_main): Likewise.
28458         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28459         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
28460         instead of _dl_argv_internal.
28461         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28462         __GI__dl_argv instead of INTUSE(_dl_argv).
28463         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
28464         __GI__dl_argv instead of _dl_argv_internal.
28466         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
28467         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
28468         macro.
28469         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
28470         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
28471         New macro.
28472         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
28473         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28474         macro.
28475         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28476         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28478 2014-11-04  Andreas Schwab  <schwab@suse.de>
28480         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28482 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28484         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28485         mtvsrd instruction in binary form.
28487 2014-11-03  Andreas Schwab  <schwab@suse.de>
28489         [BZ #17522]
28490         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28491         for less than MB_LEN_MAX use a local buffer of that size.
28492         * libio/tst-fputws.c: New file.
28493         * libio/Makefile (tests): Add tst-fputws.
28495 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28497         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28498         the size of the fpu_fr.fpu_dregs[] array.
28500 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28502         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28503         (__nanosleep): Do not define as alias.
28504         (nanosleep): Define as alias of __nanosleep.
28505         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28506         __libc_nanosleep name.
28508 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28510         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28511         install.texi in comment.
28513 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28515         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28516         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28517         ... add here and use lwsync or sync ...
28518         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28519         ... and add here using lwsync.
28521 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28523         * elf/dl-machine-reject-phdr.h: New file.
28524         * elf/dl-load.c: #include that.
28525         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28526         if that returned true.
28528 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28530         [BZ #17496]
28531         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28532         gen-as-const-headers chunk.  Add a big scare comment after the last
28533         safe place to touch before-compile.
28535 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28537         * manual/install.texi (Tools for Compilation): Update autoconf
28538         version requirements.
28539         * INSTALL: Regenerated.
28541         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28542         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28543         (__libc_pselect): Likewise.
28545         [BZ #14138]
28546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28551 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28553         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28554         correct barrier instruction.
28555         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28556         Likewise.
28557         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28558         Likewise.
28560 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28562         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28563         after defining inlines.  Instead, just use parens to defeat macro
28564         expansion of __isctype in its declaration.
28566 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28568         * include/sys/uio.h (__libc_readv): Remove declaration.
28569         (__libc_writev): Likewise.
28570         * misc/readv.c (__libc_readv): Rename to __readv.
28571         (__readv): Do not define as alias.
28572         (readv): Define as alias of __readv.
28573         * misc/writev.c (__libc_writev): Rename to __writev.
28574         (__writev): Do not define as alias.
28575         (writev): Define as alias of __writev.
28576         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28577         (__readv): Do not define as alias.
28578         (readv): Define unconditionally as alias of __readv.
28579         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28580         (__writev): Do not define as alias.
28581         (writev): Define unconditionally as alias of __writev.
28582         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28583         name.
28584         (writev): Do not define __libc_writev name.
28586 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28588         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28589         (convert_charseq): New function, broken out of ...
28590         (use_from_charmap): ... here.  Call it.
28591         (use_to_charmap): Use convert_charseq and free instead of duplicating
28592         its code with a variable-length stack struct.
28594 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28596         * include/fcntl.h (__libc_creat): Remove declaration.
28597         * io/creat.c (__libc_creat): Rename to creat.
28598         (creat): Do not define as alias.
28599         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28600         of creat instead of __libc_creat.
28601         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28602         to creat.
28603         (creat): Do not define as alias.
28604         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28605         __libc_creat.
28606         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28607         __libc_creat name.
28608         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28609         Likewise.
28611 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28613         * manual/llio.texi: Add comments discussing why write() may be
28614         considered MT-unsafe on Linux.
28616 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28618         * dl-load.c (local_strdup): Remove.
28619         (expand_dynamic_string_token): Use __strdup.
28620         (decompose_rpath): Likewise.
28621         (_dl_map_object): Likewise.
28623 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28625         [BZ #14132]
28626         * sysdeps/generic/unwind-dw2-fde.c
28627         (__register_frame_info_bases_internal): Do not declare.
28628         (__register_frame_info_table_bases_internal): Likewise.
28629         (__deregister_frame_info_bases_internal): Likewise.
28630         (__register_frame_info_bases): Declare and use hidden_proto before
28631         definition.  Use hidden_def instead of INTDEF.
28632         (__register_frame_info_table_bases): Likewise.
28633         (__deregister_frame_info_bases): Likewise.
28634         (__register_frame_info): Do not use INTUSE.
28635         (__register_frame): Likewise.
28636         (__register_frame_info_table): Likewise.
28637         (__register_frame_table): Likewise.
28638         (__deregister_frame_info): Likewise.
28639         (__deregister_frame): Likewise.
28641 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28643         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28644         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28645         not undefine.
28646         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28647         Likewise.
28648         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28649         Likewise.
28651 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28653         [BZ #14138]
28654         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28655         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28656         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28657         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28658         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28659         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28660         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28661         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28662         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28663         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28664         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28665         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28666         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28667         syscall.
28668         (setfsuid): Likewise.
28669         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28670         (setfsuid): Likewise.
28671         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28672         (setfsuid): Likewise.
28673         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28674         Likewise.
28675         (setfsuid): Likewise.
28676         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28677         (setfsuid): Likewise.
28678         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28679         Likewise.
28680         (setfsuid): Likewise.
28682 2014-10-27  Andreas Schwab  <schwab@suse.de>
28684         [BZ #17501]
28685         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28686         check for Slow_SSE4_2 feature bit.
28687         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28688         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28689         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28690         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28692 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28694         * configure.ac: Validate compiler version with a empirical test of
28695         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28696         $CC -v output.
28697         * configure: Regenerated.
28699         * inet/htons.c (htons): Prototypify.
28700         * inet/htonl.c (htonl): Likewise.
28702 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28704         * string/strncat.c (strncat): Improve performance by using strlen.
28706 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28708         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28710 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28712         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28713         Call libc_fetestexcept_aarch64.
28715 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28717         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28718         Call libc_feholdexcept_aarch64.
28720 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28722         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28723         Call get_rounding_mode.
28725 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28727         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28728         Simplify logic.
28730 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28732         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28733         Simplify logic.
28735 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28737         [BZ #14138]
28738         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28739         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28740         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28741         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28742         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28743         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28744         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28745         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28746         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28747         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28748         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28749         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28750         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28751         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28752         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28753         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28754         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28755         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28756         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28757         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28758         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28759         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28760         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28761         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28762         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28763         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28764         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28765         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28766         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28767         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28768         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28769         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28770         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28771         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28772         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28773         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28774         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28775         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28776         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28777         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28778         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28779         syscall.
28780         (geteuid): Likewise.
28781         (getgid): Likewise.
28782         (getuid): Likewise.
28783         (getresgid): Likewise.
28784         (getresuid): Likewise.
28785         (getgroups): Likewise.
28786         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28787         (geteuid): Likewise.
28788         (getgid): Likewise.
28789         (getuid): Likewise.
28790         (getresgid): Likewise.
28791         (getresuid): Likewise.
28792         (getgroups): Likewise.
28793         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28794         (geteuid): Likewise.
28795         (getgid): Likewise.
28796         (getuid): Likewise.
28797         (getresgid): Likewise.
28798         (getresuid): Likewise.
28799         (getgroups): Likewise.
28800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28801         Likewise.
28802         (geteuid): Likewise.
28803         (getgid): Likewise.
28804         (getuid): Likewise.
28805         (getresgid): Likewise.
28806         (getresuid): Likewise.
28807         (getgroups): Likewise.
28808         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28809         (geteuid): Likewise.
28810         (getgid): Likewise.
28811         (getuid): Likewise.
28812         (getresgid): Likewise.
28813         (getresuid): Likewise.
28814         (getgroups): Likewise.
28815         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28816         Likewise.
28817         (geteuid): Likewise.
28818         (getgid): Likewise.
28819         (getuid): Likewise.
28820         (getgroups): Likewise.
28822         [BZ #14138]
28823         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28824         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28825         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28826         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28827         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28828         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28829         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28830         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28831         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28832         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28833         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28834         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28835         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28836         __chown.
28837         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28838         (lchown): Likewise.
28839         (fchown): Likewise.
28840         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28841         Likewise.
28842         (lchown): Likewise.
28843         (fchown): Likewise.
28844         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28845         (lchown): Likewise.
28846         (fchown): Likewise.
28847         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28848         Likewise.
28849         (lchown): Likewise.
28850         (fchown): Likewise.
28852 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28854         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28855         Simplify logic.
28857 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28859         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28860         Cleanup logic.
28862 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28864         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28865         Remove unused include.
28867 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28869         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28870         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28871         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28872         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28874 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28875             Helge Deller <deller@gmx.de>
28877         [BZ #17508]
28878         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28879         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28880         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28882 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28884         [BZ #14132]
28885         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28886         Remove macro definition.
28887         (__ashrdi3_v_glibc20): Likewise.
28888         (__lshrdi3_v_glibc20): Likewise.
28889         (__cmpdi2_v_glibc20): Likewise.
28890         (__ucmpdi2_v_glibc20): Likewise.
28891         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28892         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28893         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28894         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28895         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28896         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28898 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28900         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28901         old GNU extension [0] syntax.
28902         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28903         alloca rather than an array member with variable length.
28904         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28905         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28906         (parse_opt): ... here.  Likewise use alloca there.
28907         Validate the -i argument before checking for rootness.
28908         (send_shutdown): New function, broken out of ...
28909         (parse_opt): ... here.
28911 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28913         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28914         macro to get at the _rt_local_ro field.
28915         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28916         ([PIC] case) or _dl_hwcap ([!PIC] case).
28917         * sysdeps/arm/setjmp.S: Likewise.
28919         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28920         * sysdeps/arm/configure.ac: New check to define it.
28921         * sysdeps/arm/configure: Regenerated.
28922         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28923         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28924         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28925         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28926         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28927         Use move/movt pair instead of a load.
28928         (LDST_GLOBAL): Macro removed.
28929         (LDR_GLOBAL): New macro replaces it.
28930         (LDR_HIDDEN): New macro.
28931         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28932         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28934         * setjmp/tst-setjmp-static.c: New file.
28935         * setjmp/Makefile (tests): Add it.
28936         (tests-static): New variable.
28938 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28940         [BZ #17485]
28941         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28943 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28945         [BZ #14132]
28946         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28948 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28950         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28952 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28954         * io/fts.c (dirent_not_directory): New function.
28955         (fts_build): Call it.
28957 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28959         * nptl/version.c (__nptl_main): Use normal __write rather than
28960         INTERNAL_SYSCALL.
28961         (banner): Update copyright years.
28963         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28964         gettimeofday.
28965         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28966         * nptl/pthread_cond_timedwait.c: Likewise.
28967         * nptl/pthread_mutex_timedlock.c: Likewise.
28968         * nptl/sem_timedwait.c: Likewise.
28970         * sysdeps/nptl/bits/libc-lock.h
28971         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28972         (__libc_lock_init_recursive): Return void, not 0.
28973         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28974         (__libc_rwlock_init): Likewise.
28975         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28977 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28979         [BZ #15215]
28980         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28981         (__pthread_once_slow): ... here.
28982         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28983         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28985 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28987         [BZ #15215]
28988         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28989         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28990         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28991         * nptl/pthread_once.c (__pthread_once): Likewise.
28992         Update comments.
28994 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28996         [BZ #14138]
28997         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28998         name.
28999         (writev): Use __libc_writev as strong name.
29000         * sysdeps/unix/sysv/linux/readv.c: Remove file.
29001         * sysdeps/unix/sysv/linux/writev.c: Likewise.
29003 2014-10-17  Roland McGrath  <roland@hack.frob.com>
29005         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
29007         * sysdeps/i386/nptl/tls.h
29008         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
29009         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
29010         New macros.
29011         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
29012         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
29013         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
29014         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
29015         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
29016         Call CHECK_THREAD_SYSINFO instead of doing an assert.
29018         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29019         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
29020         on [__NR_futex].
29021         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
29022         broken out of ...
29023         (__pthread_mutex_init): ... here.  Call it.
29024         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
29025         Conditionalize PI cases on [__NR_futex].
29026         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
29027         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
29028         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
29030         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
29031         conditional on [SIGSETXID].
29032         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
29033         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
29034         is defined.  Likewise for SIGSETXID.
29035         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
29036         Conditionalize definitions on [SIGSETXID].
29037         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
29038         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
29039         unblocking on [SIGCANCEL].
29041         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
29042         [__NR_set_robust_list].
29044 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29046         * string/strcoll_l.c (get_next_seq): Fix up formatting.
29047         (do_compare): Likewise.
29049 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
29051         [BZ #15884]
29052         * string/strcoll_l.c: Don't include stdio.h.
29053         (coll_seq): Remove members idxarr and rulearr.
29054         (get_next_seq_cached): Remove function.
29055         (get_next_seq): Likewise.
29056         (get_next_seq_nocache): Rename to get_next_seq.
29057         (do_compare): Remove function.
29058         (do_compare_nocache): Rename to do_compare.
29059         (STRCOLL): Remove weight and rules cache.
29061 2014-10-16  Roland McGrath  <roland@hack.frob.com>
29063         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
29064         * sysdeps/arm/sfp-machine.h: ... to here.
29065         * sysdeps/arm/Implies: Remove arm/soft-fp.
29067 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
29069         * conform/data/sys/utsname.h-data (*_t): Allow.
29070         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
29071         [POSIX] (WEXITED): Do not expect constant.
29072         [POSIX] (WSTOPPED): Likewise.
29073         [POSIX] (WNOHANG): Likewise.
29074         [POSIX] (WNOWAIT): Likewise.
29075         [POSIX] (siginfo_t): Do not expect type or elements.
29076         [POSIX] (pid_t): Do not expect type.
29077         [POSIX] (signal.h): Do not allow header.
29078         [POSIX] (sys/resource.h): Likewise.
29079         [POSIX] (si_*): Do not allow pattern.
29080         [POSIX] (W*): Likewise.
29081         [POSIX] (P_*): Likewise.
29082         [POSIX] (BUS_*): Likewise.
29083         [POSIX] (CLD_*): Likewise.
29084         [POSIX] (FPE_*): Likewise.
29085         [POSIX] (ILL_*): Likewise.
29086         [POSIX] (POLL_*): Likewise.
29087         [POSIX] (SEGV_*): Likewise.
29088         [POSIX] (SI_*): Likewise.
29089         [POSIX] (TRAP_*): Likewise.
29090         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
29091         variable.
29093 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29095         [BZ #12926]
29096         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
29097         infinite loop when __recvmsg returns 0.
29099 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
29101         * CANCEL-FCT-WAIVE: Remove file.
29102         * CANCEL-FILE-WAIVE: Likewise.
29104         [BZ #14132]
29105         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
29106         instead of INTVARDEF.
29107         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29108         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
29109         rtld_hidden_data_def instead of INTVARDEF.
29110         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
29111         * elf/dl-deps.c (expand_dst): Likewise.
29112         * elf/dl-load.c (_dl_dst_count): Likewise.
29113         (_dl_dst_substitute): Likewise.
29114         (decompose_rpath): Likewise.
29115         (_dl_init_paths): Likewise.
29116         (open_path): Likewise.
29117         (_dl_map_object): Likewise.
29118         * elf/rtld.c (dl_main): Likewise.
29119         (process_dl_audit): Likewise.
29120         (process_envvars): Likewise.
29121         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
29122         Remove declaration.
29123         (__libc_enable_secure): Use rtld_hidden_proto.
29125 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29127         * elf/dl-load.c
29128         (add_path): New function broken out of _dl_rtld_di_serinfo.
29129         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
29131 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29133         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
29134         parentheses around macro arguments.
29135         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
29136         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
29137         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
29138         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
29139         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
29140         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29141         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29142         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
29143         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
29144         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
29145         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
29146         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
29147         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
29148         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
29149         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
29150         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
29151         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
29152         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
29153         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
29154         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
29155         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
29156         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
29157         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
29158         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
29159         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
29160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
29161         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
29162         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
29163         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
29164         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
29165         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
29166         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
29167         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
29168         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
29169         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
29170         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
29171         Likewise.
29172         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
29173         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29174         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29175         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
29176         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
29177         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
29178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
29179         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
29180         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
29181         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
29182         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
29183         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
29184         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
29185         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
29186         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
29187         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
29188         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
29189         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
29190         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
29191         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
29192         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
29193         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
29194         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
29195         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
29196         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
29197         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
29198         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
29199         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
29200         (_FP_FRAC_SRS_1): Likewise.
29201         (_FP_FRAC_CLZ_1): Likewise.
29202         (_FP_MUL_MEAT_1_imm): Likewise.
29203         (_FP_MUL_MEAT_1_wide): Likewise.
29204         (_FP_MUL_MEAT_1_hard): Likewise.
29205         (_FP_SQRT_MEAT_1): Likewise.
29206         (_FP_FRAC_ASSEMBLE_1): Likewise.
29207         (_FP_FRAC_DISASSEMBLE_1): Likewise.
29208         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
29209         (__FP_CLZ_2): Likewise.
29210         (_FP_MUL_MEAT_2_wide): Likewise.
29211         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
29212         (_FP_MUL_MEAT_2_gmp): Likewise.
29213         (_FP_MUL_MEAT_2_120_240_double): Likewise.
29214         (_FP_SQRT_MEAT_2): Likewise.
29215         (_FP_FRAC_ASSEMBLE_2): Likewise.
29216         (_FP_FRAC_DISASSEMBLE_2): Likewise.
29217         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
29218         (_FP_FRAC_CLZ_4): Likewise.
29219         (_FP_MUL_MEAT_4_wide): Likewise.
29220         (_FP_MUL_MEAT_4_gmp): Likewise.
29221         (_FP_SQRT_MEAT_4): Likewise.
29222         (_FP_FRAC_ASSEMBLE_4): Likewise.
29223         (_FP_FRAC_DISASSEMBLE_4): Likewise.
29224         * soft-fp/op-common.h (_FP_CMP): Likewise.
29225         (_FP_CMP_EQ): Likewise.
29226         (_FP_CMP_UNORD): Likewise.
29227         (_FP_TO_INT): Likewise.
29228         (_FP_FROM_INT): Likewise.
29229         [!__FP_CLZ] (__FP_CLZ): Likewise.
29230         (_FP_DIV_HELP_imm): Likewise.
29231         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
29232         Likewise.
29233         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
29234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
29235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
29236         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
29237         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
29238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29240         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
29241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
29242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
29243         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
29244         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
29245         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
29246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
29247         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
29248         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
29249         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
29250         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
29251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
29252         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
29253         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
29254         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
29255         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
29256         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
29257         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
29258         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
29259         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
29260         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
29261         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
29262         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
29263         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
29264         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
29265         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
29266         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
29267         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
29268         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
29269         (FP_UNPACK_RAW_SP): Likewise.
29270         (FP_PACK_RAW_S): Likewise.
29271         (FP_PACK_RAW_SP): Likewise.
29272         (FP_UNPACK_S): Likewise.
29273         (FP_UNPACK_SP): Likewise.
29274         (FP_UNPACK_SEMIRAW_S): Likewise.
29275         (FP_UNPACK_SEMIRAW_SP): Likewise.
29276         (FP_PACK_S): Likewise.
29277         (FP_PACK_SP): Likewise.
29278         (FP_PACK_SEMIRAW_S): Likewise.
29279         (FP_PACK_SEMIRAW_SP): Likewise.
29280         (_FP_SQRT_MEAT_S): Likewise.
29281         (FP_CMP_S): Likewise.
29282         (FP_CMP_EQ_S): Likewise.
29283         (FP_CMP_UNORD_S): Likewise.
29284         (FP_TO_INT_S): Likewise.
29285         (FP_FROM_INT_S): Likewise.
29287         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
29289         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
29290         (FP_EX_INVALID_IMZ): Likewise.
29291         (FP_EX_INVALID_IMZ_FMA): Likewise.
29292         (FP_EX_INVALID_ISI): Likewise.
29293         (FP_EX_INVALID_ZDZ): Likewise.
29294         (FP_EX_INVALID_IDI): Likewise.
29295         (FP_EX_INVALID_SQRT): Likewise.
29296         (FP_EX_INVALID_CVI): Likewise.
29297         (FP_EX_INVALID_VC): Likewise.
29298         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
29299         "invalid" exceptions.
29300         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
29301         (_FP_ADD_INTERNAL): Likewise.
29302         (_FP_MUL): Likewise.
29303         (_FP_FMA): Likewise.
29304         (_FP_DIV): Likewise.
29305         (_FP_CMP_CHECK_NAN): Likewise.
29306         (_FP_SQRT): Likewise.
29307         (_FP_TO_INT): Likewise.
29308         (FP_EXTEND): Likewise.
29310 2014-10-09  Allan McRae  <allan@archlinux.org>
29312         * po/fr.po: Update French translation from translation project.
29314 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
29316         [BZ #14132]
29317         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
29318         of INTDEF.
29319         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
29320         (__cxa_atexit): Use libc_hidden_proto.
29321         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
29323         [BZ #14132]
29324         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
29325         declaration.
29326         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
29327         [!_ISOMAC] (__iswspace_l_internal): Likewise.
29328         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
29329         [!_ISOMAC] (__iswctype_internal): Likewise.
29330         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
29331         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
29332         alias.
29333         (fcntl): Remove __fcntl_internal alias.
29334         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
29335         __connect_internal alias.
29336         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
29337         Likewise.
29339         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
29340         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
29341         FP_DENORM_ZERO.
29342         (_FP_CHECK_FLUSH_ZERO): New macro.
29343         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
29344         (_FP_CMP): Likewise.
29345         (_FP_CMP_EQ): Likewise.
29346         (_FP_TO_INT): Do not set inexact for subnormal arguments if
29347         FP_DENORM_ZERO.
29348         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
29349         (FP_TRUNC): Likewise.
29351         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
29352         treated as invalid conversion, not as normal exponent.
29354         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
29355         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
29356         (_FP_CMP_EQ): Likewise.
29357         (_FP_CMP_UNORD): Likewise.
29358         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
29359         (FP_CMP_EQ_D): Likewise.
29360         (FP_CMP_UNORD_D): Likewise.
29361         * soft-fp/extended.h (FP_CMP_E): Likewise.
29362         (FP_CMP_EQ_E): Likewise.
29363         (FP_CMP_UNORD_E): Likewise.
29364         * soft-fp/quad.h (FP_CMP_Q): Likewise.
29365         (FP_CMP_EQ_Q): Likewise.
29366         (FP_CMP_UNORD_Q): Likewise.
29367         * soft-fp/single.h (FP_CMP_S): Likewise.
29368         (FP_CMP_EQ_S): Likewise.
29369         (FP_CMP_UNORD_S): Likewise.
29370         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
29371         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
29372         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
29373         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
29374         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
29375         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
29376         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
29377         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
29378         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
29379         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
29380         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
29381         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
29382         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
29383         to FP_CMP_Q.
29384         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
29385         FP_CMP_Q.
29386         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
29387         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
29388         FP_CMP_EQ_Q.
29389         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
29390         FP_CMP_Q.
29391         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
29392         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
29393         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
29394         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
29395         FP_CMP_EQ_Q.
29396         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
29397         FP_CMP_Q.
29398         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
29399         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
29400         FP_CMP_EQ_Q.
29401         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
29402         FP_CMP_Q.
29403         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
29404         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
29405         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
29406         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
29407         FP_CMP_EQ_Q.
29409         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
29410         a subnormal result, set the underflow exception if trapping on
29411         underflow is enabled.
29412         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
29413         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
29414         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
29415         redefine to 0.
29416         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
29417         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29418         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
29419         * soft-fp/extendxftf2.c (__extendxftf2): Use
29420         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
29422         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
29423         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
29424         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29425         FP_HANDLE_EXCEPTIONS.
29426         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
29427         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29428         FP_HANDLE_EXCEPTIONS.
29429         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
29430         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29431         FP_HANDLE_EXCEPTIONS.
29432         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
29433         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
29434         FP_HANDLE_EXCEPTIONS.
29436 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
29438         [BZ #14132]
29439         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
29440         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
29441         use INTUSE.
29442         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
29443         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
29444         Remove alias.
29445         (__adjtimex): Define using libc_hidden_ver.
29446         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
29447         Remove declaration.
29448         (ntp_gettime): Call __adjtimex directly.
29449         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
29450         Remove declaration.
29451         (ntp_gettimex): Call __adjtimex directly.
29452         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
29453         __adjtimex_internal alias.
29455 2014-10-08  Roland McGrath  <roland@hack.frob.com>
29457         [BZ #17460]
29458         * nscd/nscd.c (more_help): Rewrite list of tables collection
29459         using xstrdup and asprintf.
29461         * nscd/nscd_conf.c: Remove local xstrdup declaration.
29463 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29464             Roland McGrath  <roland@hack.frob.com>
29466         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
29467         (do_lookup_unique): ... local function 'enter' here; update callers.
29469 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
29471         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
29472         compat_symbol calls on [SHARED].
29473         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29474         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29475         Remove.
29476         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29477         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29478         (oldsetrlimit): Remove.
29479         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29481         (lchown): New syscall entry.
29482         (oldsetrlimit): Remove.
29483         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29484         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29485         (oldsetrlimit): Remove.
29486         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29488         [BZ #14138]
29489         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29490         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29491         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29492         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29493         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29494         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29495         (fchown): Likewise.
29496         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29497         (fchown): Likewise.
29498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29499         Likewise.
29501 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29503         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29504         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29505         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29506         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29507         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29508         Likewise.
29509         (__old_sem_post): Likewise.
29511 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29513         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29514         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29515         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29516         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29517         Use INLINE_VSYSCALL macro.
29518         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29519         __vdso_clock_gettime.
29520         * sysdeps/unix/sysv/linux/tile/init-first.c
29521         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29522         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29523         __vdso_clock_gettime.
29525         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29526         to set up frame more cleanly.
29528         * sysdeps/tile/memcmp.c: New file.
29530         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29532         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29533         * sysdeps/tile/tilegx/strcasestr.c: New file.
29534         * sysdeps/tile/tilegx/strnlen.c: New file.
29535         * sysdeps/tile/tilegx/strstr.c: New file.
29537         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29539 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29541         * nptl/tst-setuid3.c: Write errors to stdout.
29543 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29545         * elf/dl-deps.c
29546         (preload): New functions broken out of _dl_map_object_deps.
29547         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29549 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29551         [BZ #14138]
29552         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29553         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29555 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29557         * sysdeps/mips/strcmp.S: New.
29559 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29561         [BZ #14138]
29562         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29563         (linkat): Likewise.
29564         (mkdirat): Likewise.
29565         (readlinkat): Likewise.
29566         (renameat): Likewise.
29567         (symlinkat): Likewise.
29568         (unlinkat): Likewise.
29569         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29570         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29571         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29572         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29573         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29574         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29575         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29577 2014-09-30  Will Newton  <will.newton@linaro.org>
29579         * math/math.h: Define long double math functions if
29580         _LIBC_TEST is defined.
29581         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29583         * localedata/Makefile: Move assignment to tests-special
29584         into an ifdef testing run-built-tests.
29585         * timezone/Makefile: Likewise.
29587 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29589         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29590         with $(BASH) not $(SHELL).
29592 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29593             Matthew LeGendre  <legendre1@llnl.gov>
29595         [BZ #17411]
29596         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29597         l_reloc_result.
29599 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29601         * stdio-common/printf_fp.c
29602         (hack_digit): New function, broken out of ...
29603         (__printf_fp): ... local function here.  Update call sites.
29604         hack_digit now takes an additional parameter that is a pointer
29605         to a struct of the referenced locals.  Those locals moved inside
29606         the struct and references updated.
29608 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29610         * aclocal.m4: Require autoconf 2.69.
29611         * configure: Regenerated.
29612         * sysdeps/aarch64/configure: Likewise.
29613         * sysdeps/alpha/configure: Likewise.
29614         * sysdeps/arm/armv7/configure: Likewise.
29615         * sysdeps/arm/configure: Likewise.
29616         * sysdeps/ia64/configure: Likewise.
29617         * sysdeps/mach/configure: Likewise.
29618         * sysdeps/mips/configure: Likewise.
29619         * sysdeps/s390/configure: Likewise.
29620         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29623         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29624         file.
29625         * sysdeps/ia64/configure.ac: Likewise.
29627 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29630         specify symbol version for ld.so.  Do not include entry for
29631         libpthread.
29632         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29633         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29634         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29636         [BZ #14171]
29637         * Makeconfig [$(build-shared) = yes]
29638         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29639         makefiles.
29640         [$(build-shared) = yes && $(soversions.mk-done) = t]
29641         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29642         [$(build-shared) = yes && $(soversions.mk-done) = t]
29643         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29644         to Makerules.
29645         [$(build-shared) = yes && $(soversions.mk-done) = t]
29646         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29647         here.
29648         [$(build-shared) = yes && $(soversions.mk-done) = t]
29649         (common-generated): Don't append gnu/lib-names.h and
29650         gnu/lib-names.stmp here.
29651         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29652         (lib-names-h-abi): New variable.
29653         [$(build-shared) = yes && $(soversions.mk-done) = t]
29654         (lib-names-stmp-abi): Likewise.
29655         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29656         abi-variants] (before-compile): Append
29657         $(common-objpfx)$(lib-names-h-abi).
29658         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29659         abi-variants] (common-generated): Append gnu/lib-names.h.
29660         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29661         abi-variants] (install-others-nosubdir): Depend on
29662         $(inst_includedir)/$(lib-names-h-abi).
29663         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29664         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29665         [$(build-shared) = yes && $(soversions.mk-done) = t]
29666         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29667         [$(build-shared) = yes && $(soversions.mk-done) = t]
29668         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29669         [$(build-shared) = yes && $(soversions.mk-done) = t]
29670         (common-generated): Append $(lib-names-h-abi) and
29671         $(lib-names-stmp-abi).
29672         * scripts/lib-names.awk: Do not handle multi being set.
29673         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29674         Remove variable.
29675         (abi-lp64_be-ld-soname): Likewise.
29676         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29677         Likewise.
29678         (abi-hard-ld-soname): Likewise.
29679         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29680         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29681         Remove variable.
29682         (abi-o32_hard-ld-soname): Likewise.
29683         (abi-o32_soft_2008-ld-soname): Likewise.
29684         (abi-o32_hard_2008-ld-soname): Likewise.
29685         (abi-n32_soft-ld-soname): Likewise.
29686         (abi-n32_hard-ld-soname): Likewise.
29687         (abi-n32_soft_2008-ld-soname): Likewise.
29688         (abi-n32_hard_2008-ld-soname): Likewise.
29689         (abi-n64_soft-ld-soname): Likewise.
29690         (abi-n64_hard-ld-soname): Likewise.
29691         (abi-n64_soft_2008-ld-soname): Likewise.
29692         (abi-n64_hard_2008-ld-soname): Likewise.
29693         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29694         Likewise.
29695         (abi-64-v2-ld-soname): Likewise.
29696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29697         ld.so entries.
29698         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29699         variable.
29700         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29701         entry.
29702         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29703         variable.
29704         (abi-64-ld-soname): Likewise.
29705         (abi-x32-ld-soname): Likewise.
29706         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29707         entry.
29708         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29710 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29712         [BZ #14138]
29713         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29714         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29715         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29716         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29717         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29718         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29719         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29720         syscall entry for GLIBC_2.2 symbol version.
29721         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29722         Likewise.
29723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29724         (setrlimit): Likewise.
29725         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29726         Likewise.
29728 2014-09-23  Will Newton  <will.newton@linaro.org>
29730         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29731         _LINUX_ARM_SYSDEP_H include guard too.
29732         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29733         define.
29735 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29737         * sysdeps/unix/sysv/linux/eventfd.c:
29738         Make first argument unsigned.
29739         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29740         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29742 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29744         [BZ #16852]
29745         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29746         * socket/sys/socket.h: Likewise.
29747         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29749 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29751         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29753 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29755         * time/tst-ftime.c: New test.
29756         * time/Makefile (tests): Add tst-ftime.
29758 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29760         * soft-fp/extended.h: Fix comment formatting.
29761         * soft-fp/op-1.h: Likewise.
29762         * soft-fp/op-2.h: Likewise.
29763         * soft-fp/op-4.h: Likewise.
29764         * soft-fp/op-8.h: Likewise.
29765         * soft-fp/op-common.h: Likewise.
29766         * soft-fp/soft-fp.h: Likewise.
29768         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29770 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29772         [BZ #6652]
29773         * Makeconfig (soversions-default-setname): Remove variable.
29774         ($(common-objpfx)soversions.i): Don't pass default_setname to
29775         soversions.awk.
29776         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29777         oldest_abi to abi-versions.awk.
29778         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29779         * config.make.in (oldest-abi): Remove variable.
29780         * configure.ac (--enable-oldest-abi): Remove configure option.
29781         * configure: Regenerated.
29782         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29783         text.
29784         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29785         * scripts/soversions.awk: Do not handle default_setname variable.
29786         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29787         variable.
29788         * sysdeps/mach/hurd/configure: Regenerated.
29789         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29790         variable.
29791         * sysdeps/unix/sysv/linux/configure: Regenerated.
29793 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29795         * elf/Makefile (CFLAGS-interp.c): Remove.
29796         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29797         path string.
29798         * elf/interp.c: Include generated runtime-linker.h
29800         * Makerules (lib%.so): Don't include $(+interp) in
29801         prerequisites.
29802         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29803         * dlfcn/eval.c: Remove file.
29805         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29806         macros.
29808         [BZ #17266]
29809         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29810         4.2 and newer.
29812         [BZ #17370]
29813         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29815 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29816             Jakub Jelinek  <jakub@redhat.com>
29818         [BZ #17266]
29819         * libio/stdio.h: Check definition of __fortify_function
29820         instead of __extern_always_inline to include bits/stdio2.h.
29821         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29822         check if __extern_always_inline is defined.
29823         [__USE_MISC || __USE_XOPEN]: Likewise.
29824         [__USE_ISOC99] Likewise.
29825         * misc/sys/cdefs.h (__fortify_function): Define only if
29826         __extern_always_inline is defined.
29827         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29828         __extern_always_inline and __extern_inline only for g++-4.3
29829         and newer or a compatible gcc.
29831 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29833         [BZ #17371]
29834         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29835         last change to handle zero prefix length.
29837 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29839         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29840         _SC_REGEX_VERSION.
29842         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29843         _POSIX_RAW_SOCKETS.
29845 2014-09-13  Allan McRae  <allan@archlinux.org>
29847         * po/ru.po: Update Russian translation from translation project.
29849 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29851         * locale/programs/locale.c (show_locale_vars): Inline local function
29852         into its sole call site.  Clean up some style nits.
29853         (print_item): New function, broken out of ...
29854         (show_info): ... local function here.  Clean up style nits.
29856         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29857         out of ...
29858         (set_class_defaults): ... local function set_default here.
29859         Define set_default as a macro locally to pass constant parameters.
29860         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29861         rather than a shared local.
29863         * stdlib/rpmatch.c (try): New function, broken out of ...
29864         (rpmatch): ... local function here.  Also, prototypify definition.
29866 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29868         * scripts/soversions.awk: Do not handle configuration names.
29869         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29870         vendor and os variables to soversions.awk.
29871         * configure.ac: Do not modify gnu-* host_os.
29872         * configure: Regenerated
29873         * shlib-versions: Remove first column with configuration names.
29874         * nptl/shlib-versions: Likewise.
29875         * nptl_db/shlib-versions: Likewise.
29876         * sysdeps/hppa/shlib-versions: Likewise.
29877         * sysdeps/m68k/shlib-versions: Likewise.
29878         * sysdeps/mach/hurd/shlib-versions: Likewise.
29879         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29880         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29881         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29882         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29883         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29884         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29885         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29886         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29888         Likewise.
29889         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29890         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29891         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29892         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29893         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29894         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29895         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29896         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29899         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29901         Regenerated.
29902         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29904         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29906         * shlib-versions: Remove OS-specific entries.  Moved to files in
29907         sysdeps.
29908         * sysdeps/mach/hurd/shlib-versions: New file.
29909         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29911         * nptl/shlib-versions: Remove architecture-specific entries.
29912         Moved to files in sysdeps.
29913         * shlib-versions: Likewise.
29914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29915         file.
29916         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29917         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29918         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29919         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29921         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29922         (UDP_NO_CHECK6_RX): Likewise.
29924 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29926         * sysdeps/posix/sysconf.c (__sysconf): Spell
29927         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29929 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29931         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29932         loading.
29933         * iconv/Versions (__gconv_transliterate): Export for use from
29934         gconv modules.
29935         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29936         (struct __gconv_trans_data, __gconv_trans_fct,
29937         __gconv_trans_context_fct, __gconv_trans_query_fct,
29938         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29939         definitions.
29940         (struct __gconv_step_data): Remove __trans member.
29941         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29942         longer hidden.  Remove unused trans_data argument.
29943         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29944         (__gconv_translit_find): Remove declaration.
29945         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29946         prototype.
29947         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29948         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29949         trans_data argument.  Add hidden definition.
29950         (__gconv_translit_find): Remove.
29951         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29952         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29953         * iconv/skeleton.c: Remove transliteration initialization.
29954         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29955         __gconv_step_data initialization.
29956         * libio/iofwide.c (__libio_translit_): Remove.
29957         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29958         * wcsmbs/btowc.c (__btowc): Likewise.
29959         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29960         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29961         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29962         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29963         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29964         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29965         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29966         * wcsmbs/wctob.c (wctob): Likewise.
29968 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29970         [BZ #16194]
29971         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29972         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29973         register usage.
29974         * sysdeps/x86/Makefile: Adjust.
29976 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29977             Roland McGrath  <roland@hack.frob.com>
29979         * locale/weight.h: Add include guard.
29980         (findidx): Make static rather than auto; take new parameters
29981         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29982         * locale/weightwc.h: Likewise.
29983         * posix/fnmatch_loop.c
29984         (FCT): Change type of EXTRA from int32_t to wint_t.
29985         Don't include either header inside the function.
29986         Call FINDIDX rather than findidx, and pass new arguments.
29987         #undef FINDIDX at the end of the file.
29988         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29989         FINDIDX before including fnmatch_loop.c for the non-wide version.
29990         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29991         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29992         for the wide version.
29993         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29994         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29995         Pass new arguments to findidx.
29996         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29997         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29998         Don't #include it inside the function.  Pass new arguments to findidx.
29999         * posix/regex_internal.h
30000         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
30001         (re_string_elem_size_at): Don't #include it inside the function.
30002         Pass new arguments to findidx.
30003         * string/strcoll_l.c: #include WEIGHT_H at top level.
30004         (get_next_seq): Don't #include it inside the function.
30005         Pass new arguments to findidx.
30006         (get_next_seq_nocache): Likewise.
30007         * string/strxfrm_l.c: #include WEIGHT_H at top level.
30008         (STRXFRM): Don't #include it inside the function.
30009         Pass new arguments to findidx.
30011 2014-09-11  Florian Weimer  <fweimer@redhat.com>
30013         [BZ #17344]
30014         * malloc/malloc.c (unlink): Turn asserts into a call to
30015         malloc_printerr.
30017 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
30019         [BZ #17370]
30020         * libio/wfileops (do_ftell_wide): Free OUT.
30022 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
30024         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
30026 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30028         [BZ #17363]
30029         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
30030         group if the current group is empty.
30032 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30034         * benchtests/bench-memset.c (test_main): Add more test from size
30035         from 32 to 512 bytes.
30036         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30037         Add POWER8 memset object.
30038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30039         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
30040         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
30041         implementation.
30042         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
30043         Likewise.
30044         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
30045         multiarch POWER8 memset optimization.
30046         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
30047         POWER8 memset optimization.
30049         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30050         Remove bzero multiarch objects.
30051         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
30052         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
30053         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
30054         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
30055         Remove define.
30056         [__bzero]: Redefine to specific name.
30057         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
30058         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
30059         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
30060         define.
30061         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
30062         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
30064 2014-09-10  Florian Weimer  <fweimer@redhat.com>
30066         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
30067         warnings into errors.
30069         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
30070         __cxa_thread_atexit_impl prototype.
30072 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30074         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
30075         Fix capitalization of error message.
30077 2014-09-09  Steve Ellcey  <sellcey@mips.com>
30079         * sysdeps/mips/preconfigure: Modify ABI tests.
30081 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
30083         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
30085 2014-09-07  Roland McGrath  <roland@hack.frob.com>
30086             Carlos O'Donell  <carlos@systemhalted.org>
30088         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
30089         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
30090         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
30091         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
30092         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
30093         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
30094         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
30095         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
30096         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
30097         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
30098         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
30099         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
30100         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
30101         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
30102         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
30103         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
30104         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
30105         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
30106         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
30107         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
30108         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
30109         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
30110         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
30111         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
30112         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
30113         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
30114         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
30115         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
30116         Deconditionalize the code that was previously under [RESET_PID].
30117         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
30118         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
30119         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
30120         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
30121         include sysdep.h.
30123 2014-09-08  Allan McRae  <allan@archlinux.org>
30125         * version.h (RELEASE): Set to "development".
30126         (VERSION): Set to "2.20.90"
30128 2014-09-07  Allan McRae  <allan@archlinux.org
30130         * version.h (RELEASE): Set to "stable".
30131         (VERSION): Set to "2.20"
30132         * include/features.h (__GLIBC_MINOR__): Set to 20.
30134         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
30135         Liebler.
30137         * po/ko.po: Update Korean translation from translation project.
30139 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
30141         [BZ #17354]
30142         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
30143         macro for handling signed relocations.
30145 2014-09-03  Florian Weimer  <fweimer@redhat.com>
30147         [BZ #17325]
30148         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
30149         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
30150         assert.
30151         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
30152         * iconvdata/ibm935.c (BODY): Likewise.
30153         * iconvdata/ibm937.c (BODY): Likewise.
30154         * iconvdata/ibm939.c (BODY): Likewise.
30155         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
30156         assert.
30157         * iconvdata/Makefile (iconv-test.out): Pass module list to test
30158         script.
30159         * iconvdata/run-iconv-test.sh: New test loop for checking for
30160         decoder crashers.
30162 2014-09-02  Khem Raj  <raj.khem@gmail.com>
30164         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
30165         libm_hidden_ver.
30167 2014-09-01  Allan McRae  <allan@archlinux.org>
30169         * po/eo.po: Update Esperanto translation from translation project.
30171         * po/ca.po: Update Catalan translation from translation project.
30173 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30175         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
30176         __proc_dostop call.
30178 2014-08-27  Mark Wielaard  <mjw@redhat.com>
30180         [BZ #17319]
30181         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
30182         to call set_thread_area instead of hand written asm.
30183         (__NR_set_thread_area): Removed define.
30184         (TLS_FLAG_WRITABLE): Likewise.
30185         (__ASSUME_SET_THREAD_AREA): Remove check.
30186         (TLS_EBX_ARG): Remove define.
30187         (TLS_LOAD_EBX): Likewise.
30189 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30191         Simplify atomicity of socket creation in bind.
30193         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
30194         looking up the name after linking the file.
30196 2014-08-27  Allan McRae  <allan@archlinux.org>
30198         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30200 2014-08-26  Florian Weimer  <fweimer@redhat.com>
30202         [BZ #17187]
30203         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
30204         trans_compare, open_translit, __gconv_translit_find):
30205         Remove module loading code.
30207 2014-08-26  Allan McRae  <allan@archlinux.org>
30209         * po/vi.po: Update Vietnamese translation from translation project.
30211         * po/uk.po: Update Ukrainian translation from translation project.
30213         * po/fr.po: Update French translation from translation project.
30215         * po/ru.po: Update Russian translation from translation project.
30217         * po/pl.po: Update Polish translation from translation project.
30219         * po/cs.po: Update Czech translation from translation project.
30221         * po/de.po: Update German translation from translation project.
30223         * po/bg.po: Update Bulgarian translation from translation project.
30225         * po/sv.po: Update Sweedish translation from translation project.
30227         * po/nl.po: Update Dutch translation from translation project.
30229         * po/es.po: Update Spanish translation from translation project.
30231 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30233         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
30235         * catgets/Makefile (CPPFLAGS-gencat): Remove.
30236         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
30237         (CPPFLAGS-iconvconfig): Likewise.
30238         * timezone/Makefile (CPPFLAGS-zic): Likewise.
30240         * include/libc-symbols.h: Remove unnecessary check for
30241         NOT_IN_libc.
30242         * nptl/pthreadP.h: Likewise.
30243         * sysdeps/aarch64/setjmp.S: Likewise.
30244         * sysdeps/alpha/setjmp.S: Likewise.
30245         * sysdeps/arm/sysdep.h: Likewise.
30246         * sysdeps/i386/setjmp.S: Likewise.
30247         * sysdeps/m68k/setjmp.c: Likewise.
30248         * sysdeps/posix/getcwd.c: Likewise.
30249         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30250         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30251         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30252         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30253         * sysdeps/sh/sh3/setjmp.S: Likewise.
30254         * sysdeps/sh/sh4/setjmp.S: Likewise.
30255         * sysdeps/unix/alpha/sysdep.h: Likewise.
30256         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30258         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30259         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30262         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30263         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30264         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30265         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30266         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30267         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30268         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30269         * sysdeps/x86_64/setjmp.S: Likewise.
30271 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
30273         [BZ #17263]
30274         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
30275         <stdint.h>.
30276         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
30277         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
30279 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30281         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
30283         [BZ #17262]
30284         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
30285         and __x86_64__ when disabling x87 inline functions.
30287 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
30289         [BZ #17259]
30290         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
30291         asm statement with __cpuid_count.
30293 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
30295         * configure.ac: Change __ehdr_start code to dereference the struct.
30296         Run readelf on the output to look for relocations.
30297         * configure: Regenerated.
30299 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30301         [BZ #17261]
30302         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
30303         value to 0.
30304         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
30306 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30308         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
30310 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
30312         [BZ #16892]
30313         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
30314         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
30316 2014-08-12  Sean Anderson  <seanga2@gmail.com>
30318         * malloc/malloc.c: Fix typo in comment.
30320 2014-08-09  Allan McRae  <allan@archlinux.org>
30322         * Regenerate libc.po.
30324 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
30326         * intl/tst-gettext2.sh: Check every lang file for creation.
30328 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30330         * sysdeps/aarch64/fpu/math_private.h
30331         (libc_feholdsetround_noex_aarch64_ctx): New function.
30333 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
30335         * sysdeps/arm/armv6/strcpy.S (strcpy):
30336         Fix performance issue in misaligned cases.
30338 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30340         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
30341         Move definition from termios.h.
30342         (struct termio): Likewise.
30343         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30344         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30345         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30346         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30347         Likewise.
30348         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
30349         Move definition to ioctl-types.h
30350         (struct termio): Likewise.
30351         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30352         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
30353         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
30354         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
30355         Likewise.
30357 2014-08-05  Richard Henderson  <rth@redhat.com>
30359         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
30360         exceptions.
30361         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
30362         Add fraiseexcpt.
30363         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
30364         Use __feraiseexcept.
30365         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
30366         Protect libm symbols with IS_IN_libm.
30368         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
30370 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
30372         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
30374 2014-08-04  Will Newton  <will.newton@linaro.org>
30376         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
30377         file.
30379 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
30381         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
30382         variants for each function.
30384 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30386         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
30387         appended ...
30388         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
30389         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
30390         appended ...
30391         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
30392         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
30393         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
30394         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
30395         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
30396         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
30397         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
30398         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
30399         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
30400         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
30401         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
30402         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
30403         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
30404         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
30405         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
30406         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
30407         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
30408         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
30409         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
30410         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
30411         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
30412         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
30413         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
30414         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
30415         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
30416         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
30417         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
30418         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
30419         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
30420         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
30421         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
30422         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
30423         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
30424         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
30425         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
30426         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
30427         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
30428         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
30429         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
30430         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
30431         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
30432         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
30433         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
30434         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
30435         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
30436         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
30437         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
30438         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
30439         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
30440         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
30441         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
30442         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
30443         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
30444         Update #include.
30445         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
30446         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
30448 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30450         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
30451         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
30452         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
30453         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
30454         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
30455         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
30457 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30459         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
30460         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
30461         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30462         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
30464 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30466         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
30467         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
30468         (__libc_vfork): Define function under this name.
30469         (__vfork): Define as an alias.
30470         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
30471         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
30473 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30475         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30476         that was previously under [RESET_PID].
30477         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30479 2014-08-04  Andreas Schwab  <schwab@suse.de>
30481         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30483 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30485         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30486         (main): Likewise.
30488 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30490         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30492 2014-08-01  Richard Henderon  <rth@redhat.com>
30494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30495         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30496         typo in exact zero test.
30497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30498         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30499         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30501 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30503         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30504         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30505         * sysdeps/arm/sysdep.h: ... here.
30506         [!__ASSEMBLER__]: Include <stdint.h>.
30508 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30510         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30511         (HAVE_WCTYPE_H): Likewise.
30512         (HAVE_ISWCTYPE): Likewise.
30513         (ENABLE_NLS): Likewise.
30514         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30515         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30517         * posix/regex_internal.c: Check if DEBUG is defined and is
30518         set.
30520         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30521         (HAVE_MBSRTOWCS): Likewise.
30522         * posix/fnmatch.c: Include string.h unconditionally.
30524 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30526         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30527         reversal.
30529 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30531         * sysdeps/generic/safe-fatal.h: New file.
30532         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30533         * nptl/forward.c: Include it.
30534         (__pthread_unwind): Use __safe_fatal as default action, rather
30535         than a bogus use of INTERNAL_SYSCALL that could never work.
30537         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30538         * configure.ac (libc_cv_builtin_trap): New test.
30539         * configure: Regenerated.
30540         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30541         (ABORT_INSTRUCTION): Define using __builtin_trap.
30543         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30544         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30545         * sysdeps/nptl/nptl-signals.h: New file.
30546         * nptl/pthreadP.h: Include <nptl-signals.h>.
30548 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30550         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30551         (ONE_DIRECTION): Define.
30552         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30553         (ONE_DIRECTION): Define.
30554         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30555         (ONE_DIRECTION): Define.
30557 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30559         * sysdeps/s390/Makefile: Delete file.
30560         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30561         * sysdeps/s390/__longjmp.c: Delete file.
30562         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30563         Remove fields __flags and __reserved.
30564         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30565         and add versioning.
30566         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30567         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30568         * sysdeps/s390/rtld-setjmp.S: Likewise.
30569         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30570         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30571         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30572         * sysdeps/s390/s390-32/setjmp.S: ... here.
30573         Add versioning.
30574         (__sigsetjmp): Remove setting __flags field.
30575         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30576         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30577         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30578         * sysdeps/s390/s390-64/setjmp.S: ... here.
30579         Add versioning.
30580         (__sigsetjmp): Remove setting __flags field.
30581         * sysdeps/s390/setjmp.S: Delete file.
30582         * sysdeps/s390/sigjmp.c: Likewise.
30583         * sysdeps/s390/v1-longjmp.c: Likewise.
30584         * sysdeps/s390/v1-setjmp.h: Likewise.
30585         * sysdeps/s390/v1-sigjmp.c: Likewise.
30586         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30587         Remove v1-longjmp_chk.
30588         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30589         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30590         Include debug/longjmp_chk.c and add versioning.
30591         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30592         Include nptl/pt-longjmp.c and add versioning.
30593         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30594         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30595         Include __longjmp.c.
30596         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30597         Move to ...
30598         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30599         (__getcontext): Remove setting __flags field.
30600         Add versioning.
30601         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30602         Don't restore upper high grps.
30603         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30604         Likewise.
30605         (__swapcontext): Remove setting uc_flags field.
30606         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30607         Delete file.
30608         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30609         Include __longjmp.c.
30610         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30611         Move to ...
30612         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30613         (__getcontext): Remove setting __flags field.
30614         Add versioning.
30615         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30616         (__swapcontext): Remove setting uc_flags field.
30617         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30618         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30619         Remove fields uc_high_gprs and __reserved.
30620         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30621         New file with reverted content.
30622         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30623         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30624         Regenerated.
30625         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30626         Regenerated.
30628 2014-07-31  Andreas Schwab  <schwab@suse.de>
30630         * config.h.in (HAVE_IFUNC): Define to 0.
30631         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30632         definedness.
30634 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30636         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30637         memmove-avx-unaligned, memcpy-avx-unaligned and
30638         mempcpy-avx-unaligned.
30639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30640         Add tests for AVX memcpy functions.
30641         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30642         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30643         memcpy_chk.
30644         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30645         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30646         memmove_chk.
30647         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30648         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30649         mempcpy_chk.
30650         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30651         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30652         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30654 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30656         [BZ #17213]
30657         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30658         powerpc64le.
30660 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30662         [BZ #16839]
30663         * manual/llio.texi: Add section about open file description locks.
30664         * manual/examples/ofdlocks.c: Example of open file description
30665         lock usage.
30666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30667         F_OFD_SETLK, and F_OFD_SETLKW.
30669 2014-07-23  Allan McRae  <allan@archlinux.org>
30671         * po/es.po: Update Spanish translation from translation project.
30673 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30675         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30677 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30679         [BZ #17078]
30680         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30681         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30682         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30684 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30686         [BZ #17088]
30687         * math/fesetenv.c (__fesetenv)
30688         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30689         * math/feupdateenv.c (__feupdateenv)
30690         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30692         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30693         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30694         (__ASSUME_SOCKETCALL): Do not define.
30696         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30697         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30698         (__ASSUME_SOCKETCALL): Do not define.
30699         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30700         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30701         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30702         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30704         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30706         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30708         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30709         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30710         (__ASSUME_SOCKETCALL): Do not define.
30711         (__ASSUME_IPC64): Define unconditionally.
30712         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30713         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30714         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30715         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30716         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30717         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30718         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30719         Likewise.
30721         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30722         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30723         (__ASSUME_SOCKETCALL): Do not define.
30724         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30725         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30726         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30727         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30728         (__ASSUME_REQUEUE_PI): Define unconditionally.
30729         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30730         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30731         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30732         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30734         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30736         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30737         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30738         (__ASSUME_SOCKETCALL): Do not define.
30739         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30740         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30741         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30742         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30743         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30744         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30746         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30747         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30748         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30749         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30750         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30751         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30752         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30753         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30754         (__ASSUME_GETCPU_SYSCALL): Likewise.
30756         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30757         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30758         cases for individual architectures.
30759         * sysdeps/gnu/configure: Regenerated.
30760         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30761         LIBC_SLIBDIR_RTLDDIR.
30762         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30763         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30764         LIBC_SLIBDIR_RTLDDIR.
30765         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30767         LIBC_SLIBDIR_RTLDDIR.
30768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30769         Regenerated.
30770         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30771         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30772         file.
30773         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30774         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30775         file.
30776         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30777         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30778         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30779         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30781         * sysdeps/aarch64/shlib-versions: Move to ...
30782         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30783         * sysdeps/alpha/shlib-versions: Move to ...
30784         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30785         * sysdeps/arm/shlib-versions: Move to ...
30786         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30787         * sysdeps/hppa/shlib-versions: Move all contents except for
30788         libgcc_s entry to ...
30789         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30790         entry from ...
30791         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30792         * sysdeps/ia64/shlib-versions: Move to ...
30793         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30794         entry from ...
30795         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30796         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30797         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30798         * sysdeps/microblaze/shlib-versions: Move to ...
30799         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30800         * sysdeps/mips/shlib-versions: Move to ...
30801         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30802         entry from ...
30803         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30804         * sysdeps/tile/shlib-versions: Move to ...
30805         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30806         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30807         from ...
30808         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30809         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30810         entry from ...
30811         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30813 2014-07-17  Will Newton  <will.newton@linaro.org>
30815         * sysdeps/arm/bits/atomic.h
30816         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30817         (__arch_compare_and_exchange_bool_16_int): Likewise.
30818         (__arch_compare_and_exchange_bool_64_int): Likewise.
30820         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30821         into an #else block.
30823 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30825         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30826         just Linux configurations.  Test empirically that the compiler sets
30827         __ARM_EABI__, rather than using the tuple to decide.
30828         * sysdeps/arm/preconfigure: Regenerated.
30829         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30830         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30831         contents appended ...
30832         * sysdeps/arm/configure.ac: ... here.
30833         * sysdeps/arm/configure: Regenerated.
30835 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30837         * nptl/pthread_kill.c: New file.
30838         * nptl/pthread_sigmask.c: New file.
30839         * nptl/pthread_sigqueue.c: New file.
30841         * sysdeps/nptl/lowlevellock.h: New file.
30842         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30843         * sysdeps/nptl/lowlevellock-futex.h: New file.
30845         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30846         Remove dead declarations.
30848 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30850         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30851         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30852         config-cflags-avx2.
30853         * sysdeps/x86_64/configure.ac: Likewise.
30854         * sysdeps/i386/configure: Regenerated.
30855         * sysdeps/x86_64/configure: Likewise.
30856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30857         memset-avx2 only if config-cflags-avx2 is yes.
30858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30859         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30860         defined.
30861         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30862         only if HAVE_AVX2_SUPPORT is defined.
30863         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30865 2014-07-14  Alan Modra  <amodra@gmail.com>
30867         [BZ #17153]
30868         * elf/elf.h (DT_PPC64_NUM): Correct value.
30869         * NEWS: Add to fixed bug list.
30871 2014-07-13  Jim Meyering  <meyering@fb.com>
30873         [BZ 17150]
30874         regex: don't deref NULL upon heap allocation failure
30875         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30876         failure in one more place.
30877         To trigger the segfault, configure grep -with-included-regex,
30878         build it, and run these commands:
30879         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30881 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30883         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30885 2014-07-11  Richard Henderson  <rth@redhat.com>
30887         * sysdeps/aarch64/libm-test-ulps: Update.
30889 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30891         [BZ #17135]
30892         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30893         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30894         (__nptl_setxid): Initialize error member.  Call
30895         __nptl_setxid_error.
30896         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30897         * nptl/descr.h (struct xid_command): Add error member.
30898         * nptl/tst-setuid3.c: New file.
30899         * nptl/Makefile (tests): Add it.
30901 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30903         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30904         New define.
30905         (__lll_trylock): Use __lll_base_trylock.
30906         (__lll_cond_trylock): Likewise.
30908 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30910         * nptl/pthread_create.c (start_thread): Use atomic_or and
30911         lll_futex_wake directly rather than lll_robust_dead.
30912         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30913         (lll_robust_dead): Macro removed.
30914         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30915         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30916         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30917         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30918         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30919         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30920         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30921         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30922         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30923         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30924         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30925         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30926         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30927         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30928         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30930         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30931         Use atomic_compare_and_exchange_val_acq directly rather than
30932         lll_robust_trylock.
30933         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30934         (__lll_robust_trylock, lll_robust_trylock): Removed.
30935         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30936         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30937         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30938         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30939         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30940         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30941         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30942         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30943         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30944         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30945         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30946         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30947         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30948         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30950 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30952         * manual/locale.texi (Locale Names): New section documenting
30953         locale name syntax.  Adjust menu and node chaining accordingly.
30954         (Choosing Locale): Reference Locale Names, Locale Categories.
30955         Mention setting LC_ALL=C.  Reflect that name syntax is now
30956         documented.
30957         (Locale Categories): New section title.  Reference Locale Names.
30958         LC_ALL is an environment variable, but not a category.
30959         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30960         description, now in Locale Name.  Reference that section.  Locale
30961         name syntax is now documented.
30963 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30965         [BZ #17137]
30966         * locale/findlocale.c (name_present, valid_locale_name): New
30967         functions.
30968         (_nl_find_locale): Use the loc_name variable to store name
30969         candidates.  Call name_present and valid_locale_name to check and
30970         validate locale names.  Return an error if the locale is invalid.
30972 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30974         * locale/setlocale.c (setlocale): Use strdup for allocating
30975         composite name copy.
30977 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30979         Sync up with gnulib.
30980         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30981         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30982         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30983         and _GL_ARG_NONNULL.
30984         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30985         [!_LIBC]: Include code for Windows and Cygwin.
30986         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30987         Include prototype for int strerror_r.
30988         [!_LIBC] (is_open): New function.
30989         (flush_stdout): New function.
30990         (print_errno_message): Use it.
30991         (error): Likewise.
30992         (error_at_line): Likewise.
30993         (error_tail) Add function attribute macros.  Use
30994         __builtin_expect.
30996         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30998         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
31000         * io/ftw.c: Include sys/param.h unconditionally.
31002         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
31004         [BZ #17125]
31005         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
31006         libc_freeres_ptr.
31007         (freecache): New function to free CACHE on exit.
31009         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
31010         initialization.
31012 2014-07-09  David S. Miller  <davem@davemloft.net>
31014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31016         * sysdeps/sparc/nptl/internaltypes.h: Delete.
31017         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
31018         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
31019         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
31020         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
31021         * sysdeps/sparc/nptl/sem_init.c: Likewise.
31022         * sysdeps/sparc/nptl/sem_post.c: Likewise.
31023         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
31024         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
31025         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
31026         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
31027         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
31028         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
31030 2014-07-09  Andreas Schwab  <schwab@suse.de>
31032         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
31033         output.
31034         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
31035         (do_test): Likewise.
31037         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31039 2014-07-09  Will Newton  <will.newton@linaro.org>
31041         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
31042         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
31043         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31044         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31045         * sysdeps/hppa/start.S (_start): Likewise.
31047 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
31049         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
31051         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
31052         defined.
31054 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31056         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
31057         after checking that it is non-NULL.
31059         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
31061 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31063         * sysdeps/powerpc/memmove.c: Remove file.
31064         * sysdeps/powerpc/powerpc32/power4/memcopy.h
31065         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
31066         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
31067         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
31068         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
31069         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
31070         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
31071         string memmove instead of removed powerpc one.
31073         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
31074         [weak_alias]: Fix compiler warning due trailing data.
31075         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
31076         [weak_alias]: Likewise.
31077         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
31078         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
31080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
31081         (__libc_ifunc_impl_list): Add memmove functions.
31083 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31085         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
31086         Remove code.
31087         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
31088         Likewise.
31089         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
31090         Likewise.
31091         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
31092         Likewise.
31093         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
31094         Likewise.
31095         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
31096         Likewise.
31097         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
31098         Likewise.
31099         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
31100         Likewise.
31101         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
31102         Likewise.
31103         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
31104         Likewise.
31105         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
31106         Likewise.
31107         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
31108         Likewise.
31109         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
31110         Likewise.
31111         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
31112         Likewise.
31113         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
31114         Likewise.
31115         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
31116         Likewise.
31117         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
31118         Likewise.
31120 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31122         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
31123         to avoid alignment traps in non-cacheable memory.
31124         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
31127         multiarch objects.
31128         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
31129         file: multiarch power7 memmove.
31130         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
31131         multiarch default memmove.
31132         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
31133         multiarch memove for powerpc32/power4.
31135         * string/bcopy.c: Use full path to include memmove.c.
31136         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
31137         multiarch objects.
31138         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
31139         bcopy for powerpc64.
31140         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
31141         bcopy for powerpc64.
31142         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
31143         and memmove implementations.
31144         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
31145         optimized multiarch memmove for POWER7/powerpc64.
31146         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
31147         default multiarch memmove for powerpc64.
31148         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
31149         multiarch for powerpc64.
31150         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
31151         for POWER7/powerpc64.
31152         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
31153         memmove for POWER7/powerpc64.
31155         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
31156         glibc default one.
31158         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
31159         __ELF_NATIVE_CLASS equal to 64.
31161 2014-07-07  Roland McGrath  <roland@hack.frob.com>
31163         * sysdeps/nptl/lowlevellock.h: File removed.
31165         * NEWS: NPTL is no longer an add-on!
31166         * nptl/internaltypes.h: Moved ...
31167         * sysdeps/nptl/internaltypes.h: ... here.
31168         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
31169         * sysdeps/nptl/fork.c: Likewise.
31170         * sysdeps/nptl/gai_misc.h: Likewise.
31171         * sysdeps/nptl/librt-cancellation.c: Likewise.
31172         * sysdeps/nptl/jmp-unwind.c: Likewise.
31173         * sysdeps/nptl/setxid.h: Likewise.
31174         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
31175         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
31176         * sysdeps/unix/sysv/linux/arm/Implies: New file.
31177         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
31178         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
31179         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
31180         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
31181         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
31182         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
31183         * sysdeps/unix/sysv/linux/mips/Implies: New file.
31184         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
31185         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
31186         * sysdeps/unix/sysv/linux/sh/Implies: New file.
31187         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
31188         * sysdeps/unix/sysv/linux/tile/Implies: New file.
31189         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
31190         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
31191         * nptl/Makeconfig: Moved ...
31192         * sysdeps/nptl/Makeconfig: ... here.
31193         * nptl/configure: File removed.
31194         * nptl/ANNOUNCE: File removed.
31195         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
31196         * sysdeps/unix/sysv/linux/configure: Regenerated.
31198         * nptl/Makefile (routines): Add libc_pthread_init,
31199         libc_multiple_threads, register-atfork and unregister-atfork.
31200         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
31201         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
31202         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
31203         pthread-pi-defines.sym, structsem.sym.
31204         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
31205         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
31206         [$(subdir) = nptl] (tests): Add tst-setgetname.
31207         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
31208         * sysdeps/unix/sysv/linux/sigaction.c: Just include
31209         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
31210         [!LIBC_SIGACTION]: Remove aliases.
31211         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31212         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31213         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31214         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
31215         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31216         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
31217         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31218         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31219         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31220         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
31221         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
31222         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
31223         __libc_allocate_rtsig_private.
31224         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
31225         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
31226         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
31227         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
31228         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
31229         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
31230         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
31231         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
31232         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
31233         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
31234         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
31235         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
31236         * nptl/internaltypes.h: ... here.
31237         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
31238         * sysdeps/nptl/jmp-unwind.c: ... here.
31239         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
31240         * nptl/libc-lowlevellock.c: ... here.
31241         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
31242         * nptl/libc_multiple_threads.c: ... here.
31243         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
31244         * nptl/libc_pthread_init.c: ... here.
31245         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
31246         * nptl/lowlevelbarrier.sym: ... here.
31247         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
31248         * nptl/lowlevelcond.sym: ... here.
31249         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
31250         * nptl/lowlevellock.c: ... here.
31251         * nptl/lowlevellock.h: Moved ...
31252         * sysdeps/nptl/lowlevellock.h: ... here.
31253         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
31254         * nptl/lowlevelrobustlock.c: ... here.
31255         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
31256         * nptl/lowlevelrobustlock.sym: ... here.
31257         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
31258         * nptl/lowlevelrwlock.sym: ... here.
31259         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
31260         * nptl/pt-fork.c: ... here.
31261         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
31262         * nptl/pthread-pi-defines.sym: ... here.
31263         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
31264         * nptl/pthread_attr_getaffinity.c: ... here.
31265         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
31266         * nptl/pthread_attr_setaffinity.c: ... here.
31267         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
31268         * nptl/pthread_mutex_cond_lock.c: ... here.
31269         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31270         Update #include.
31271         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
31272         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
31273         * nptl/pthread_once.c: ... here, replacing old file.
31274         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
31275         * nptl/pthread_yield.c: ... here.
31276         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
31277         * nptl/register-atfork.c: ... here.
31278         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
31279         * nptl/sem_post.c: ... here.
31280         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
31281         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
31282         * nptl/sem_timedwait.c: ... here.
31283         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
31284         * nptl/sem_trywait.c: ... here.
31285         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
31286         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
31287         * nptl/sem_wait.c: ... here.
31288         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
31289         * nptl/structsem.sym: ... here.
31290         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
31291         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
31292         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
31293         * nptl/unregister-atfork.c: ... here.
31294         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
31295         * nptl/unwindbuf.sym: ... here.
31296         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
31297         * sysdeps/nptl/fork.c: ... here.
31298         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
31299         * sysdeps/nptl/fork.h: ... here.
31300         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
31301         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
31302         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
31303         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
31304         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
31305         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
31306         * sysdeps/unix/sysv/linux/getpid.c: ... here.
31307         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
31308         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
31309         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
31310         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
31311         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
31312         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
31313         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
31314         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
31316         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
31317         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
31318         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
31320         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
31321         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
31322         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
31324         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
31325         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
31326         * sysdeps/unix/sysv/linux/raise.c: ... here.
31327         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
31328         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
31330         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
31331         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
31332         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
31333         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
31334         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
31335         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
31336         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
31337         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
31338         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
31339         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
31340         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
31341         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
31343 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31345         * sysdeps/generic/memcopy.h: Add comment for
31346         MEMCPY_OK_FOR_FWD_MEMMOVE.
31348 2014-07-04  Will Newton  <will.newton@linaro.org>
31350         * string/memchr.c: Merge from gnulib.
31351         [_LIBC]: Remove conditionals.
31352         (__ptr_t): Remove define.
31353         (LONG_MAX_32_BITS): Likewise.
31354         (LONG_MAX): Likewise.
31355         (MEMCHR): Use ANSI prototype and optimize algorithm.
31357         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
31359 2014-07-03  Roland McGrath  <roland@hack.frob.com>
31361         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
31362         (lll_futex_timed_wait_bitset): Fix syscall argument count.
31364         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
31365         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
31366         in a bare environment with no <stdlib.h> installed.
31367         * sysdeps/nptl/configure: Regenerated.
31369         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
31371         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
31372         AC_EGREP_CPP for kernel header checks, so they only succeed if
31373         including <linux/version.h> actually works right.
31374         * sysdeps/unix/sysv/linux/configure: Regenerated.
31376         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
31377         value so it's not diagnosed as unused.
31379         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
31380         thing) with "ifeq ($(subdir),rt)".
31382 2014-07-03  Richard Henderson  <rth@redhat.com>
31384         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
31385         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
31386         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
31388         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
31389         (math_force_eval): New.
31391         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
31392         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
31394         * sysdeps/alpha/fpu/s_round.c: Remove file.
31395         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
31397         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
31398         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
31399         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
31400         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
31401         (_dl_start, print_statistics): Likewise.
31402         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
31403         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
31405         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31406         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31407         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31408         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31409         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31410         (HP_SMALL_TIMING_AVAIL): Define.
31411         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31412         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31413         (HP_SMALL_TIMING_AVAIL): Define.
31414         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31415         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
31417         * sysdeps/aarch64/hp-timing.h: New file.
31419         * sysdeps/generic/hp-timing.h: Remove dead comment.
31420         * sysdeps/generic/hp-timing-common.h: New file.
31421         * sysdeps/alpha/hp-timing.h: Include it.
31422         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
31423         * sysdeps/i386/i686/hp-timing.h: Likewise.
31424         * sysdeps/ia64/hp-timing.h: Likewise.
31425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31426         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31427         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31428         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31429         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
31430         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
31431         (hp_timing_t): New.
31433         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
31434         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
31435         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
31436         * elf/rtld.c (_dl_start_final): Likewise.
31437         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
31438         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31439         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31440         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31441         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31442         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31443         (HP_TIMING_DIFF_INIT): Remove.
31444         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31445         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
31446         (HP_TIMING_DIFF_INIT): Remove.
31447         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
31448         * sysdeps/i386/i686/hp-timing.c: Remove file.
31449         * sysdeps/x86_64/hp-timing.c: Remove file.
31450         * sysdeps/ia64/hp-timing.c: Remove file.
31451         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
31452         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
31453         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
31454         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
31456         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
31457         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
31458         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
31459         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
31461         (HP_TIMING_ACCUM): Remove.
31462         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31463         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
31464         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
31466         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
31467         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
31468         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
31469         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
31470         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
31471         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31472         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
31473         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31475         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31477 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31479         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31481 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31483         Sync up with gettext.
31484         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31485         [_MSC_VER]: Include malloc.h
31486         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31487         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31488         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31489         TEMP_FAILURE_RETRY.  Cast return of alloca.
31490         [!_LIBC] Call gl_rwlock_init.
31491         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31493 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31495         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31496         before checking its value.
31498 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31500         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31502         * debug/memcpy_chk.c: Don't include pagecopy.h.
31503         * debug/mempcpy_chk.c: Likewise.
31504         * string/memcpy.c: Likewise.
31505         * string/memmove.c: Likewise.
31506         * sysdeps/powerpc/memmove.c: Likewise.
31507         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31508         definition of PAGE_COPY_FWD_MAYBE here...
31509         * sysdeps/generic/pagecopy.h: ... from here.
31510         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31512 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31513             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31515         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31517         optimizations.
31518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31519         (__libc_ifunc_impl_list): Likewise.
31520         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31521         multiarch strcat for PPC64.
31522         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31523         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31525 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31527         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31529 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31531         * intl/loadmsgcat.c: Remove declaration of
31532         get_sysdep_segment_value.
31533         (get_sysdep_segment_value): Use ISO C style.
31534         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31535         semicolon.  Fix typo and formatting in comment.
31536         (_nl_unload_domain): Use ISO C style.
31538         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31540 2014-07-02  Will Newton  <will.newton@linaro.org>
31542         * malloc/obstack.c: Merge from gnulib master.
31543         [HAVE_CONFIG_H]: Remove conditional code.
31544         [!_LIBC]: Include config.h.
31545         [!ELIDE_CODE]: Don't include inttypes.h, include
31546         stdint.h unconditionally.
31547         (print_and_abort): Mark as _Noreturn.
31548         (_obstack_allocated_p): Mark as __attribute_pure__.
31549         (obstack_free): Rename to __obstack_free.
31550         [!__attribute__]: Remove conditional code.
31551         * malloc/obstack.h: Merge from gnulib master.
31552         [__cplusplus]: Move conditional down.
31553         [!__attribute_pure__]: Define __attribute_pure__ here
31554         if it is not already defined.
31555         (_obstack_memory_used): Mark as __attribute_pure__.
31556         [!__obstack_free]: Define as obstack_free.
31557         [__GNUC__]: Remove check for ancient NeXT gcc.
31559 2014-07-02  Will Newton  <will.newton@linaro.org>
31560             Paul Eggert  <eggert@cs.ucla.edu>
31562         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31564 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31566         * resolv/gethnamaddr.c: Add comment warning that the file is
31567         not maintained.
31569 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31571         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31572         entries.
31574         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31575         entry for aio_cancel and aio_cancel64.
31576         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31577         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31578         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31579         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31580         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31581         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31582         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31583         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31584         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31585         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31586         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31587         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31588         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31590 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31592         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31593         * nptl/pthread_mutex_lock.c: Likewise.
31594         * nptl/pthread_mutex_timedlock.c: Likewise.
31595         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31597 2014-07-01  Richard henderson  <rth@redhat.com>
31599         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31600         (__isnan, __isnanl): Remove.
31601         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31603         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31605 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31607         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31609 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31611         * resolv/nss_dns/dns-host.c (getanswer_r)
31612         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31614 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31616         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31617         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31618         undefine.
31619         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31620         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31622 2014-07-01  Roland McGrath <roland@hack.frob.com>
31624         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31625         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31627         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31628         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31630         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31631         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31632         ... here.
31633         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31634         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31636         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31637         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31638         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31639         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31641         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31642         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31643         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31644         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31645         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31646         Moved ...
31647         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31648         ... here.
31649         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31650         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31651         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31652         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31653         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31654         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31655         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31656         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31657         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31658         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31659         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31660         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31661         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31662         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31663         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31664         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31665         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31666         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31667         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31668         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31669         ... here.
31670         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31671         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31673         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31674         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31675         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31676         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31677         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31679 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31681         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31682         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31683         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31684         Add sysdep.
31686 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31690 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31692         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31693         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31695         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31697         * sysdeps/arm/libm-test-ulps: Regenerated.
31699 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31700             Roland McGrath <roland@hack.frob.com>
31702         * test-skeleton.c (signal_handler): Kill the whole process group
31703         before killing the child individually.
31704         (main): Report any failure on `setpgid'.
31706 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31708         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31709         from _TLS_H to _ARM_NPTL_TLS_H.
31710         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31711         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31713 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31715         [BZ #16539]
31716         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31717         (__expm1l): Return argument unchanged when small but not
31718         subnormal.
31720         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31721         include macro name.
31722         (_FP_UNPACK_RAW_1_P): Likewise.
31723         (_FP_PACK_RAW_1): Likewise.
31724         (_FP_PACK_RAW_1_P): Likewise.
31725         (_FP_MUL_MEAT_1_wide): Likewise.
31726         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31727         (_FP_MUL_MEAT_1_hard): Likewise.
31728         (_FP_DIV_MEAT_1_imm): Likewise.
31729         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31730         (_FP_DIV_MEAT_1_udiv): Likewise.
31731         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31732         (_FP_UNPACK_RAW_2): Likewise.
31733         (_FP_UNPACK_RAW_2_P): Likewise.
31734         (_FP_PACK_RAW_2): Likewise.
31735         (_FP_PACK_RAW_2_P): Likewise.
31736         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31737         (_FP_MUL_MEAT_2_wide): Likewise.
31738         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31739         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31740         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31741         (_FP_MUL_MEAT_2_gmp): Likewise.
31742         (_FP_DIV_MEAT_2_udiv): Likewise.
31743         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31744         (_FP_FRAC_SRL_4): Likewise.
31745         (_FP_FRAC_SRST_4): Likewise.
31746         (_FP_FRAC_SRS_4): Likewise.
31747         (_FP_UNPACK_RAW_4): Likewise.
31748         (_FP_UNPACK_RAW_4_P): Likewise.
31749         (_FP_PACK_RAW_4): Likewise.
31750         (_FP_PACK_RAW_4_P): Likewise.
31751         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31752         (_FP_MUL_MEAT_4_wide): Likewise.
31753         (_FP_MUL_MEAT_4_gmp): Likewise.
31754         (umul_ppppmnnn): Likewise.
31755         (_FP_DIV_MEAT_4_udiv): Likewise.
31756         (__FP_FRAC_ADD_4): Likewise.
31757         (__FP_FRAC_SUB_3): Likewise.
31758         (__FP_FRAC_SUB_4): Likewise.
31759         (__FP_FRAC_DEC_3): Likewise.
31760         (__FP_FRAC_DEC_4): Likewise.
31761         (__FP_FRAC_ADDI_4): Likewise.
31762         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31763         (_FP_FRAC_SRL_8): Likewise.
31764         (_FP_FRAC_SRS_8): Likewise.
31766         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31767         include macro name.
31768         (FP_UNPACK_RAW_EP): Likewise.
31769         (FP_PACK_RAW_E): Likewise.
31770         (FP_PACK_RAW_EP): Likewise.
31771         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31772         (_FP_ISSIGNAN): Likewise.
31773         (_FP_ADD_INTERNAL): Likewise.
31774         (_FP_FMA): Likewise.
31775         (_FP_CMP): Likewise.
31776         (_FP_SQRT): Likewise.
31777         (_FP_TO_INT): Likewise.
31778         (_FP_FROM_INT): Likewise.
31779         (FP_EXTEND): Likewise.
31780         (_FP_DIV_MEAT_N_loop): Likewise.
31782 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31784         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31785         throughout.
31787 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31789         [BZ #17097]
31790         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31791         result with correct sign in case of exponents that produce
31792         overflow except for X very close to 1.
31794 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31796         mktime: merge #if/#ifdef usage from glibc
31797         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31798         as that works with both Glibc's and Gnulib's style.
31799         See thread starting at Siddhesh Poyarekar's bug report at:
31800         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31802 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31804         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31805         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31806         * sysdeps/tile/tilegx/memmove.c: Remove file.
31808 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31810         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31811         abi-name definition.
31812         * scripts/soversions.awk: Do not handle or generate ABI lines.
31813         * shlib-versions: Remove ABI entries.
31814         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31815         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31817 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31820         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31821         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31822         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31824         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31826         Moved ...
31827         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31828         ... here.
31829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31830         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31832         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31834         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31836         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31838         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31840         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31842         Moved ...
31843         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31845         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31847         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31849         Moved ...
31850         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31852         Moved ...
31853         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31855         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31857         Moved ...
31858         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31859         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31860         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31862         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31863         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31864         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31866         Moved ...
31867         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31868         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31869         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31871         Moved ...
31872         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31873         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31874         Moved ...
31875         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31877         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31879         Moved ...
31880         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31881         ... here.
31882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31883         Identical file removed.
31884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31885         Moved ...
31886         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31888         Identical file removed.
31889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31890         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31892         Moved ...
31893         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31895         Identical file removed.
31896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31897         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31899         Identical file removed.
31900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31901         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31903         Identical file removed.
31904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31905         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31907         Identical file removed.
31908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31909         Moved ...
31910         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31912         Identical file removed.
31913         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31914         Moved ...
31915         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31916         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31917         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31919         Identical file removed.
31920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31921         Moved ...
31922         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31923         ... here.
31924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31925         Identical file removed.
31926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31927         Moved ...
31928         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31930         Identical file removed.
31931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31932         Moved ...
31933         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31934         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31935         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31937         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31939         Moved ...
31940         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31941         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31942         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31944         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31945         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31946         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31947         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31948         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31950 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31952         [BZ #17092]
31953         * nscd/nscd.c (monitor_child): Return exit status of child
31954         instead of return value from wait syscall.
31956 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31958         * configure.ac (libc_commonpagesize): Remove variable.
31959         (libc_relro_required): Likewise.
31960         (libc_cv_z_relro): Remove configure test.
31961         * configure: Regenerated.
31962         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31963         variable.
31964         (libc_relro_required): Likewise.
31965         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31966         (libc_relro_required): Likewise.
31967         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31968         (libc_relro_required): Likewise.
31969         * sysdeps/arm/preconfigure: Regenerated.
31970         * sysdeps/ia64/preconfigure: Remove file.
31971         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31972         variable.
31973         (libc_relro_required): Likewise.
31975         [BZ #16561]
31976         [BZ #16562]
31977         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31978         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31979         recompute overflowing results in original rounding mode.
31980         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31981         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31982         recompute overflowing results in original rounding mode.
31983         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31984         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31985         recompute overflowing results in original rounding mode.
31986         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31987         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31988         recompute overflowing results in original rounding mode.
31989         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31990         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31991         recompute overflowing results in original rounding mode.
31992         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31993         (libc_feholdsetround_ctx): New macro.
31994         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31995         * sysdeps/i386/fpu/libm-test-ulps: Update.
31996         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31998 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32000         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
32001         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
32002         corresponding .cpsetup call.
32004 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32006         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
32007         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
32008         * sysdeps/arm/Makefile [$(subdir) = csu]
32009         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
32010         (static-only-routines): Add aeabi_read_tp here.
32011         (shared-only-routines): Add libc-aeabi_read_tp here.
32012         (CFLAGS-libc-start.c): Add -fexceptions here.
32013         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
32014         (sysdep_routines, static-only-routines, shared-only-routines):
32015         Don't add to these here.
32016         (CFLAGS-libc-start.c): Likewise.
32018         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
32019         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
32020         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
32021         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
32022         * sysdeps/arm/Makefile [$(subdir) = rt]
32023         (librt-sysdep_routines, librt-shared-only-routines):
32024         Append rt-aeabi_unwind_cpp_pr1 here.
32025         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
32026         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
32027         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
32028         (libpthread-sysdep_routines, libpthread-shared-only-routines):
32029         Append nptl-aeabi_unwind_cpp_pr1 here.
32030         (tests): Filter out tst-cleanupx4 here.
32031         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
32032         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
32033         Don't do those here.
32035 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32037         * scripts/list-sources.sh: Do not handle ports specially.
32039 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32041         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
32042         * sysdeps/arm/feupdateenv.c: Likewise.
32044         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
32046 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32048         * manual/texinfo.tex: Update to version 2014-05-05.10 with
32049         trailing whitespace removed.
32050         * scripts/config.guess: Update to version 2014-03-23.
32051         * scripts/config.sub: Update to version 2014-05-01
32052         * scripts/install-sh: Update to version 2013-12-25.23.
32053         * scripts/move-if-change: Update from gnulib.
32055 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32057         * debug/memmove_chk.c: Remove pagecopy.h include.
32059 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
32061         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
32062         identical to gnulib mktime.
32064 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
32066         * configure.ac: Do not test for machine being rs6000.  Do not test
32067         for powerpc*-*soft.
32068         * configure: Regenerated.
32070         [BZ #11505]
32071         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
32072         test.
32073         * configure: Regenerated.
32074         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
32075         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
32076         Remove configure test.
32077         * sysdeps/arm/configure: Regenerated.
32078         * sysdeps/nptl/configure.ac: Do not check
32079         libc_cv_asm_cfi_directives.
32080         * sysdeps/nptl/configure: Regenerated.
32081         * sysdeps/x86_64/nptl/configure.ac: Remove file.
32082         * sysdeps/x86_64/nptl/configure: Remove generated file.
32083         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
32084         unconditional.
32085         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32087 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32089         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
32090         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
32091         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
32092         it is defined.
32094         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
32095         instead of whether it is defined.
32096         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
32097         * sysdeps/hppa/dl-machine.h: Likewise.
32098         * sysdeps/ia64/dl-machine.h: Likewise.
32099         * sysdeps/m68k/dl-machine.h: Likewise.
32100         * sysdeps/microblaze/dl-machine.h: Likewise.
32101         * sysdeps/mips/dl-machine.: Likewise.
32102         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32103         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32104         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32105         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32106         * sysdeps/sh/dl-machine.h: Likewise.
32107         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32108         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32109         * sysdeps/tile/dl-machine.h: Likewise.
32110         * sysdeps/x86_64/dl-machine.h: Likewise.
32112         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
32113         code.
32114         (verify_persistent_db): Likewise.
32116 2014-06-26  Roland McGrath  <roland@hack.frob.com>
32118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
32119         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
32120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
32121         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
32122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32123         Moved ...
32124         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
32125         ... here.
32126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
32127         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
32128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
32129         Identical file removed.
32130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
32131         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
32133         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
32134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
32135         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
32136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
32137         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
32138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
32139         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
32140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32141         Moved ...
32142         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
32143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
32144         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
32145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
32146         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
32147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32148         Moved ...
32149         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
32150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
32151         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
32152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
32153         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
32154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32155         Identical file removed.
32156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
32157         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
32158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
32159         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
32160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32161         Moved ...
32162         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
32163         ... here.
32164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
32165         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
32166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
32167         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
32168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
32169         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
32170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
32171         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
32172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
32173         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
32174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32175         Moved ...
32176         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
32177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
32178         Moved ...
32179         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
32180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
32181         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
32182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32183         Moved ...
32184         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
32185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
32186         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
32188         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
32189         folded into ...
32190         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
32191         * sysdeps/unix/sysv/linux/s390/Versions
32192         (libpthread: GLIBC_2.19): New version set.
32193         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
32194         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
32195         (librt: GLIBC_2.3.3): New version set.
32196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
32197         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
32198         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
32199         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
32200         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
32201         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
32202         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
32203         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
32204         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
32205         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
32206         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
32207         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
32208         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
32209         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
32210         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
32211         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
32212         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
32213         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
32214         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
32215         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
32216         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
32217         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
32218         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
32219         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
32220         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
32221         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
32222         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
32223         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
32224         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
32225         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
32226         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
32227         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
32228         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
32229         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
32230         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
32231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
32232         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
32233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
32234         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
32235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
32236         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
32237         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
32238         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
32239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
32240         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
32242         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
32243         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
32244         (__libc_vfork): Define the function under this name.
32245         [!NOT_IN_libc] (__vfork): Make this an alias.
32246         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
32248         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
32249         (__libc_vfork): Define the function under this name.
32250         [!NOT_IN_libc] (__vfork): Make this an alias.
32251         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
32252         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
32253         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
32254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
32255         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
32256         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32258         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
32259         code that was previously under [RESET_PID].
32260         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
32261         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
32262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
32264         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
32265         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
32266         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
32267         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
32268         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
32269         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
32270         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
32271         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
32272         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
32273         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
32274         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
32275         Moved ...
32276         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
32277         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
32278         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
32279         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
32280         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
32281         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
32282         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
32283         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
32284         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
32285         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
32286         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
32287         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
32288         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
32289         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
32290         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
32291         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
32292         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
32293         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
32294         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
32295         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
32296         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
32297         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
32298         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
32299         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
32300         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
32301         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
32302         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
32303         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
32304         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
32306 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32308         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
32309         that was previously under [RESET_PID].
32310         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
32312 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32314         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
32315         not undefine and redefine.
32316         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
32317         [O_CLOEXEC]: Make code unconditional.
32318         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
32319         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
32320         <kernel-features.h>.
32321         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
32322         conditional variable definition.
32323         (shm_open) [O_CLOEXEC]: Make code unconditional.
32324         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
32325         code.
32327         * configure.ac (USE_REGPARMS): Don't define here.
32328         * configure: Regenerated.
32329         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
32330         * sysdeps/i386/configure: Regenerated.
32332         * nptl/createthread.c: Don't include kernel-features.h.
32333         * nptl/pthread_cancel.c: Likewise.
32334         * nptl/pthread_condattr_setclock.c: Likewise.
32335         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
32336         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
32337         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
32338         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
32339         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
32340         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
32341         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32342         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
32343         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32344         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
32345         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
32346         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
32347         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
32348         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
32349         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
32350         * nscd/gai.c: Likewise.
32351         * nss/nss_db/db-open.c: Likewise.
32352         * sysdeps/generic/ldsodefs.h: Likewise.
32353         * sysdeps/sh/nptl/tls.h: Likewise.
32354         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32355         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
32356         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
32357         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
32358         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
32359         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32360         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
32361         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32362         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32363         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32364         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32365         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32366         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
32367         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
32368         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
32369         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
32370         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
32371         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
32372         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
32373         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
32374         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
32375         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
32376         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
32377         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
32378         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
32379         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
32380         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
32381         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
32382         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32383         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
32384         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
32385         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
32386         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
32387         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32388         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32389         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32390         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32391         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
32392         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
32393         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
32394         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32395         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
32396         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
32397         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32398         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
32399         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
32400         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
32401         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
32402         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
32403         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
32404         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
32405         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
32406         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
32407         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32408         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
32409         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32410         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32411         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
32412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
32413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
32415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
32416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
32418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
32419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
32420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
32421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
32422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
32423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
32425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
32427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
32433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
32434         * sysdeps/unix/sysv/linux/pread.c: Likewise.
32435         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
32436         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
32437         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
32438         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
32439         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
32440         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
32441         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
32442         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
32443         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
32444         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
32445         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
32446         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
32447         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
32448         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
32449         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
32450         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
32451         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
32452         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
32453         * sysdeps/unix/sysv/linux/system.c: Likewise.
32454         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
32455         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32456         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32457         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32458         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32459         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32460         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32462         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
32463         * configure: Regenerated.
32464         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
32466         * configure.ac (base_machine): Do not set specially for particular
32467         machines here.
32468         * configure: Regenerated.
32469         * sysdeps/powerpc/preconfigure: Move machine and base_machine
32470         settings from configure.ac.
32471         * sysdeps/i386/preconfigure: New file.
32472         * sysdeps/s390/preconfigure: Likewise.
32473         * sysdeps/sh/preconfigure: Likewise.
32474         * sysdeps/sparc/preconfigure: Likewise.
32476 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32478         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32479         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32480         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32481         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32482         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32483         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32484         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32485         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32486         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32487         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32488         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32489         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32490         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32491         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32492         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32493         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32494         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32495         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32496         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32498         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32499         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32500         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32501         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32502         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32503         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32504         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32505         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32506         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32507         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32508         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32509         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32510         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32511         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32512         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32513         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32514         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32515         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32516         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32517         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32518         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32519         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32520         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32521         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32522         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32523         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32524         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32525         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32526         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32527         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32528         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32529         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32530         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32531         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32532         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32533         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32534         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32535         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32538         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32540         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32542         Moved ...
32543         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32544         ... here.
32545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32546         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32548         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32550         Moved ...
32551         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32553         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32555         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32557         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32559         Moved ...
32560         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32562         Moved ...
32563         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32565         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32566         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32567         Moved ...
32568         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32569         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32570         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32571         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32572         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32574         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32576         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32578         Moved ...
32579         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32580         ... here.
32581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32582         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32584         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32586         Moved ...
32587         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32589         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32591         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32593         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32595         Moved ...
32596         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32598         Moved ...
32599         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32601         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32602         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32603         Moved ...
32604         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32608         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32610 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32612         * timezone/checktab.awk: Update from tzcode 2014e.
32613         * timezone/private.h: Likewise.
32614         * timezone/tzfile.h: Likewise.
32615         * timezone/zdump.c: Likewise.
32616         * timezone/zic.c: Likewise.
32618         * sysdeps/unix/sysv/linux/kernel-features.h
32619         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32620         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32621         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32622         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32623         Remove conditional code.
32625 2014-06-25  Will Newton  <will.newton@linaro.org>
32627         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32628         (_dl_arm_cap_flags): Add HWCAP2 values.
32629         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32630         (_DL_HWCAP_COUNT): Increase to 37.
32631         (_DL_HWCAP_LAST): New define.
32632         (_DL_HWCAP2_LAST): New define.
32633         (_dl_procinfo): Add support for printing
32634         AT_HWCAP2 entries.
32635         (_dl_string_hwcap): Use _dl_hwcap_string.
32637 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32641 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32643         * README: Do not mention ports directory.
32645         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32646         Remove macro.
32647         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32648         <kernel-features.h>.
32649         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32650         conditional variable definition.
32651         (__futimes): Update comment.
32652         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32653         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32655         [BZ #16560]
32656         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32657         arguments close to 0.
32658         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32659         Likewise.
32660         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32661         Likewise.
32662         * math/auto-libm-test-in: Add more tests of exp10.
32663         * math/auto-libm-test-out: Regenerated.
32664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32666         * sysdeps/unix/sysv/linux/kernel-features.h
32667         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32668         * sysdeps/unix/sysv/linux/readv.c: Do not include
32669         <kernel-features.h>.
32670         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32671         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32672         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32673         unconditional.
32674         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32675         conditional code.
32676         * sysdeps/unix/sysv/linux/writev.c: Do not include
32677         <kernel-features.h>.
32678         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32679         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32680         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32681         unconditional.
32682         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32683         conditional code.
32685 2014-06-25  Will Newton  <will.newton@linaro.org>
32687         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32688         comment changes throughout the file.  Remove checks
32689         for HAVE_*_H definitions that are not required.
32690         (__gen_tempname): Call abort if an unknown kind value is
32691         passed.
32693 2014-06-25  Andreas Schwab  <schwab@suse.de>
32695         [BZ #17086]
32696         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32697         scalbln, scalblnf, scalblnl in libc.
32699 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32701         [BZ #17086]
32702         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32703         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32704         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32706 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32708         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32709         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32710         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32711         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32712         Update #include.
32713         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32714         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32715         Update #include.
32716         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32717         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32718         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32719         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32720         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32721         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32722         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32723         * sysdeps/x86/bits/semaphore.h: ... here.
32724         * sysdeps/x86/nptl/elide.h: Moved ...
32725         * sysdeps/x86/elide.h: ... here.
32726         * sysdeps/x86_64/nptl/Implies: File removed.
32727         * sysdeps/i386/nptl/Implies: File removed.
32729 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32731         [BZ #16539]
32732         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32733         return the argument for normal arguments with exponent below -64.
32734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32735         Likewise.
32736         * math/auto-libm-test-in: Add another test of expm1.
32737         * math/auto-libm-test-out: Regenerated.
32739         [BZ #16287]
32740         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32741         calling __erfcl for arguments at least 16.
32742         * math/auto-libm-test-in: Add more tests of erf.
32743         * math/auto-libm-test-out: Regenerated.
32745         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32746         individual architectures.
32747         * sysdeps/unix/sysv/linux/configure: Regenerated.
32748         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32749         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32750         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32751         (ldd_rewrite_script): Define variable.
32752         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32754         file.
32755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32756         generated file.
32757         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32758         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32759         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32760         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32761         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32762         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32763         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32764         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32766 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32768         [BZ #17084]
32769         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32770         Rename member __data.d to __data.__elision_data.
32772 2014-06-24  Wilco  <wdijkstr@arm.com>
32774         * NEWS: Add 16918 to fixed bug list.
32776 2014-06-24  Wilco  <wdijkstr@arm.com>
32778         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32780 2014-06-24  Wilco  <wdijkstr@arm.com>
32782         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32783         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32784         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32785         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32786         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32787         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32788         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32789         Use _FPU_MASK_RM.
32791 2014-06-24  Wilco  <wdijkstr@arm.com>
32793         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32795 2014-06-24  Wilco  <wdijkstr@arm.com>
32797         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32798         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32799         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32800         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32802 2014-06-24  Wilco  <wdijkstr@arm.com>
32804         [BZ #16918]
32805         * sysdeps/arm/feupdateenv.c (feupdateenv):
32806         Rewrite to reduce FPSCR accesses and fix return value.
32808 2014-06-24  Wilco  <wdijkstr@arm.com>
32810         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32811         Optimize to avoid unnecessary FPSCR writes.
32812         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32813         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32814         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32815         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32817 2014-06-24  Wilco  <wdijkstr@arm.com>
32819         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32820         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32821         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32822         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32823         Call libc_fetestexcept_vfp.
32824         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32825         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32826         __SOFTFP__ ifdef so that they can be built for softfp.
32828 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32830         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32831         argument type signed char.
32833         * Makerules (check-abi): Dump diff of symlist if the test
32834         fails.
32836 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32838         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32839         using abort.
32841         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32842         Remove unused variable ST.
32844 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32846         [BZ #16354]
32847         [BZ #17061]
32848         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32849         small arguments before calling __expm1.
32850         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32851         small arguments before calling __expm1f.
32852         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32853         small arguments before calling __expm1l.
32854         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32855         Likewise.
32856         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32857         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32858         spurious underflow for some cosh tests.
32859         * math/auto-libm-test-out: Regenerated.
32860         * sysdeps/i386/fpu/libm-test-ulps: Update.
32862         [BZ #17050]
32863         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32864         (__ieee754_y1): Set errno if return value overflows.
32865         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32866         (__ieee754_y1f): Set errno if return value overflows.
32867         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32868         (__ieee754_y1l): Set errno if return value overflows.
32869         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32870         (__ieee754_y1l): Set errno if return value overflows.
32871         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32872         * math/auto-libm-test-out: Regenerated.
32874         * math/gen-auto-libm-tests.c: Document use of
32875         ignore-zero-inf-sign.
32876         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32877         (input_flags): Add ignore-zero-inf-sign.
32878         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32879         * math/gen-libm-test.pl (generate_testfile): Handle
32880         ignore-zero-inf-sign.
32881         * math/auto-libm-test-in: Mark some cpow tests with
32882         ignore-zero-inf-sign and some with xfail-rounding.
32883         * math/auto-libm-test-out: Regenerated.
32884         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32885         * sysdeps/i386/fpu/libm-test-ulps: Update.
32886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888         [BZ #16315]
32889         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32890         overflowing or underflowing operations take place with sign of
32891         result.
32892         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32893         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32894         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32895         (__ieee754_pow): Recompute overflowing and underflowing results in
32896         original rounding mode.
32897         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32898         (__powl_helper): Allow negative argument X and scale negated value
32899         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32900         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32901         overflowing or underflowing operations take place with sign of
32902         result.
32903         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32904         Include <math.h>.
32905         * math/auto-libm-test-in: Add more tests of pow.
32906         * math/auto-libm-test-out: Regenerated.
32907         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32908         (pow_tonearest_test_data): Remove.
32909         (pow_test_tonearest): Likewise.
32910         (pow_towardzero_test_data): Likewise.
32911         (pow_test_towardzero): Likewise.
32912         (pow_downward_test_data): Likewise.
32913         (pow_test_downward): Likewise.
32914         (pow_upward_test_data): Likewise.
32915         (pow_test_upward): Likewise.
32916         (main): Don't call removed functions.
32917         * sysdeps/i386/fpu/libm-test-ulps: Update.
32918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32920 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32923         Moved ...
32924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32926         Moved ...
32927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32929         Moved ...
32930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32932         Moved ...
32933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32935         File removed.
32936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32937         File removed.
32938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32939         File removed.
32940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32941         File removed.
32942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32943         File removed.
32944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32945         File removed.
32946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32947         File removed.
32948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32949         File removed.
32950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32951         File removed.
32952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32953         File removed.
32954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32955         File removed.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32957         File removed.
32958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32959         Moved ...
32960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32962         Moved ...
32963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32964         ... here.
32965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32966         Moved ...
32967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32969         Moved ...
32970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32972         Moved ...
32973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32975         Moved ...
32976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32978         Moved ...
32979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32981         Moved ...
32982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32984         Moved ...
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32988         ... here.
32989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32990         Moved ...
32991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32993         Moved ...
32994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32995         ... here.
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32997         Moved ...
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32999         ... here.
33000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33001         Moved ...
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33003         ... here.
33004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
33005         Moved ...
33006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33008         Moved ...
33009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
33010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
33012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33013         Moved ...
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
33015         ... here.
33016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33017         Moved ...
33018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
33019         ... here.
33020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33021         Moved ...
33022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33024         Moved ...
33025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
33026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33027         Moved ...
33028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
33029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33030         Moved ...
33031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33033         Moved ...
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
33035         ... here.
33036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33037         Moved ...
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33040         Moved ...
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
33042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33043         Moved ...
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
33045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33046         Moved ...
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
33048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
33049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33051         Moved ...
33052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33054         Moved ...
33055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33057         Moved ...
33058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
33059         ... here.
33060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33061         Moved ...
33062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
33063         ... here.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33065         Moved ...
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
33067         ... here.
33068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33069         Moved ...
33070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
33071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33072         Moved ...
33073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33075         Moved ...
33076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33078         Moved ...
33079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
33080         ... here.
33081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33082         Moved ...
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
33084         ... here.
33085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33086         Moved ...
33087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
33088         ... here.
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33090         Moved ...
33091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
33093         Moved ...
33094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
33096 2014-06-23  Will Newton  <will.newton@linaro.org>
33097             Wilco  <wdijkstr@arm.com>
33099         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
33100         implementation.  Include get-rounding-mode.h.
33101         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
33102         [!libc_feholdsetround_noex_ctx]: Define
33103         libc_feholdsetround_noex_ctx.
33104         [!libc_feholdsetround_noexf_ctx]: Define
33105         libc_feholdsetround_noexf_ctx.
33106         [!libc_feholdsetround_noexl_ctx]: Define
33107         libc_feholdsetround_noexl_ctx.
33108         (libc_feholdsetround_ctx): New function.
33109         (libc_feresetround_ctx): New function.
33110         (libc_feholdsetround_noex_ctx): New function.
33111         (libc_feresetround_noex_ctx): New function.
33113 2014-06-23  Roland McGrath  <roland@hack.frob.com>
33115         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
33116         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
33117         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
33118         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
33119         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
33120         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
33122         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
33123         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
33124         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
33125         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
33126         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
33127         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
33128         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
33129         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
33130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
33131         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
33132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
33133         Moved ...
33134         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
33135         ... here.
33136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
33137         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
33138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
33139         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
33140         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
33141         Moved ...
33142         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
33143         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
33144         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
33145         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
33146         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
33147         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
33148         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
33149         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
33150         Moved ...
33151         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
33152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
33153         Moved ...
33154         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
33155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
33156         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
33157         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
33158         Moved ...
33159         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
33160         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
33161         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
33162         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
33163         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
33164         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
33165         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
33166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
33167         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
33168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
33169         Moved ...
33170         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
33171         ... here.
33172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
33173         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
33174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
33175         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
33176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
33177         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
33178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
33179         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
33180         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
33181         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
33182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
33183         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
33184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
33185         Moved ...
33186         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
33187         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
33188         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
33189         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
33190         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
33191         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
33192         Moved ...
33193         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
33194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
33195         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
33196         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
33197         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
33199         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
33200         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
33201         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
33202         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
33203         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
33204         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
33205         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
33206         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
33207         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
33208         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
33209         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
33210         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
33211         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
33212         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
33213         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
33214         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
33215         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
33216         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
33217         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
33218         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
33219         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
33220         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
33221         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
33222         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
33223         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
33224         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
33225         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
33226         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
33228 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
33231         (FALLOC_FL_COLLAPSE_RANGE): New macro.
33232         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
33233         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
33234         (IPV6_PMTUDISC_INTERFACE): Likewise.
33235         (IPV6_PMTUDISC_OMIT): Likewise.
33237 2014-06-23  Andreas Schwab  <schwab@suse.de>
33239         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
33240         Remove unused errout label.
33242 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33244         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
33245         macro: hardware supports Vector Crypto instructions.
33247 2014-06-23  Will Newton  <will.newton@linaro.org>
33249         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
33250         rather than __builtin_expect.
33252         * elf/dl-lookup.c (undefined_msg): Remove variable.
33253         (_dl_lookup_symbol_x): Replace undefined_msg with string
33254         literal.
33256         * elf/dl-lookup.c (do_lookup_unique): New function.
33257         (do_lookup_x): Move STB_GNU_UNIQUE handling code
33258         to a separate function.
33260 2014-06-23  Andreas Schwab  <schwab@suse.de>
33262         [BZ #17079]
33263         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
33264         before reading the next line.
33266 2014-06-23  Will Newton  <will.newton@linaro.org>
33268         * test-skeleton.c (signal_handler): Use printf and %m
33269         rather than perror.  Use printf rather than fprintf to
33270         stderr.  Use puts rather than fputs to stderr.
33271         (main): Likewise.
33273 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
33275         * nscd/nscd.c (thread_info_t): Remove typedef.
33276         (thread_info): Remove variable.
33278 2014-06-21  Allan McRae  <allan@archlinux.org>
33280         * NEWS: Mention CVE-2014-4043.
33282 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33284         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
33285         * nptl/smp.h: ... here.
33287         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
33289         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
33290         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
33291         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
33292         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
33294         * nptl/allocatestack.c: Include <stack-aliasing.h>.
33295         * nptl/stack-aliasing.h: New file.
33296         * sysdeps/i386/i686/stack-aliasing.h: New file.
33297         * sysdeps/i386/i686/nptl/Makefile: File removed.
33298         * sysdeps/x86_64/stack-aliasing.h: New file.
33299         * sysdeps/x86_64/nptl/Makefile
33300         (CFLAGS-pthread_create.c): Variable removed.
33302         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
33303         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
33304         old file.
33305         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
33306         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
33307         old file.
33309 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
33311         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33312         (__ASSUME_SIGFRAME_V2): Remove macro.
33313         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
33314         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
33315         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
33316         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
33317         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
33318         Declare as function.  Remove conditional macro definitions.
33319         (__default_rt_sa_restorer): Likewise.
33320         (__default_sa_restorer_v1): Remove declaration.
33321         (__default_sa_restorer_v2): Likewise.
33322         (__default_rt_sa_restorer_v1): Likewise.
33323         (__default_rt_sa_restorer_v2): Likewise.
33324         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
33325         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
33326         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
33328 2014-06-20  Roland McGrath  <roland@hack.frob.com>
33330         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
33331         (libpthread-routines): Add sysdep.
33332         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
33333         * sysdeps/unix/sysv/linux/sparc/Versions
33334         (libpthread: GLIBC_2.3.3): New version set.
33335         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
33336         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
33337         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
33338         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
33339         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
33340         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
33341         Moved ...
33342         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
33343         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
33344         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
33345         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
33346         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
33347         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
33348         * sysdeps/sparc/nptl/sem_init.c: ... here.
33349         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
33350         * sysdeps/sparc/nptl/sem_post.c: ... here.
33351         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
33352         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
33353         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
33354         * sysdeps/sparc/nptl/sem_wait.c: ... here.
33355         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
33356         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
33357         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
33358         (libpthread-routines): Add cpu_relax.
33359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
33360         File removed.
33361         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
33362         (librt: GLIBC_2.3.3): New version set.
33363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
33364         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
33365         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
33366         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
33367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
33368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
33369         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
33370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
33371         Moved ...
33372         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
33373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
33374         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
33375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
33376         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
33377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
33378         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
33379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
33380         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
33381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
33382         Moved ...
33383         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
33384         Update #include.
33385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
33386         Moved ...
33387         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
33388         Update #include.
33389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
33390         Moved ...
33391         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
33392         Update #include.
33393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
33394         Moved ...
33395         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
33396         Update #include.
33397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
33398         Moved ...
33399         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
33400         Update #include.
33401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
33402         Moved ...
33403         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
33404         Update #include.
33405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
33406         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
33407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
33408         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
33409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
33410         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
33411         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
33412         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
33413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
33414         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
33415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
33416         Moved ...
33417         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
33419         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
33421         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
33423 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33425         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
33426         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
33427         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
33428         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
33429         * nscd/nscd.c: Likewise.
33430         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
33431         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
33432         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
33433         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
33435         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
33436         <kernel-features.h>.
33437         (init_mq_netlink): Remove conditional have_sock_cloexec
33438         definitions.  Remove code conditional on have_sock_cloexec < 0.
33439         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
33440         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
33441         * sysdeps/unix/sysv/linux/opensock.c: Do not include
33442         <kernel-features.h>.
33443         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
33444         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
33446 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33449         Add tests for memset_chk and memset.
33451         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
33452         with AVX2_Usable.
33454 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33456         [BZ #16046]
33457         * elf/tst-dl-iter-static.c: New file.
33458         * elf/Makefile (tests-static): Add tst-dl-iter-static.
33460         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
33461         error.
33463 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33465         * sysdeps/unix/sysv/linux/kernel-features.h
33466         (__ASSUME_F_GETOWN_EX): Remove macro.
33467         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
33468         <kernel-features.h>.
33469         (miss_F_GETOWN_EX): Remove variable or macro.
33470         (do_fcntl): Do not check miss_F_GETOWN_EX.
33471         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
33473         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33474         Remove macro.
33475         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33476         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33477         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33479         * sysdeps/unix/sysv/linux/kernel-features.h
33480         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33481         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33482         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33483         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33485 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33487         [BZ #17075]
33488         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33489         Fix calculation of the symbol's value.
33490         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33491         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33492         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33493         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33494         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33495         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33496         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33497         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33498         (modules-names): Add `tst-armtlsdescmod',
33499         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33500         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33501         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33502         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33503         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33504         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33505         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33506         ($(objpfx)tst-armtlsdescloc): New dependency.
33507         ($(objpfx)tst-armtlsdescextnow): Likewise.
33508         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33509         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33510         TLS scheme support.
33511         * sysdeps/arm/configure: Regenerate.
33513 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33515         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33516         (__atfct_seterrno_2): Likewise.
33517         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33518         <kernel-features.h>.
33519         (__ASSUME_ATFCTS): Do not undefine and redefine.
33520         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33521         (__have_atfcts): Remove conditional definition.
33522         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33523         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33524         unreachable if [__ASSUME_ATFCTS].
33525         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33526         not undefine and redefine.
33527         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33528         <kernel-features.h>.
33529         (faccessat) [__NR_faccessat]: Make code unconditional.
33530         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33531         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33532         <kernel-features.h>.
33533         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33534         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33535         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33536         <kernel-features.h>.
33537         (fchownat) [__NR_fchownat]: Make code unconditional.
33538         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33539         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33540         <kernel-features.h>.
33541         (futimesat) [__NR_futimesat]: Make code unconditional.
33542         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33543         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33544         <kernel-features.h>.
33545         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33546         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33547         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33548         <kernel-features.h>.
33549         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33550         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33551         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33552         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33553         <kernel-features.h>.
33554         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33555         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33556         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33557         <kernel-features.h>.
33558         (linkat) [__NR_linkat]: Make code unconditional.
33559         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33560         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33561         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33562         <kernel-features.h>.
33563         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33564         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33565         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33566         <kernel-features.h>.
33567         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33568         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33569         * sysdeps/unix/sysv/linux/openat.c: Do not include
33570         <kernel-features.h>.
33571         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33572         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33573         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33574         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33575         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33576         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33577         <kernel-features.h>.
33578         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33579         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33580         result of INLINE_SYSCALL directly, not via int variable.
33581         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33582         <kernel-features.h>.
33583         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33584         (renameat) [__NR_renameat]: Make code unconditional.
33585         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33586         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33587         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33588         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33589         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33590         (__ASSUME_ATFCTS): Do not undefine and redefine.
33591         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33592         <kernel-features.h>.
33593         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33594         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33595         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33596         <kernel-features.h>.
33597         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33598         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33599         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33600         (__ASSUME_ATFCTS): Do not undefine and redefine.
33601         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33602         <kernel-features.h>.
33603         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33604         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33605         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33606         <kernel-features.h>.
33607         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33608         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33610 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33612         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33614 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33616         [BZ #17069]
33617         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33618         constructed tree before returning error.
33619         * posix/bug-regexp36.c: Expand test case.
33621 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33623         [BZ #6803]
33624         * math/libm-test.inc (scalbln_test_date):
33625         Add errno expectations.
33626         * math/w_scalblnf.c: New File.
33627         Add wrapper which checks for setting errno to ERANGE.
33628         Add weak_alias for corresponding scalbln function.
33629         * math/w_scalbln.c: Likewise.
33630         * math/w_scalblnl.c: Likewise.
33631         * math/Makefile (libm-calls): Add w_scalbln.
33632         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33633         Remove weak_alias for corresponding scalbln function.
33634         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33635         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33636         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33637         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33638         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33639         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33640         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33641         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33642         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33643         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33644         Remove long_double_symbol for scalblnl function in libm, libc.
33645         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33646         Add wrapper which checks for setting errno to ERANGE.
33647         Add long_double_symbol for scalblnl function in libm, libc.
33648         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33649         Remove long_double_symbol for scalblnl in libm.
33650         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33651         Add wrapper which checks for setting errno to ERANGE.
33652         Add long_double_symbol for scalblnl function in libm.
33653         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33654         Do not use wrapper because of own implementation.
33656 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33658         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33659         3 bytes for __pad1 for x32.
33660         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33662 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33663             H.J. Lu  <hongjiu.lu@intel.com>
33665         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33666         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33667         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33668         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33669         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33671 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33673         [BZ #17069]
33674         * posix/regcomp.c (parse_expression): Deallocate partially
33675         constructed tree before returning error.
33676         * posix/Makefile.c (tests): Add bug-regex36.
33677         (generated): Add bug-regex36.mtrace.
33678         (tests-special): Add $(objpfx)bug-regex36-mem.out
33679         (bug-regex36-ENV): New variable.
33680         ($(objpfx)bug-regex36-mem.out): New rule.
33681         * posix/bug-regex36.c: New file.
33683 2014-06-19  Will Newton  <will.newton@linaro.org>
33685         * malloc/malloc.c (systrim): If extra is zero then return
33686         early.
33688 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33690         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33692 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33694         * sysdeps/aarch64/strchr.S: New file.
33696 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33698         [BZ #17022]
33699         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33700         from arguments -2 or below.
33701         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33702         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33704 2014-06-18  Andreas Schwab  <schwab@suse.de>
33706         [BZ #17062]
33707         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33708         of a bracket expr not to run off the end of the string.
33709         * posix/Makefile (tests): Add tst-fnmatch3.
33710         * posix/tst-fnmatch3.c: New file.
33712 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33714         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33715         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33716         [$(cross-compiling) = no]: Likewise.
33717         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33718         [$(cross-compiling) = no]: Likewise.
33720 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33722         [BZ #17031]
33723         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33724         double, adjusted for any remainder from the high double.
33725         * math/libm-test.inc (nearbyint): Add tests.
33726         (rint): Likewise.
33728 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33730         * nptl/sysdeps/powerpc/Makefile: Moved ...
33731         * sysdeps/powerpc/nptl/Makefile: ... here.
33732         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33733         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33734         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33735         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33736         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33737         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33738         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33739         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33740         * nptl/sysdeps/powerpc/tls.h: Moved ...
33741         * sysdeps/powerpc/nptl/tls.h: ... here.
33743 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33745         [BZ #16681]
33746         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33747         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33748         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33749         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33750         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33751         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33752         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33753         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33754         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33756 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33758         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33760 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33762         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33763         defined operator.
33765         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33766         $TIMEOUTFACTOR.
33768 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33770         [BZ #17058]
33771         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33772         non-executed part of the test.
33774 2014-06-16  Andreas Schwab  <schwab@suse.de>
33776         * string/bits/string2.h (strdup, strndup): Update feature guard.
33778 2014-06-14  David S. Miller  <davem@davemloft.net>
33780         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33782 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33784         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33785         that was previously under [RESET_PID].
33786         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33788         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33789         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33790         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33791         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33792         (__libc_vfork): New strong alias.
33793         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33795 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33797         * sysdeps/generic/elide.h: New file.
33799 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33801         * Makefile (installed-headers): Adjust path of pthread.h header.
33803 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33805         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33806         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33807         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33808         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33810         * nptl/sysdeps/s390/Makefile: Moved ...
33811         * sysdeps/s390/nptl/Makefile: ... here.
33812         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33813         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33814         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33815         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33816         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33817         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33818         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33819         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33820         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33821         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33822         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33823         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33824         * nptl/sysdeps/s390/tls.h: Moved ...
33825         * sysdeps/s390/nptl/tls.h: ... here.
33827         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33828         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33830 2014-06-13  David S. Miller  <davem@davemloft.net>
33832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33835         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33839         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33840         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33841         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33842         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33843         Remove RESET_PID cpp guards.
33844         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33845         Remove RESET_PID cpp guards.
33846         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33848 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33850         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33851         __sp to uintptr_t.
33853 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33855         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33857         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33858         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33859         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33860         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33861         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33862         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33863         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33864         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33865         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33866         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33868         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33869         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33870         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33871         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33873         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33874         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33876         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33877         (pthread_rwlock_rdlock): Add elision.
33878         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33879         (pthread_rwlock_wrlock): Add elision.
33880         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33881         (pthread_rwlock_trywrlock): Add elision.
33882         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33883         (pthread_rwlock_tryrdlock): Add elision.
33884         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33885         (pthread_rwlock_tryrdlock): Add elision unlock.
33886         * nptl/sysdeps/pthread/pthread.h:
33887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33888         (PTHREAD_RWLOCK_INITIALIZER,
33889         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33890         Handle new elision field.
33891         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33892         * sysdeps/arm/nptl/bits/pthreadtypes.h
33893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33894         * sysdeps/sh/nptl/bits/pthreadtypes.h
33895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33896         * sysdeps/tile/nptl/bits/pthreadtypes.h
33897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33898         * sysdeps/a/nptl/bits/pthreadtypes.h
33899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33900         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33902         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33904         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33905         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33906         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33908         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33910         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33912         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33914         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33916         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33917         (elision_init): Set try_xbegin to zero when no RTM.
33918         * sysdeps/x86/nptl/bits/pthreadtypes.h
33919         (pthread_rwlock_t): Change __pad1 to __rwelision.
33920         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33922 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33924         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33925         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33926         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33927         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33929 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33931         [BZ #16996]
33932         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33933         that the cached result has been set before returning it.
33935 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33937         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33938         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33939         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33940         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33941         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33942         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33944         * nptl/sysdeps/sparc/Makefile: Moved ...
33945         * sysdeps/sparc/nptl/Makefile: ... here.
33946         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33947         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33948         * nptl/sysdeps/sparc/tls.h: Moved ...
33949         * sysdeps/sparc/nptl/tls.h: ... here.
33950         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33951         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33952         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33953         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33954         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33955         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33956         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33957         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33958         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33959         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33960         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33961         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33962         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33963         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33964         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33965         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33966         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33967         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33968         Update #include.
33969         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33970         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33971         Update #include.
33972         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33973         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33974         Update #include.
33975         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33976         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33977         Update #include.
33979         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33981         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33982         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33984         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33985         (struct list_links): Type removed.
33986         (struct thread_node, struct timer_node): Replace struct list_links
33987         with struct list_head.
33988         (list_unlink_ip): Likewise.
33989         * sysdeps/pthread/timer_routines.c
33990         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33991         (list_append, list_insbefore): Likewise.
33992         (list_init): Function removed.
33993         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33994         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33995         * sysdeps/pthread/Makefile: ... here, new file.
33997         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33998         * sysdeps/nptl/Implies: ... here.
33999         * sysdeps/unix/sysv/linux/Implies: Add nptl.
34000         * nptl/sysdeps/pthread/list.h: Moved ...
34001         * include/list.h: ... here.
34002         * nptl/sysdeps/pthread/createthread.c: Moved ...
34003         * nptl/createthread.c: ... here.
34004         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
34005         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
34006         * nptl/pt-longjmp.c: ... here.
34007         * nptl/sysdeps/pthread/Makefile: Moved ...
34008         * sysdeps/nptl/Makefile: ... here.
34009         * nptl/sysdeps/pthread/Subdirs: Moved ...
34010         * sysdeps/nptl/Subdirs: ... here.
34011         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
34012         * sysdeps/nptl/aio_misc.h: ... here.
34013         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
34014         * sysdeps/nptl/bits/libc-lock.h: ... here.
34015         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
34016         * sysdeps/nptl/bits/libc-lockP.h: ... here.
34017         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
34018         * sysdeps/nptl/bits/stdio-lock.h: ... here.
34019         * nptl/sysdeps/pthread/configure: Moved ...
34020         * sysdeps/nptl/configure: ... here.
34021         * nptl/sysdeps/pthread/configure.ac: Moved ...
34022         * sysdeps/nptl/configure.ac: ... here.
34023         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
34024         * sysdeps/nptl/gai_misc.h: ... here.
34025         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
34026         * sysdeps/nptl/librt-cancellation.c: ... here.
34027         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
34028         * sysdeps/nptl/malloc-machine.h: ... here.
34029         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
34030         * sysdeps/nptl/pthread-functions.h: ... here.
34031         * nptl/sysdeps/pthread/pthread.h: Moved ...
34032         * sysdeps/nptl/pthread.h: ... here.
34033         * nptl/sysdeps/pthread/setxid.h: Moved ...
34034         * sysdeps/nptl/setxid.h: ... here.
34035         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
34036         * sysdeps/nptl/sigfillset.c: ... here.
34037         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
34038         * sysdeps/nptl/tcb-offsets.h: ... here.
34039         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
34040         * sysdeps/nptl/tst-mqueue8x.c: ... here.
34041         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
34042         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
34043         * nptl/sysdeps/pthread/allocalim.h: Moved ...
34044         * sysdeps/pthread/allocalim.h: ... here.
34045         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
34046         * sysdeps/pthread/bits/sigthread.h: ... here.
34047         * nptl/sysdeps/pthread/flockfile.c: Moved ...
34048         * sysdeps/pthread/flockfile.c: ... here.
34049         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
34050         * sysdeps/pthread/ftrylockfile.c: ... here.
34051         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
34052         * sysdeps/pthread/funlockfile.c: ... here.
34053         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
34054         * sysdeps/pthread/posix-timer.h: ... here.
34055         * nptl/sysdeps/pthread/timer_create.c: Moved ...
34056         * sysdeps/pthread/timer_create.c: ... here.
34057         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
34058         * sysdeps/pthread/timer_delete.c: ... here.
34059         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
34060         * sysdeps/pthread/timer_getoverr.c: ... here.
34061         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
34062         * sysdeps/pthread/timer_gettime.c: ... here.
34063         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
34064         * sysdeps/pthread/timer_routines.c: ... here.
34065         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
34066         * sysdeps/pthread/timer_settime.c: ... here.
34067         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
34068         * sysdeps/pthread/tst-timer.c: ... here.
34069         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
34070         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
34072         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
34073         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
34075         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
34076         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
34077         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
34078         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
34079         Update #include target.
34080         * nptl/sysdeps/i386/i686/Makefile: Moved ...
34081         * sysdeps/i386/i686/nptl/Makefile: ... here.
34082         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
34083         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
34084         Update #include target.
34085         * nptl/sysdeps/i386/i686/tls.h: Moved ...
34086         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
34087         * nptl/sysdeps/i386/Makefile: Moved ...
34088         * sysdeps/i386/nptl/Makefile: ... here.
34089         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
34090         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
34091         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
34092         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
34093         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
34094         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
34095         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
34096         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
34097         * sysdeps/i386/nptl/pthreaddef.h: ... here.
34098         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
34099         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
34100         * nptl/sysdeps/i386/tls.h: Moved ...
34101         * sysdeps/i386/nptl/tls.h: ... here.
34103         * sysdeps/sh/Makefile [$(subdir) = csu]
34104         (gen-as-const-headers): Add tcb-offsets.sym.
34105         * nptl/sysdeps/sh/Makefile: File removed.
34106         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
34107         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
34108         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
34109         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
34110         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
34111         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
34112         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
34113         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
34114         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
34115         * sysdeps/sh/nptl/pthreaddef.h: ... here.
34116         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
34117         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
34118         * nptl/sysdeps/sh/tls.h: Moved ...
34119         * sysdeps/sh/nptl/tls.h: ... here.
34120         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
34121         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
34122         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
34123         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
34124         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
34125         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
34126         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
34127         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
34128         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
34129         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
34130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
34131         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
34132         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
34133         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
34134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
34135         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
34136         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
34137         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
34138         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
34139         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
34140         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
34141         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
34142         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
34143         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
34144         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
34145         Moved ...
34146         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
34147         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
34148         Moved ...
34149         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
34150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
34151         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
34152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
34153         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
34154         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
34155         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
34156         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
34157         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
34158         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
34159         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
34160         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
34161         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
34162         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
34163         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
34164         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
34165         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
34166         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
34167         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
34169 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
34171         * posix/spawn_faction_addopen.c: Include string.h.
34173 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34175         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
34176         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
34177         * nptl/sysdeps/x86_64/Makefile: Moved ...
34178         * sysdeps/x86_64/nptl/Makefile: ... here.
34179         * nptl/sysdeps/x86_64/configure: Moved ...
34180         * sysdeps/x86_64/nptl/configure: ... here.
34181         * nptl/sysdeps/x86_64/configure.ac: Moved ...
34182         * sysdeps/x86_64/nptl/configure.ac: ... here.
34183         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
34184         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
34185         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
34186         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
34187         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
34188         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
34189         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
34190         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
34191         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
34192         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
34193         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
34194         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
34195         * nptl/sysdeps/x86_64/tls.h: Moved ...
34196         * sysdeps/x86_64/nptl/tls.h: ... here.
34197         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
34198         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
34199         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
34200         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
34202         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
34204 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34208 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
34210         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
34211         type.
34212         [POSIX] (off_t): Likewise.
34213         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
34214         [POSIX] (S_ISBLK): Require macro.
34215         [POSIX] (S_ISCHR): Likewise.
34216         [POSIX] (S_ISDIR): Likewise.
34217         [POSIX] (S_ISFIFO): Likewise.
34218         [POSIX] (S_ISREG): Likewise.
34219         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
34220         optional-macro.
34221         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
34222         type.
34223         [POSIX] (time_t): Likewise.
34224         [POSIX] (timer_t): Likewise.
34226 2014-06-11  Florian Weimer  <fweimer@redhat.com>
34228         [BZ #17048]
34229         * posix/spawn_int.h (struct __spawn_action): Make the path string
34230         non-const to support deallocation.
34231         * posix/spawn_faction_addopen.c
34232         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
34233         * posix/spawn_faction_destroy.c
34234         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
34235         path in all spawn_do_open actions.
34236         * posix/tst-spawn.c (do_test): Exercise the copy operation in
34237         posix_spawn_file_actions_addopen.
34239 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
34241         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
34242         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
34243         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
34244         conditional code always true.
34245         (__libc_vfork): New alias.
34247 2014-06-11  Roland McGrath  <roland@hack.frob.com>
34249         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34250         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
34252         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
34254         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34255         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
34257         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
34258         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
34260         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34261         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
34263 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34265         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
34266         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
34267         multiarch strcmp for PPC64.
34268         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
34269         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
34270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
34271         multiarch optimizations.
34272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34273         (__libc_ifunc_impl_list): Likewise.
34275 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34277         * benchtests/scripts/validate_benchout.py: New script.
34278         * benchtests/Makefile (bench-func): Call it.
34279         * benchtests/scripts/benchout.schema.json: New file.
34281 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
34283         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
34284         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
34285         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
34286         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
34287         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
34288         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
34289         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
34290         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
34291         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
34292         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
34293         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
34294         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
34295         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
34296         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
34297         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
34298         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
34299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
34300         Moved ...
34301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
34302         ... here.
34303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
34304         Moved ...
34305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
34306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
34307         Moved ...
34308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
34309         ... here.
34310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
34311         Moved ...
34312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
34313         ... here.
34314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
34315         Moved ...
34316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
34318         Moved ...
34319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
34320         ... here.
34321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
34322         Moved ...
34323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
34324         ... here.
34325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
34326         Moved ...
34327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
34329         Moved ...
34330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
34331         ... here.
34332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
34333         Moved ...
34334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
34335         ... here.
34336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
34337         Moved ...
34338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
34339         ... here.
34340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
34341         Moved ...
34342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
34344         Moved ...
34345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
34346         ... here.
34347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
34348         Moved ...
34349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
34350         ... here.
34351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
34352         Moved ...
34353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
34354         ... here.
34355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
34356         Moved ...
34357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
34359         Moved ...
34360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
34361         ... here.
34362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
34363         Moved ...
34364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
34365         ... here.
34366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
34367         Moved ...
34368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
34369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
34370         Moved ...
34371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
34372         ... here.
34373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
34374         Moved ...
34375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
34376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
34377         Moved ...
34378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
34380         Moved ...
34381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
34382         ... here.
34383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
34384         Moved ...
34385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
34386         ... here.
34387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
34388         Moved ...
34389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
34390         ... here.
34391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
34392         Moved ...
34393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
34394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
34395         Moved ...
34396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
34397         ... here.
34398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
34399         Moved ...
34400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
34401         ... here.
34402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
34403         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
34404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
34405         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
34406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
34407         Moved ...
34408         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
34409         ... here.
34410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
34411         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
34412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
34413         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
34414         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
34415         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
34416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
34417         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
34418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
34419         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
34420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
34421         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
34422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
34423         Moved ...
34424         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
34425         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
34426         Moved ...
34427         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
34428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
34429         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
34430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
34431         Moved ...
34432         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
34433         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
34434         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
34435         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
34436         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
34437         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
34438         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
34440 2014-06-10  Wilco  <wdijkstr@arm.com>
34442         * math/test-fenv-return.c: New file.
34443         * math/Makefile: Add new test test-fenv-return.
34445 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
34447         [BZ #17042]
34448         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
34449         when x - 1 is zero.
34450         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
34451         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
34452         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
34453         0.0L for an argument of 1.0L.
34454         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
34455         Likewise.
34456         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
34457         value when x - 1 is zero.
34458         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
34459         * sysdeps/i386/fpu/libm-test-ulps: Update.
34460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34462 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
34464         [BZ #15119]
34465         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
34467 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34469         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
34470         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
34472 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34474         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34475         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34477         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34478         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34480         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34481         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34483         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34484         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34486         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34487         if not already defined.
34488         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34489         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34490         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34491         (TLS_INIT_TP): Use it.
34492         (TLS_DEFINE_INIT_TP): New macro.
34493         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34495 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34497         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34498         constant.
34499         [POSIX] (IXANY): Likewise.
34500         [POSIX] (OLCUC): Likewise.
34501         [POSIX || POSIX2008] (CBAUD): Do not allow.
34502         [POSIX || POSIX2008] (DEFECHO): Likewise.
34503         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34504         [POSIX || POSIX2008] (ECHOKE): Likewise.
34505         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34506         [POSIX || POSIX2008] (EXTA): Likewise.
34507         [POSIX || POSIX2008] (EXTB): Likewise.
34508         [POSIX || POSIX2008] (FLUSHO): Likewise.
34509         [POSIX || POSIX2008] (LOBLK): Likewise.
34510         [POSIX || POSIX2008] (PENDIN): Likewise.
34511         [POSIX || POSIX2008] (SWTCH): Likewise.
34512         [POSIX || POSIX2008] (VDISCARD): Likewise.
34513         [POSIX || POSIX2008] (VDSUSP): Likewise.
34514         [POSIX || POSIX2008] (VLNEXT): Likewise.
34515         [POSIX || POSIX2008] (VREPRINT): Likewise.
34516         [POSIX || POSIX2008] (VSTATUS): Likewise.
34517         [POSIX || POSIX2008] (VWERASE): Likewise.
34518         (B*): Change to B[0123456789]*.
34519         * conform/data/time.h-data [POSIX || UNIX98]
34520         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34521         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34522         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34523         [POSIX] (tm_*): Do not allow.
34525 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34527         * Makefile (install): Don't set LANGUAGE.
34528         * Makefile.in (install): Likewise.
34529         * assert/Makefile (test-assert-ENV): Remove variable.
34530         (test-assert-perr-ENV): Likewise.
34531         * elf/Makefile (neededtest4-ENV): Likewise.
34532         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34533         [$(cross-compiling) = no]: Don't set LANGUAGE.
34534         * io/ftwtest-sh (LANG): Remove variable.
34535         * libio/Makefile (tst-widetext-ENV): Likewise.
34536         * manual/install.texi (Running make install): Don't refer to
34537         environment settings for make install.
34538         * INSTALL: Regenerated.
34539         * nptl/tst-tls6.sh: Don't set LANG.
34540         * posix/globtest.sh (LANG): Remove variable.
34541         * string/Makefile (tester-ENV): Likewise.
34542         (inl-tester-ENV): Likewise.
34543         (noinl-tester-ENV): Likewise.
34544         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34545         [$(cross-compiling) = no]: Don't set LANGUAGE.
34546         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34547         without explicit environment settings.
34549 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34551         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34552         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34553         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34554         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34556 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34558         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34559         other files in the crypt directory.
34560         * crypt/crypt.c: Remove duplicate includes.
34561         * crypt/crypt-entry.c: Likewise.
34562         * crypt/crypt_util.c: Likewise.
34564 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34566         * Makeconfig (run-program-env): New variable.
34567         (run-program-prefix-before-env): Likewise.
34568         (run-program-prefix-after-env): Likewise.
34569         (run-program-prefix): Define in terms of new variables.
34570         (built-program-cmd-before-env): New variable.
34571         (built-program-cmd-after-env): Likewise.
34572         (built-program-cmd): Define in terms of new variables.
34573         (test-program-prefix-before-env): New variable.
34574         (test-program-prefix-after-env): Likewise.
34575         (test-program-prefix): Define in terms of new variables.
34576         (test-program-cmd-before-env): New variable.
34577         (test-program-cmd-after-env): Likewise.
34578         (test-program-cmd): Define in terms of new variables.
34579         * Rules (make-test-out): Use $(run-program-env).
34580         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34581         (help): Do not mention environment variables.  Mention
34582         --timeoutfactor option.
34583         (timeoutfactor): New variable.
34584         (blacklist_exports): Remove function.
34585         (exports): Remove variable.
34586         (command): Do not include ${exports}.
34587         * manual/install.texi (Configuring and compiling): Do not mention
34588         test wrappers preserving environment variables.  Mention that last
34589         assignment to a variable must take precedence.
34590         * INSTALL: Regenerated.
34591         * benchtests/Makefile (run-bench): Use $(run-program-env).
34592         * catgets/Makefile ($(objpfx)test1.cat): Use
34593         $(built-program-cmd-before-env), $(run-program-env) and
34594         $(built-program-cmd-after-env).
34595         ($(objpfx)test2.cat): Do not specify environment variables
34596         explicitly.
34597         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34598         $(run-program-env) and $(built-program-cmd-after-env).
34599         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34600         $(run-program-env) and $(test-program-cmd-after-env).
34601         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34602         explicitly.
34603         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34604         run_program_env and test_program_cmd_after_env arguments.
34605         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34606         * elf/tst-pathopt.sh: Use run_program_env argument.
34607         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34608         $(test-wrapper-env) and $(run-program-env).
34609         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34610         run_program_env arguments.
34611         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34612         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34613         $(test-program-prefix-before-env), $(run-program-env) and
34614         $(test-program-prefix-after-env).
34615         ($(objpfx)tst-gettext2.out): Likewise.
34616         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34617         run_program_env and test_program_prefix_after_env arguments.
34618         * intl/tst-gettext2.sh: Likewise.
34619         * intl/tst-gettext4.sh: Do not set environment variables
34620         explicitly.
34621         * intl/tst-gettext6.sh: Likewise.
34622         * intl/tst-translit.sh: Likewise.
34623         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34624         $(test-program-prefix-before-env), $(run-program-env) and
34625         $(test-program-prefix-after-env).
34626         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34627         run_program_env and test_program_prefix_after_env arguments.
34628         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34629         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34630         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34631         explicitly with each use of ${test_wrapper_env}.
34632         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34633         $(test-program-prefix-before-env), $(run-program-env) and
34634         $(test-program-prefix-after-env).
34635         * posix/tst-getconf.sh: Do not set environment variables
34636         explicitly.
34637         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34638         run_program_env and test_program_prefix_after_env arguments.
34639         * stdio-common/tst-printf.sh: Do not set environment variables
34640         explicitly.
34641         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34642         $(test-program-prefix-before-env), $(run-program-env) and
34643         $(test-program-prefix-after-env).
34644         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34645         run_program_env and test_program_prefix_after_env arguments.
34646         Split $test calls into $test_pre and $test.
34647         * timezone/Makefile (build-testdata): Use
34648         $(built-program-cmd-before-env), $(run-program-env) and
34649         $(built-program-cmd-after-env).
34651 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34653         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34654         strlen for non SHARED builds.
34656 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34658         * nptl/allocatestack.c (check_list): Inlined function...
34659         (__reclaim_stacks): ... here.
34661 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34663         [BZ #15698]
34664         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34665         memory overrun.
34667 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34669         * Rules (make-test-out): Include
34670         LOCPATH=$(common-objpfx)localedata in default environment.
34671         * debug/Makefile (tst-chk1-ENV): Remove variable.
34672         (tst-chk2-ENV): Likewise.
34673         (tst-chk3-ENV): Likewise.
34674         (tst-chk4-ENV): Likewise.
34675         (tst-chk5-ENV): Likewise.
34676         (tst-chk6-ENV): Likewise.
34677         (tst-lfschk1-ENV): Likewise.
34678         (tst-lfschk2-ENV): Likewise.
34679         (tst-lfschk3-ENV): Likewise.
34680         (tst-lfschk4-ENV): Likewise.
34681         (tst-lfschk5-ENV): Likewise.
34682         (tst-lfschk6-ENV): Likewise.
34683         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34684         (tst-iconv7-ENV): Likewise.
34685         * intl/Makefile (LOCPATH-ENV): Likewise.
34686         (tst-codeset-ENV): Likewise.
34687         (tst-gettext3-ENV): Likewise.
34688         (tst-gettext5-ENV): Likewise.
34689         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34690         (tst-fopenloc-ENV): Likewise.
34691         (tst-fgetws-ENV): Remove variable.
34692         (tst-ungetwc1-ENV): Likewise.
34693         (tst-ungetwc2-ENV): Likewise.
34694         (bug-ungetwc2-ENV): Likewise.
34695         (tst-swscanf-ENV): Likewise.
34696         (bug-ftell-ENV): Likewise.
34697         (tst-fgetwc-ENV): Likewise.
34698         (tst-fseek-ENV): Likewise.
34699         (tst-ftell-partial-wide-ENV): Likewise.
34700         (tst-ftell-active-handler-ENV): Likewise.
34701         (tst-ftell-append-ENV): Likewise.
34702         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34703         (tst-regexloc-ENV): Likewise.
34704         (bug-regex1-ENV): Likewise.
34705         (tst-regex-ENV): Likewise.
34706         (tst-regex2-ENV): Likewise.
34707         (bug-regex5-ENV): Likewise.
34708         (bug-regex6-ENV): Likewise.
34709         (bug-regex17-ENV): Likewise.
34710         (bug-regex18-ENV): Likewise.
34711         (bug-regex19-ENV): Likewise.
34712         (bug-regex20-ENV): Likewise.
34713         (bug-regex22-ENV): Likewise.
34714         (bug-regex23-ENV): Likewise.
34715         (bug-regex25-ENV): Likewise.
34716         (bug-regex26-ENV): Likewise.
34717         (bug-regex30-ENV): Likewise.
34718         (bug-regex32-ENV): Likewise.
34719         (bug-regex33-ENV): Likewise.
34720         (bug-regex34-ENV): Likewise.
34721         (bug-regex35-ENV): Likewise.
34722         (tst-rxspencer-ENV): Likewise.
34723         (tst-rxspencer-no-utf8-ENV): Likewise.
34724         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34725         (tst-sscanf-ENV): Likewise.
34726         (tst-swprintf-ENV): Likewise.
34727         (tst-swscanf-ENV): Likewise.
34728         (test-vfprintf-ENV): Likewise.
34729         (scanf13-ENV): Likewise.
34730         (bug14-ENV): Likewise.
34731         (tst-grouping-ENV): Likewise.
34732         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34733         (tst-strtod3-ENV): Likewise.
34734         (tst-strtod4-ENV): Likewise.
34735         (tst-strtod5-ENV): Likewise.
34736         (testmb2-ENV): Likewise./
34737         * string/Makefile (tst-strxfrm-ENV): Likewise.
34738         (tst-strxfrm2-ENV): Likewise.
34739         (bug-strcoll1-ENV): Likewise.
34740         (test-strcasecmp-ENV): Likewise.
34741         (test-strncasecmp-ENV): Likewise.
34742         * time/Makefile (tst-strptime-ENV): Likewise.
34743         (tst-ftime_l-ENV): Likewise.
34744         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34745         (tst-mbrtowc-ENV): Likewise.
34746         (tst-wcrtomb-ENV): Likewise.
34747         (tst-mbrtowc2-ENV): Likewise.
34748         (tst-c16c32-1-ENV): Likewise.
34749         (tst-mbsnrtowcs-ENV): Likewise.
34751 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34753         * manual/resource.texi (How to get information about the memory
34754         subsystem?): Fix typo.
34755         Reported by Peon de la Parra Ivan <peon@keba.com>
34757 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34759         [BZ #16882]
34760         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34761         (pthread_spin_lock): Branch out of spin loop to proper location.
34762         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34763         (pthread_spin_lock): Likewise.
34765         * nptl/tst-spin4.c: New test.
34766         * nptl/Makefile (tests): Add tst-spin4.
34768 2014-06-03  Andreas Schwab  <schwab@suse.de>
34770         [BZ #15946]
34771         * resolv/res_send.c (send_dg): Reload file descriptor after
34772         calling reopen.
34774 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34776         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34778 2014-06-03  Richard Henderson  <rth@redhat.com>
34780         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34781         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34782         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34783         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34784         in the SAVE_PID block.
34785         (__libc_vfork): New alias.
34786         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34788         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34789         child in registers, not on the stack.  Remove RESET_PID conditionals.
34790         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34792 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34794         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34796 2014-06-03  Wilco  <wdijkstr@arm.com>
34798         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34799         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34800         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34801         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34802         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34803         Likewise.
34805 2014-06-03  Wilco  <wdijkstr@arm.com>
34807         * sysdeps/aarch64/fpu/math_private.h
34808         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34809         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34810         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34811         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34812         Fix declarations.
34814 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34816         * crypt/crypt-private.h: Include ufc-crypt.h.
34817         (__b64_from_24bit): Declare extern.
34818         * crypt/crypt_util.c(__b64_from_24bit): New function.
34819         (b64t): New static const variable.
34820         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34821         (b64t): Remove variable.
34822         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34823         * crypt/sha256-crypt.c: Include crypt-private.h.
34824         (b64t): Remove variable.
34825         (__sha256_crypt_r): Remove b64_from_24bit and replace
34826         with __b64_from_24bit.
34827         * crypt/sha512-crypt.c: Likewise.
34829 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34831         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34832         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34833         Label the code __libc_vfork rather than __vfork.
34834         [!NOT_IN_libc] (vfork): Define as weak alias.
34835         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34836         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34837         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34839 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34841         * malloc/malloc.c (malloc_info): Fix format specifier for
34842         n_mmaps.
34844 2014-06-02  Wilco  <wdijkstr@arm.com>
34846         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34847         FPCR write.
34849 2014-06-02  Wilco  <wdijkstr@arm.com>
34851         [BZ #17009]
34852         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34853         Rewrite to reduce FPCR/FPSR accesses.
34855 2014-06-01  David S. Miller  <davem@davemloft.net>
34857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34859 2014-05-31  David S. Miller  <davem@davemloft.net>
34861         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34862         to occur in round to nearest mode when |x| >= 2.0
34864 2014-05-30  Richard Henderson  <rth@twiddle.net>
34866         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34867         (PSEUDO_RET_NOERRNO): Remove.
34868         (ret): Don't redefine.
34869         (ret_NOERRNO): Define in terms of ret.
34870         (ret_ERRVAL): Likewise.
34872         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34873         use of PSEUDO_RET; perform the error check directly.
34875 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34877         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34878         with __int128_t.
34880 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34882         * malloc/malloc (malloc_info): Fix formatting.
34884 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885             Roland McGrath  <roland@hack.frob.com>
34887         * malloc/malloc (malloc_info): Also print mmapped statistics.
34889 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34891         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34892         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34894 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34896         * malloc/malloc.c (malloc_info): Inline mi_arena.
34898 2014-05-29  Richard Henderson  <rth@twiddle.net>
34900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34901         Remove comma before expanding ASM_ARGS_##nr.
34902         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34903         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34904         of ASM_ARGS_##nr.
34905         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34906         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34907         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34908         (ASM_ARGS_1): Add leading comma.
34910         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34911         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34912         to __errno_location.
34913         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34914         Remove the expected plt for __errno_location.
34916         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34917         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34918         call to __read_tp.
34920         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34921         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34922         it and break it down.
34923         (DOCARGS_0, DOCARGS_1): Do nothing.
34924         (DOCARGS_2): Update to store into the new stack frame.
34925         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34926         (UNDOCARGS_1): Update to restore from the new stack frame.
34927         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34928         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34930         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34931         (SINGLE_THREAD_P): New parameter for result regno.
34932         (PSEUDO): Update to match; use cbz instead of beq.
34934         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34935         Use ENTRY to define the _nocancel entry point.  Share the syscall
34936         and syscall error check paths with the cancel path.
34937         (PSEUDO_END): New.
34939         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34940         whitespace; tabs before and after asm mnemonics.
34942 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34944         [BZ #15132]
34945         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34946         Call fstat64 or stat64 internally, depending on arguments passed.
34947         Replace stat buffer argument with file descriptor argument.
34948         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34949         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34950         Pass fd to __internal_statvfs instead of calling fstat64.
34951         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34952         Pass fd to __internal_statvfs64 instead of calling fstat64.
34953         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34954         Pass -1 to __internal_statvfs instead of calling stat64.
34955         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34956         Pass -1 to __internal_statvfs64 instead of calling stat64.
34958 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34960         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34961         that was previously under [RESET_PID].
34962         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34964         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34965         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34967 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34969         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34971         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34972         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34974 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34976         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34978 2014-05-27  Andreas Schwab  <schwab@suse.de>
34980         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34981         TLS_INIT_TP macro.
34982         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34983         * elf/rtld.c (init_tls, dl_main): Likewise.
34984         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34985         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34986         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34987         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34988         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34989         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34990         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34991         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34992         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34993         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34994         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34995         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34996         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34997         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34998         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34999         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
35000         * sysdeps/generic/tls.h: Update description.
35002 2014-05-27  Will Newton  <will.newton@linaro.org>
35004         [BZ #16990]
35005         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
35006         and restore r2 rather than just restoring.
35008 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35010         [BZ #16724]
35011         * libio/tst-ftell-append.c: New test case.
35012         * libio/Makefile (tests): Add test case.
35013         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
35014         append mode.
35015         * libio/wfileops.c (do_ftell_wide): Likewise.
35017 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35021         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
35022         ...
35023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
35024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
35025         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
35026         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
35027         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
35028         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
35029         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
35030         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
35031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
35032         Moved ...
35033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
35034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
35035         Moved ...
35036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
35037         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
35038         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
35039         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
35040         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
35041         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
35042         ...
35043         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
35044         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
35045         Moved ...
35046         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
35047         here.
35048         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
35049         ...
35050         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
35051         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
35052         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
35054         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
35055         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
35056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
35057         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
35059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
35060         merge into ...
35061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
35062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
35063         ...
35064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
35065         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
35066         ...
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
35068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35069         Moved ...
35070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
35071         here.
35072         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35073         Moved ...
35074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
35075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35076         Moved ...
35077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
35079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
35080         conditional [RESET_PID].
35081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
35082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
35083         removed.
35084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
35085         removed.
35087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
35088         <tcb-offsets.h>.
35089         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35090         (__libc_vfork): New strong alias.
35091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
35092         removed.
35093         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
35094         Removed.
35096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
35097         <tcb-offsets.h>.
35098         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
35099         (__libc_vfork): New strong alias.
35100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
35101         removed.
35102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
35103         removed.
35105 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
35107         * malloc/malloc.c (mi_arena): New function.
35108         (malloc_info): Remove nested function mi_arena. Call non-nosted
35109         function mi_arena.
35111 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35113         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
35114         by insrwi.
35115         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
35116         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
35117         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
35118         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
35119         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
35120         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
35121         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
35123 2014-05-26  Andreas Schwab  <schwab@suse.de>
35125         [BZ #16984]
35126         * locale/programs/repertoire.c (repertoire_read): Add slash
35127         between I18NPATH element and file name.
35128         * locale/programs/locfile.c (locfile_read): Likewise.
35130 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35132         * nptl/pthread_mutexattr_settype.c
35133         (__pthread_mutexattr_settype):
35134         Disable lock elision for PTHREAD_MUTEX_NORMAL.
35136 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
35138         * nptl/tst-mutex5 (do_test):
35139         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
35141 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35143         * benchtests/README: Document 'init' directive.
35144         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
35145         BENCH_INIT.
35146         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
35147         (parse_file): Recognize 'init' directive.
35149 2014-05-26  Kyle McMartin  <kyle@redhat.com>
35151         [BZ #16796]
35152         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
35153         alignment of struct pthread.
35155 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35157         [BZ #16878]
35158         * nscd/netgroupcache.c (addgetnetgrentX): Look for
35159         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35160         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
35161         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
35163 2014-05-25  Richard Henderson  <rth@twiddle.net>
35165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35166         (SINGLE_THREAD_P_PIC): Remove.
35167         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
35168         (SINGLE_THREAD_P_PIC): Remove.
35170         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
35171         branch to syscall error ...
35172         (PSEUDO): ... here.
35173         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
35174         from __local_syscall_error to .Lsyscall_error.
35175         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
35176         (SYSCALL_ERROR): Update label name.
35178         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35179         Do not use DOARGS/UNDOARGS.
35180         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
35181         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
35182         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
35183         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
35184         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
35186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
35187         block comment.
35189         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
35190         define if !NOT_IN_libc.
35191         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
35192         define with non-default symbol versions.
35194 2014-05-23  Richard Henderson  <rth@twiddle.net>
35196         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
35197         (vfork, __vfork): Define via compat_symbol.
35199         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
35200         [!HAVE_IFUNC] (vfork_compat): Remove.
35201         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
35203 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35205         [BZ #16978]
35206         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
35207         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
35208         variable.
35210 2014-05-23  Richard Henderson  <rth@twiddle.net>
35212         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
35213         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
35214         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
35215         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
35217         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
35218         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
35219         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
35220         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
35221         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
35222         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
35223         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
35224         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
35225         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
35226         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
35227         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
35228         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
35229         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
35230         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
35231         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
35232         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
35233         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
35234         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
35235         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
35236         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
35237         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
35238         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
35239         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
35240         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
35241         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
35242         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
35243         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
35244         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
35245         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
35246         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
35247         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
35248         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
35249         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
35250         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
35251         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
35252         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
35253         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
35254         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
35255         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
35256         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
35257         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
35258         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
35259         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
35260         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
35261         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
35262         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
35263         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
35264         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
35265         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
35266         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
35267         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
35268         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
35269         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
35270         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
35271         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
35272         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
35274         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
35275         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
35276         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
35277         before exiting on error.
35278         (__libc_vfork): New strong alias.
35279         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
35280         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
35282         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
35283         that was previously under [RESET_PID].
35284         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
35286         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
35288 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
35290         [BZ #16977]
35291         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
35292         value when x - 1 is zero.
35293         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
35294         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
35295         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
35296         0.0L for an argument of 1.0L.
35297         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
35298         Likewise.
35299         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
35300         value when x - 1 is zero.
35301         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
35302         * sysdeps/i386/fpu/libm-test-ulps: Update.
35303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35305 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35307         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
35308         alphasort and versionsort.
35310 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35312         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
35313         macro.
35314         [copysignf]: Likewise.
35316 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35318         * crypt/md5-crypt.c: Fix formatting.
35320 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35322         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
35323         (b64_from_24bit): New function.
35325 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35327         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
35328         libc_hidden_builtin_def to ifunc.
35329         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35330         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
35332 2014-05-21  Roland McGrath  <roland@hack.frob.com>
35334         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
35335         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
35337 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
35339         * nscd/Depend (linuxthreads): Remove.
35340         (nptl): Add.
35341         * resolv/Depend (linuxthreads): Remove.
35342         * rt/Depend (linuxthreads): Remove.
35344         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
35345         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
35346         $(common-objpfx)elf/.
35347         (link-libc-before-gnulib): Likewise.
35348         (elfobjdir): Remove variable.
35349         * Makefile (install): Use $(elf-objpfx) instead of
35350         $(common-objpfx)elf/.
35351         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
35352         $(elfobjdir)/.
35353         (link-libc-deps): Likewise.
35354         ($(common-objpfx)libc.so): Likewise.
35355         ($(common-objpfx)linkobj/libc.so): Likewise.
35356         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
35357         instead of $(common-objpfx)elf/.
35358         (symbolic-link-list): Likewise.
35359         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35360         [$(cross-compiling) = no]: Likewise.
35361         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
35362         $(elfobjdir)/.
35363         (static-gnulib-arch): Likewise.
35364         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35365         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
35366         $(common-objpfx)elf/.
35368 2014-05-21  Richard Henderson  <rth@redhat.com>
35370         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
35371         (SINGLE_THREAD_P): Use the correct width load.  Fold
35372         into the ldr offset.
35374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
35375         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
35377 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
35379         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
35380         (libgcc_s_resume): Use __attribute_used__.
35381         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
35382         Likewise.
35384 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35386         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
35387         optimization when used with float constants.
35389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35391 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
35393         [BZ #16915]
35394         * locale/nl_langinfo_l.c: Make direct reference to every
35395         _nl_current_CATEGORY symbol.
35396         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
35397         (tests-static): Add tst-langinfo-static.
35398         (tests-special): Add tst-langinfo-static.out.
35399         ($(objpfx)tst-langinfo.out): Redirect output.
35400         ($(objpfx)tst-langinfo-static.out): New.
35401         * localedata/tst-langinfo.sh: Send output to stdout.
35402         * localedata/tst-langinfo-static.c: New file.
35404         [BZ #16965]
35405         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
35406         when the shift amount is modulo the limb size.
35408 2014-05-20  Richard Henderson  <rth@redhat.com>
35410         [BZ #16967]
35411         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
35412         Change type of sa_flags from unsigned int to int.
35414         [BZ #16966]
35415         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
35417         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
35419 2014-05-20  Will Newton  <will.newton@linaro.org>
35421         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
35422         Test the return value of the system call in the nocancel case.
35424 2014-05-20  Will Newton  <will.newton@linaro.org>
35425             Yvan Roux  <yvan.roux@linaro.org>
35427         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
35428         #include of asm/ptrace.h.
35429         (PTRACE_GET_THREAD_AREA): Remove #undef.
35430         (PTRACE_GETHBPREGS): Likewise.
35431         (PTRACE_SETHBPREGS): Likewise.
35432         (struct user_regs_struct): New structure.
35433         (struct user_fpsimd_struct): New structure.
35434         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
35435         #include of asm/ptrace.h and second #include of sys/user.h.
35436         (PTRACE_GET_THREAD_AREA): Remove #undef.
35437         (PTRACE_GETHBPREGS): Likewise.
35438         (PTRACE_SETHBPREGS): Likewise.
35439         (ELF_NGREG): Use new struct user_regs_struct.
35440         (elf_fpregset_t): Use new struct user_fpsimd_struct.
35442 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35444         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
35445         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
35447 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
35449         [BZ #16958]
35450         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
35451         membar to avoid block loads/stores to overlap previous stores.
35453 2014-05-17  Richard Henderson  <rth@redhat.com>
35455         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
35456         Create the __##syscall_name##_nocancel entry point.
35457         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
35458         Remove; let the sysdep-cancel.h code create it.
35460 2014-05-17  David S. Miller  <davem@davemloft.net>
35462         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
35463         Protect with __USE_GNU.
35464         (TIOCSET_TEMPT): Likewise.
35465         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35466         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
35467         these are already provided in bits/ioctl-types.h
35469 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35471         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
35472         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35474         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35475         Use wait4 regardless of [__NR_waitpid].
35477 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35479         PR libgcc/60166
35480         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35481         (_FP_NANSIGN_Q): Set the quiet bit.
35483 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35485         * benchtests/Makefile
35486         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35487         not $(common-objpfx)math/libm.so.
35488         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35489         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35490         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35491         $(common-objpfx)dlfcn/libdl.so.
35492         ($(objpfx)tst-audit8): Depend on $(libm), not
35493         $(common-objpfx)math/libm.so.
35494         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35495         not $(common-objpfx)dlfcn/libdl.so.
35496         * math/Makefile
35497         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35498         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35499         [$(build-shared) = yes].
35500         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35501         $(common-objpfx)nptl/libpthread.so.
35502         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35503         $(common-objpfx)math/libm.so$(libm.so-version) or
35504         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35505         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35506         $(common-objpfx)dlfcn/libdl.so.
35507         * setjmp/Makefile (link-libm): Remove variable.
35508         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35509         * stdio-common/Makefile (link-libm): Remove variable.
35510         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35511         * stdlib/Makefile (link-libm): Remove variable.
35512         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35513         ($(objpfx)tst-strtod-round): Likewise.
35514         ($(objpfx)tst-tininess): Likewise.
35515         ($(objpfx)tst-strtod-underflow): Likewise.
35516         ($(objpfx)tst-strtod6): Likewise.
35517         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35518         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35519         $(common-objpfx)dlfcn/libdl.so.
35521 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35523         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35524         BSD terminal modes definitions.
35526 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35528         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35529         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35531         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35532         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35533         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35534         Don't do #include_next.
35535         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35536         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35537         Don't do #include_next.
35538         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35539         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35540         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35541         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35543 2014-05-16  Allan McRae  <allan@archlinux.org>
35545         * po/sv.po: Update Swedish translation from translation project.
35547         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35548         in sed expression.
35550 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35552         [BZ #16917]
35553         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35554         errno if the TIOCGPTN ioctl fails with an error different than
35555         EINVAL.
35556         * login/tst-ptsname.c: New file.
35557         * login/Makefile (tests): Add tst-ptsname.
35559         [BZ #16943]
35560         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35561         and prlimit64.
35563 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35565         [BZ #16849]
35566         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35567         herrno to return EAI_AGAIN.
35569 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35571         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35572         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35573         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35574         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35575         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35576         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35577         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35578         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35579         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35580         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35581         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35582         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35583         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35584         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35585         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35586         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35587         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35588         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35589         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35590         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35591         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35592         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35593         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35594         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35595         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35596         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35597         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35598         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35599         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35600         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35602         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35606         Moved ...
35607         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35609         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35611         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35613         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35615         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35617         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35619         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35620         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35621         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35623         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35625         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35627         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35629         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35631         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35633         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35635         Moved ...
35636         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35638         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35640         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35642         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35644         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35646         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35647         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35648         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35649         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35650         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35652         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35654         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35656         Moved ...
35657         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35659         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35661         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35662         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35663         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35664         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35665         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35666         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35667         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35668         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35669         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35670         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35671         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35672         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35673         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35674         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35675         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35676         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35677         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35678         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35679         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35680         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35681         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35682         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35683         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35684         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35685         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35686         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35687         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35688         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35689         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35690         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35691         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35693         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35694         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35696         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35697         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35698         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35699         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35700         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35702         Moved ...
35703         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35705         Moved ...
35706         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35708         Moved ...
35709         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35710         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35711         Moved ...
35712         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35713         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35714         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35715         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35716         Moved ...
35717         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35718         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35719         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35720         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35721         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35722         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35723         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35725         Moved ...
35726         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35727         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35728         Moved ...
35729         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35730         ... here.
35731         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35732         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35733         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35734         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35735         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35736         Moved ...
35737         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35738         ... here.
35739         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35740         Moved ...
35741         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35742         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35743         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35744         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35745         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35747         Moved ...
35748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35750         Moved ...
35751         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35753         Moved ...
35754         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35755         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35756         Moved ...
35757         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35758         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35759         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35760         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35761         Moved ...
35762         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35763         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35764         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35765         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35766         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35767         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35768         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35770         Moved ...
35771         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35772         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35773         Moved ...
35774         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35775         ... here.
35776         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35777         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35778         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35779         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35780         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35781         Moved ...
35782         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35783         ... here.
35784         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35785         Moved ...
35786         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35787         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35788         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35789         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35790         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35791         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35792         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35793         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35794         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35795         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35796         Moved ...
35797         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35799         Moved ...
35800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35802         Moved ...
35803         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35804         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35805         Moved ...
35806         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35807         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35808         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35809         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35810         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35811         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35812         Moved ...
35813         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35814         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35815         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35816         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35817         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35818         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35819         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35821         Moved ...
35822         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35823         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35824         Moved ...
35825         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35826         ... here.
35827         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35828         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35829         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35830         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35831         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35832         Moved ...
35833         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35834         ... here.
35835         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35836         Moved ...
35837         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35838         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35839         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35840         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35841         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35842         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35843         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35844         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35845         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35846         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35847         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35849         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35850         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35852         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35853         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35855         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35856         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35857         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35858         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35859         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35860         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35861         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35862         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35863         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35864         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35865         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35866         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35868         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35869         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35870         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35871         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35873         Moved ...
35874         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35875         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35876         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35877         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35878         Moved ...
35879         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35881         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35882         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35883         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35885         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35887         Moved ...
35888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35889         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35890         Moved ...
35891         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35892         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35893         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35894         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35895         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35897         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35898         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35899         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35900         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35901         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35902         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35903         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35904         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35905         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35906         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35907         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35909         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35910         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35911         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35912         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35913         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35915         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35916         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35917         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35918         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35919         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35920         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35921         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35922         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35923         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35924         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35927         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35929         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35930         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35931         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35932         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35933         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35934         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35935         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35936         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35937         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35938         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35939         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35940         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35941         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35942         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35944         Update #include.
35945         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35946         Likewise.
35947         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35948         Likewise.
35949         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35950         Likewise.
35951         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35952         Likewise.
35953         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35954         Likewise.
35955         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35956         Likewise.
35957         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35958         Likewise.
35959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35960         Likewise.
35961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35962         Likewise.
35963         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35965         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35967         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35968         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35969         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35970         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35971         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35972         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35973         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35974         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35976         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35979         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35980         that was previously under [RESET_PID].
35981         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35982         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35983         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35985         * sysdeps/i386/nptl/Implies: New file.
35986         * sysdeps/x86_64/nptl/Implies: New file.
35987         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35988         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35989         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35990         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35992         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35993         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35994         (__libc_vfork): New strong alias.
35995         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35996         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35998         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35999         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36000         (__libc_vfork): New strong alias.
36001         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
36002         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
36004         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
36005         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36006         (__libc_vfork): New strong alias.
36007         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
36008         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
36009         * nptl/pt-vfork.c: New file.
36010         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
36011         (libpthread: GLIBC_2.20): New version set (empty).
36013 2014-05-14  Will Newton  <will.newton@linaro.org>
36015         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
36016         rather than #if.
36018 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36020         [BZ #16564]
36021         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
36022         arguments with exponent 65 or above.
36023         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
36024         arguments 0x1p113L or above.
36025         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
36026         to arguments 0x1p107L or above.
36027         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
36028         positive arguments with exponent 65 or above.
36029         * math/auto-libm-test-in: Add more tests of log1p.
36030         * math/auto-libm-test-out: Regenerated.
36032         [BZ #16928]
36033         * math/s_cacos.c (__cacos): Ensure zero real part of result from
36034         non-finite arguments is +0.
36035         * math/s_cacosf.c (__cacosf): Likewise.
36036         * math/s_cacosl.c (__cacosl): Likewise.
36037         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
36038         * sysdeps/i386/fpu/libm-test-ulps: Update.
36039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36041         [BZ #16927]
36042         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
36043         value.
36044         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
36045         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
36046         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
36047         for explicit high bit of mantissa when testing for argument equal
36048         to 1.
36049         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
36050         * sysdeps/i386/fpu/libm-test-ulps: Update.
36051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36053         [BZ #16516]
36054         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
36055         (__erf): Scale by 16 instead of 8 in potentially underflowing
36056         case.  Ensure exception if result actually underflows.
36057         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
36058         (__erff): Scale by 16 instead of 8 in potentially underflowing
36059         case.  Ensure exception if result actually underflows.
36060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
36061         (efx8): Remove variable.
36062         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36063         case.  Ensure exception if result actually underflows.
36064         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
36065         (efx8): Remove variable.
36066         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36067         case.  Ensure exception if result actually underflows.
36068         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
36069         (efx8): Remove variable.
36070         (__erfl): Scale by 16 instead of 8 in potentially underflowing
36071         case.  Ensure exception if result actually underflows.
36072         * math/auto-libm-test-in: Add more tests of erf.
36073         * math/auto-libm-test-out: Regenerated.
36075 2014-05-14  Andreas Schwab  <schwab@suse.de>
36077         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
36078         Remove code conditionalized on USE___THREAD.
36080         * config.h.in (HAVE_PT_CHOWN): Define as 0.
36081         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
36082         not definedness.
36084 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
36086         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
36087         Define unconditionally.
36088         (__ASSUME_O_CLOEXEC): Likewise.
36089         (__ASSUME_SOCK_CLOEXEC): Likewise.
36090         (__ASSUME_IN_NONBLOCK): Likewise.
36091         (__ASSUME_PIPE2): Likewise.
36092         (__ASSUME_EVENTFD2): Likewise.
36093         (__ASSUME_SIGNALFD4): Likewise.
36094         (__ASSUME_DUP3): Likewise.
36095         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36096         (__ASSUME_DUP3): Do not define.
36097         (__ASSUME_EVENTFD2): Likewise.
36098         (__ASSUME_IN_NONBLOCK): Likewise.
36099         (__ASSUME_O_CLOEXEC): Likewise.
36100         (__ASSUME_PIPE2): Likewise.
36101         (__ASSUME_SIGNALFD4): Likewise.
36102         (__ASSUME_SOCK_CLOEXEC): Likewise.
36103         (__ASSUME_UTIMES): Undefine.
36104         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36105         (__ASSUME_UTIMES): Do not define.
36106         (__ASSUME_O_CLOEXEC): Likewise.
36107         (__ASSUME_SOCK_CLOEXEC): Likewise.
36108         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
36109         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
36110         0x020621].
36111         (__ASSUME_PIPE2): Likewise.
36112         (__ASSUME_EVENTFD2): Likewise.
36113         (__ASSUME_SIGNALFD4): Likewise.
36114         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
36115         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
36116         Do not define.
36117         (__ASSUME_EVENTFD2): Likewise.
36118         (__ASSUME_SIGNALFD4): Likewise.
36119         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36120         (__ASSUME_32BITUIDS): Likewise.
36121         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36122         (__ASSUME_IPC64): Likewise.
36123         (__ASSUME_ST_INO_64_BIT): Likewise.
36124         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
36125         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
36126         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36127         (__ASSUME_UTIMES): Do not define.
36128         (__ASSUME_PSELECT): Likewise.
36129         (__ASSUME_PPOLL): Likewise.
36130         (__ASSUME_O_CLOEXEC): Likewise.
36131         (__ASSUME_SOCK_CLOEXEC): Likewise.
36132         (__ASSUME_IN_NONBLOCK): Likewise.
36133         (__ASSUME_PIPE2): Likewise.
36134         (__ASSUME_EVENTFD2): Likewise.
36135         (__ASSUME_SIGNALFD4): Likewise.
36136         (__ASSUME_DUP3): Likewise.
36137         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36138         (__ASSUME_UTIMES): Likewise.
36139         (__ASSUME_O_CLOEXEC): Likewise.
36140         (__ASSUME_SOCK_CLOEXEC): Likewise.
36141         (__ASSUME_IN_NONBLOCK): Likewise.
36142         (__ASSUME_PIPE2): Likewise.
36143         (__ASSUME_EVENTFD2): Likewise.
36144         (__ASSUME_SIGNALFD4): Likewise.
36145         (__ASSUME_DUP3): Likewise.
36146         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36147         (__ASSUME_UTIMES): Likewise.
36148         (__ASSUME_O_CLOEXEC): Likewise.
36149         (__ASSUME_SOCK_CLOEXEC): Likewise.
36150         (__ASSUME_IN_NONBLOCK): Likewise.
36151         (__ASSUME_PIPE2): Likewise.
36152         (__ASSUME_EVENTFD2): Likewise.
36153         (__ASSUME_SIGNALFD4): Likewise.
36154         (__ASSUME_DUP3): Likewise.
36155         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
36156         Likewise.
36157         (__ASSUME_UTIMES): Likewise.
36158         (__ASSUME_EVENTFD2): Likewise.
36159         (__ASSUME_SIGNALFD4): Likewise.
36160         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36161         (__ASSUME_O_CLOEXEC): Likewise.
36162         (__ASSUME_SOCK_CLOEXEC): Likewise.
36163         (__ASSUME_IN_NONBLOCK): Likewise.
36164         (__ASSUME_PIPE2): Likewise.
36165         (__ASSUME_EVENTFD2): Likewise.
36166         (__ASSUME_SIGNALFD4): Likewise.
36167         (__ASSUME_DUP3): Likewise.
36168         (__ASSUME_UTIMES): Undefine.
36170         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
36171         feclearexcept.  Remove symbol versioning code.
36172         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
36173         symbol versioning code.
36174         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
36175         symbol versioning code.
36176         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
36177         feupdateenv.  Remove symbol versioning code.
36178         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
36179         fegetexceptflag.  Remove symbol versioning code.
36180         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
36181         fesetexceptflag.  Remove symbol versioning code.
36182         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
36183         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
36184         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
36185         (__posix_fadvise64_l32): Remove prototype.
36186         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
36187         code.
36189 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36191         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
36192         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
36193         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
36194         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
36196 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
36198         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
36199         current working directory
36201 2014-05-13  Roland McGrath  <roland@hack.frob.com>
36203         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
36204         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
36205         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
36206         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
36207         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
36208         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
36209         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
36210         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
36211         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
36212         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
36213         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
36214         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
36215         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
36216         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
36217         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
36218         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
36219         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
36220         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
36221         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
36222         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
36223         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
36224         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
36225         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
36226         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
36227         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
36228         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
36229         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
36230         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
36231         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
36232         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
36233         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
36234         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
36235         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
36236         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
36237         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
36238         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
36239         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
36240         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
36241         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
36242         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
36243         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
36244         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
36246         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
36247         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
36249         * sysdeps/unix/sysv/linux/arm/Makefile
36250         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
36251         Add rt-aeabi_unwind_cpp_pr1.
36252         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
36253         Add nptl-aeabi_unwind_cpp_pr1.
36254         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
36255         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
36256         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
36257         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
36258         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
36259         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
36261         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
36262         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
36263         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
36264         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
36266         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
36267         Deconditionalize the code that was previously under [RESET_PID].
36268         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
36270         * sysdeps/generic/exit-thread.h: New file.
36271         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
36272         * include/unistd.h (__exit_thread): Remove declaration.
36273         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
36274         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
36275         * csu/libc-start.c: Include <exit-thread.h>.
36276         (LIBC_START_MAIN): Pass no argument to __exit_thread.
36277         * nptl/pthread_create.c: Include <exit-thread.h>.
36278         (start_thread): Call __exit_thread in place of __exit_thread_inline.
36279         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
36280         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
36281         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
36282         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
36283         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
36284         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
36285         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
36286         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
36287         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
36288         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
36289         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
36290         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
36291         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
36292         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
36293         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
36294         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
36296 2014-05-13  Andreas Schwab  <schwab@suse.de>
36298         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
36300 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
36302         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36303         (__ASSUME_UTIMES): Do not condition on kernel version.
36304         (__ASSUME_PSELECT): Define unconditionally.
36305         (__ASSUME_PPOLL): Likewise.
36306         (__ASSUME_ATFCTS): Likewise.
36307         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
36308         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
36309         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
36310         (__ASSUME_UTIMENSAT): Define unconditionally.
36311         (__ASSUME_PRIVATE_FUTEX): Likewise.
36312         (__ASSUME_FALLOCATE): Likewise.
36313         (__ASSUME_O_CLOEXEC): Likewise.
36314         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
36315         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
36316         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
36317         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
36318         (__ASSUME_IN_NONBLOCK): Likewise.
36319         (__ASSUME_PIPE2): Likewise.
36320         (__ASSUME_EVENTFD2): Likewise.
36321         (__ASSUME_SIGNALFD4): Likewise.
36322         (__ASSUME_DUP3): Likewise.
36323         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36324         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
36325         (__ASSUME_AT_RANDOM): Likewise.
36326         (__ASSUME_PREADV): Likewise.
36327         (__ASSUME_PWRITEV): Likewise.
36328         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
36329         (__ASSUME_F_GETOWN_EX): Define unconditionally.
36330         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
36331         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36332         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
36333         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36334         (__ASSUME_O_CLOEXEC): Define unconditionally.
36335         (__ASSUME_PSELECT): Do not undefine conditionally.
36336         (__ASSUME_PPOLL): Likewise.
36337         (__ASSUME_ATFCTS): Likewise.
36338         (__ASSUME_SET_ROBUST_LIST): Likewise.
36339         (__ASSUME_UTIMENSAT): Likewise.
36340         (__ASSUME_FDATASYNC): Define unconditionally.
36341         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36342         (__ASSUME_SIGFRAME_V2): Likewise.
36343         )__ASSUME_EVENTFD2): Likewise.
36344         (__ASSUME_SIGNALFD4): Likewise.
36345         (__ASSUME_PSELECT): Do not undefine conditionally.
36346         (__ASSUME_PPOLL): Likewise.
36347         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
36348         (__ASSUME_PSELECT): Define unconditionally.
36349         (__ASSUME_PPOLL): Likewise.
36350         (__ASSUME_O_CLOEXEC): Likewise.
36351         (__ASSUME_SOCK_CLOEXEC): Likewise.
36352         (__ASSUME_IN_NONBLOCK): Likewise.
36353         (__ASSUME_PIPE2): Likewise.
36354         (__ASSUME_EVENTFD2): Likewise.
36355         (__ASSUME_SIGNALFD4): Likewise.
36356         (__ASSUME_DUP3): Likewise.
36357         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36358         (__ASSUME_O_CLOEXEC): Likewise.
36359         (__ASSUME_SOCK_CLOEXEC): Likewise.
36360         (__ASSUME_IN_NONBLOCK): Likewise.
36361         (__ASSUME_PIPE2): Likewise.
36362         (__ASSUME_EVENTFD2): Likewise.
36363         (__ASSUME_SIGNALFD4): Likewise.
36364         (__ASSUME_DUP3): Likewise.
36365         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36366         (__ASSUME_EVENTFD2): Likewise.
36367         (__ASSUME_SIGNALFD4): Likewise.
36368         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
36370 2014-05-12  Andreas Schwab  <schwab@suse.de>
36372         [BZ #16932]
36373         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
36374         (_nss_nis_gethostbyname4_r): Return error if item length is larger
36375         than maximum RPC packet size.
36376         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
36377         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
36378         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
36379         (_nss_nis_getservbyport_r): Likewise.
36381 2014-05-12  Will Newton  <will.newton@linaro.org>
36383         * malloc/Makefile (tests): Add tst-mallopt.
36384         * malloc/tst-mallopt.c: New file.
36386 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36388         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
36389         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
36391 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36393         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
36394         (tst-tlsmod6.so): Likewise.
36396 2014-05-09  Roland McGrath  <roland@hack.frob.com>
36398         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
36400 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
36402         [BZ #16064]
36403         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
36404         and <dl-procinfo.h>.
36405         (__fegetenv): Save SSE state in envp->__eip if supported.
36406         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
36407         envp->__eip if supported.
36408         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
36409         and <dl-procinfo.h>.
36410         (__fesetenv): Always set __eip, __cs_selector, __opcode,
36411         __data_offset and __data_selector in environment to 0.  Set SSE
36412         state if supported.
36413         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
36414         test-fenv-sse.
36415         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
36416         -mfpmath=sse.
36417         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
36419 2014-05-09  Will Newton  <will.newton@linaro.org>
36421         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
36422         and libc_relro_required for ARM.
36423         * sysdeps/arm/preconfigure: Regenerate.
36425 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
36426             Stefan Liebler  <stli@linux.vnet.ibm.com>
36428         * config.make.in (enable-lock-elision): New Makefile variable.
36429         * configure.ac: Likewise.
36430         * configure: Regenerate.
36431         * sysdeps/s390/configure.ac:
36432         Add check for gcc transactions support.
36433         * sysdeps/s390/configure: Regenerate.
36434         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
36435         Build elision files if enabled.
36436         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
36437         Add lock elision support for s390.
36438         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
36439         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
36440         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
36441         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
36442         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
36443         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
36444         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36445         Likewise.
36446         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
36447         Likewise.
36448         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
36449         Likewise.
36450         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
36451         Likewise.
36452         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
36453         (__lll_timedlock_elision, __lll_lock_elision)
36454         (__lll_unlock_elision, __lll_trylock_elision)
36455         (lll_timedlock_elision, lll_lock_elision)
36456         (lll_unlock_elision, lll_trylock_elision): Add.
36457         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36458         (pthread_mutex_t): Add lock elision support for s390.
36460 2014-05-14  Wilco  <wdijkstr@arm.com>
36462         * sysdeps/arm/fclrexcpt.c: Cleanup.
36463         * sysdeps/arm/fedisblxcpt.c: Cleanup.
36464         * sysdeps/arm/feenablxcpt.c: Cleanup.
36465         * sysdeps/arm/fegetenv.c: Cleanup.
36466         * sysdeps/arm/fegetexcept.c: Cleanup.
36467         * sysdeps/arm/fegetround.c: Cleanup.
36468         * sysdeps/arm/feholdexcpt.c: Cleanup.
36469         * sysdeps/arm/fesetenv.c: Cleanup.
36470         * sysdeps/arm/fesetround.c: Cleanup.
36471         * sysdeps/arm/feupdateenv.c: Cleanup.
36472         * sysdeps/arm/fgetexcptflg.c: Cleanup.
36473         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36474         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36475         * sysdeps/arm/ftestexcept.c: Cleanup.
36476         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36477         * sysdeps/arm/setfpucw.c: Cleanup.
36479 2014-05-09  Will Newton  <will.newton@linaro.org>
36481         * sysdeps/arm/armv7/strcmp.S: New file.
36482         * NEWS: Mention addition of ARMv7 optimized strcmp.
36484 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36486         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36487         look for %.ac rather than %.in.
36489         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36490         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36491         * sysdeps/mach/hurd/configure: Regenerated.
36492         * sysdeps/unix/sysv/linux/configure: Regenerated.
36494         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36496 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36498         [BZ# 16922]
36499         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36500         (LONG_SUB): Ditto.
36501         (PTR_SUB): Ditto.
36503 2014-05-07  Andreas Schwab  <schwab@suse.de>
36505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36506         when skipping over non-matching result from nscd.
36508 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36510         [BZ #16876]
36511         * nptl/sockperf.c (client): Check socket return value.
36513         [BZ #16877]
36514         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36515         nscd security class.
36517 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36519         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36520         * sysdeps/arm/unwind.h: ... here.
36522 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36524         [BZ# 16916]
36525         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36526         Define.
36528 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36530         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36531         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36532         multiarch strncpy for PPC64.
36533         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36534         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36536         multiarch optimizations.
36537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36538         (__libc_ifunc_impl_list): Likewise.
36539         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36540         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36541         multiarch stpncpy for PPC64.
36542         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36543         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36545 2014-05-06  Andreas Schwab  <schwab@suse.de>
36547         [BZ #16912]
36548         * gmon/mcount.c (_MCOUNT_DECL): Use
36549         atomic_compare_and_exchange_bool_acq instead of
36550         catomic_compare_and_exchange_bool_acq.
36552 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36554         * elf/Makefile (others, install-bin): Remove pldd.
36555         (pldd-modules): Variable removed.
36556         ($(objpfx)pldd): Target removed.
36557         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36558         (others, install-bin): Append pldd here.
36559         ($(objpfx)pldd): New target.
36561         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36562         to 0, so the first #if test emitted later doesn't see it undefined.
36563         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36564         * sysdeps/gnu/errlist.c: Regenerated.
36566 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36568         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36569         [libc_hidden_builtin_def]: Define to empty value.
36570         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36571         [libc_hidden_builtin_def]: Likewise.
36572         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36573         [libc_hidden_builtin_def]: Likewise.
36574         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36575         [libc_hidden_builtin_def]: Likewise.
36576         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36577         __redirect_memcpy and define ifunc as default hidden symbol.
36578         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36579         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36581 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36583         * locale/iso-4217.def: Reintroduce XDR currency.
36585 2014-05-04  Allan McRae  <allan@archlinux.org>
36587         * po/eo.po: Update Esperanto translation from translation project.
36589 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36591         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36592         and FEATURE_INDEX_MAX to 1.
36593         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36595 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36597         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36598         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36599         * iconvdata/big5.c (ONE_DIRECTION): Define.
36600         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36601         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36602         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36603         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36604         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36605         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36606         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36607         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36608         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36609         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36610         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36611         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36612         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36613         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36614         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36615         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36616         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36617         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36618         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36619         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36620         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36621         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36622         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36623         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36624         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36625         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36626         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36627         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36628         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36629         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36630         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36631         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36632         * iconvdata/johab.c (ONE_DIRECTION): Define.
36633         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36634         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36635         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36636         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36637         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36638         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36639         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36640         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36641         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36642         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36644 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36646         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36647         (_IO_JUMPS_OFFSET): Define to 0.
36649         * nptl/sysdeps/pthread/bits/libc-lock.h
36650         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36651         (__libc_lock_define_initialized_recursive): Always define using
36652         initializer.  Modern compilers treat uninitialized (implicit zero) and
36653         explicit zero initializers the same (i.e. put the datum in bss).
36655 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36657         * nscd/nscd-client.h: Include <string.h>.
36659 2014-05-01  David S. Miller  <davem@davemloft.net>
36661         [BZ #16885]
36662         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36663         multiple zero bytes exist at the end of a string.
36664         Reported by Aurelien Jarno <aurelien@aurel32.net>
36666         * string/test-strcmp.c (check): Add explicit test for situations where
36667         there are multiple zero bytes after the first.
36669 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36671         [BZ #16890]
36672         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36673         when compiling wprintf.
36674         * stdio-common/tstdiomisc.c (t3): New function.
36675         (main): Call it.
36677 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36679         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36680         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36681         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36682         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36684 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36686         * stdlib/longlong.h: Updated from GCC.
36688 2014-05-01  Will Newton  <will.newton@linaro.org>
36689             Bernard Ogden  <bernie.ogden@linaro.org>
36691         * NEWS: Update fixed bug list.
36693         [BZ #15119]
36694         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36696 2014-04-30  David S. Miller  <davem@davemloft.net>
36698         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36699         (libc_feholdexcept_setround_sparc_ctx): New function.
36700         (libc_fesetenv_sparc_ctx): Likewise.
36701         (libc_feupdateenv_sparc_ctx): Likewise.
36702         (libc_feholdsetround_sparc_ctx): Likewise.
36703         (libc_feholdexcept_setround_ctx): Define.
36704         (libc_feholdexcept_setroundf_ctx): Likewise.
36705         (libc_feholdexcept_setroundl_ctx): Likewise.
36706         (libc_fesetenv_ctx): Likewise.
36707         (libc_fesetenvf_ctx): Likewise.
36708         (libc_fesetenvl_ctx): Likewise.
36709         (libc_feupdateenv_ctx): Likewise.
36710         (libc_feupdateenvf_ctx): Likewise.
36711         (libc_feupdateenvl_ctx): Likewise.
36712         (libc_feresetround_ctx): Likewise.
36713         (libc_feresetroundf_ctx): Likewise.
36714         (libc_feresetroundl_ctx): Likewise.
36715         (libc_feholdsetround_ctx): Likewise.
36716         (libc_feholdsetroundf_ctx): Likewise.
36717         (libc_feholdsetroundl_ctx): Likewise.
36719         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36720         with __USE_GNU instead of XOPEN cpp guards.
36722         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36723         0.
36725         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36726         with XOPEN cpp guards.
36728 2014-04-30  Julian Brown  <julian@codesourcery.com>
36730         [BZ #16888]
36731         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36732         handling.
36734 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36736         [BZ #9894]
36737         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36738         Change to 2.6.32.
36739         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36740         * sysdeps/unix/sysv/linux/configure: Regenerated.
36741         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36742         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36743         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36744         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36745         * README: Update reference to required Linux kernel version.
36746         * manual/install.texi (Linux): Update reference to required Linux
36747         kernel headers version.
36748         * INSTALL: Regenerated.
36750         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36751         header inclusion.
36752         [POSIX] (limits.h): Likewise.
36753         [POSIX] (math.h): Likewise.
36754         [POSIX] (sys/wait.h): Likewise.
36755         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36756         function.
36757         [POSIX] (stddef.h): Do not allow header inclusion.
36759 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36761         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36763 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36765         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36766         Return immediately after lll_futex_wake.
36768 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36770         [BZ #16791]
36771         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36772         structure.
36773         (datahead_init_pos): Call datahead_init_common early.
36774         (datahead_init_neg): Likewise.
36776         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36777         datahead_init_neg): New functions.
36778         * nscd/aicache.c (addhstaiX): Use them.
36779         * nscd/grpcache.c (cache_addgr): Likewise.
36780         * nscd/hstcache.c (cache_addhst): Likewise.
36781         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36782         * nscd/netgroupcache.c (do_notfound): Likewise.
36783         (addgetnetgrentX): Likewise.
36784         (addinnetgrX): Likewise.
36785         * nscd/pwdcache.c (cache_addpw): Likewise.
36786         * nscd/servicescache.c (cache_addserv): Likewise.
36788 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36789             Atsushi Onoe  <atsushi@onoe.org>
36791         [BZ #14308]
36792         [BZ #12994]
36793         [BZ #13651]
36794         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36795         one response is valid.
36796         * resolv/res_send.c (send_dg): Check for validity of other
36797         response if the current response is a referral.
36799 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36801         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36803 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36805         [BZ #16823]
36806         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36807         Always divide by positive zero when computing -Inf result.
36808         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36809         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36811 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36813         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36814         FPSCR if value do not change.
36815         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36816         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36817         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36818         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36819         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36820         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36821         function.
36823 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36825         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36826         * sysdeps/unix/sysv/linux/hppa: Move directory from
36827         ports/systeps/unix/sysv/linux/hppa.
36828         * README: Update listing for hppa-*-linux-gnu.
36830 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36832         [BZ #16754]
36833         * manual/stdio.texi (Hook functions): Fix types of stream hook
36834         functions.
36835         [BZ #16854]
36836         * socket/sys/socket.h: Fix typo in comment.
36838 2014-04-28  Wilco  <wdijkstr@arm.com>
36840         * sysdeps/arm/fenv_private.h: New file.
36841         * sysdeps/arm/math_private.h: New file.
36842         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36844 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36846         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36847         with __int128_t.
36848         (La_x86_64_retval): Likewise.
36850 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36852         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36853         fpsr if value didn't change.
36854         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36855         to fpcr if value didn't change.
36856         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36857         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36858         fpsr or fpcr if value didn't change.
36859         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36860         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36861         fpcr if value didn't change.
36862         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36863         to fpsr if value didn't change.
36865 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36867         * nptl/tst-sem3.c: Use test-skeleton.c
36868         (main): Rename to do_test.  Use return instead of
36869         exit.
36870         * nptl/tst-sem4.c: Use test-skeleton.c
36871         (main): Rename to do_test.
36873 2014-04-22  David S. Miller  <davem@davemloft.net>
36875         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36876         (struct sigaction): New struct member __glibc_reserved0, change
36877         type of sa_flags to int.
36879 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36881         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36882         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36884 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36886         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36887         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36889 2014-04-22  Will Newton  <will.newton@linaro.org>
36890             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36892         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36893         (__longjmp): Add longjmp and longjmp_target SystemTap
36894         probes.
36895         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36896         (__sigsetjmp): Add setjmp SystemTap probe.
36898 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36900         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36901         match manual order.
36903 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36905         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36907         * sysdeps/powerpc/fpu/fenv_private.h
36908         (libc_feholdexcept_setroundl_ctx): Define to
36909         libc_feholdexcept_setround_ppc_ctx.
36910         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36911         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36912         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36913         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36915 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36917         * sysdeps/aarch64/math-tests.h: New file.
36919 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36921         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36922         New.
36923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36924         Check and set bit_AVX2_Usable.
36925         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36926         macro.
36927         (bit_AVX2): Likewise.
36928         (index_AVX2_Usable): Likewise.
36929         (CPUID_AVX2): Likewise.
36930         (HAS_AVX2): Likewise.
36932 2014-04-17  Will Newton  <will.newton@linaro.org>
36934         * manual/setjmp.texi (System V contexts): Add note that
36935         calling setcontext on a context created by a call to a
36936         signal handler is undefined.  Update text to note that
36937         setcontext from a signal handler is possible but not
36938         recommended.
36940         [BZ #16629]
36941         * stdlib/tst-setcontext.c: Include signal.h.
36942         (main): Check that the signal stack before and
36943         after swapcontext is the same.
36945         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36946         Re-implement to restore registers in user code and avoid
36947         rt_sigreturn system call.
36949 2014-04-17  Wilco  <wdijkstr@arm.com>
36951         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36952         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36953         * math/test-fenv.c: Skip exception trap tests on targets which only
36954         support non-stop mode.
36956 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36957             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36959         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36960         (libc_feholdsetround_aarch64_ctx)
36961         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36962         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36963         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36964         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36965         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36966         (libc_feresetround_noexl_ctx): Define.
36968 2014-04-16  Richard Henderson  <rth@redhat.com>
36970         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36972         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36973         unwind tables.
36975         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36976         const from the non-libc, non-ldso copy.
36978         * sysdeps/alpha/libm-test-ulps: Regenerate.
36980 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36981             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36983         * sysdeps/aarch64/fpu/math_private.h: New file.
36985 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36987         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36989 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36991         [BZ #16275]
36992         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36993         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36995         Intel MPX bound registers before _dl_profile_fixup.
36996         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36997         registers after _dl_profile_fixup.  Save and restore bound
36998         registers bnd0/bnd1 when calling _dl_call_pltexit.
36999         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
37000         (LR_BND_OFFSET): Likewise.
37001         (LRV_BND0_OFFSET): Likewise.
37002         (LRV_BND1_OFFSET): Likewise.
37004 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37006         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
37007         to...
37008         * sysdeps/mach/hurd/i386/tls.h: ... here.
37009         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
37010         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
37011         fields.
37013 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37015         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
37017 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37019         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37021 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37023         [BZ #14770]
37024         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
37025         * sysdeps/s390/configure: Regenerate.
37027         [BZ #16824]
37028         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
37029         Set round-to-nearest internally to reduce error accumulation.
37031 2014-04-16  Alan Modra  <amodra@gmail.com>
37033         [BZ #16740]
37034         [BZ #16619]
37035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
37036         * math/libm-test.inc (frexp_test_data): Add tests.
37037         * NEWS: Update fixed bug list.
37039 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37041         * benchtests/Makefile: Depend on libraries in build directory.
37042         (bench-math): Separate out math tests.
37043         (bench-pthread): Separate out pthread tests.
37044         (bench): Include math and pthread tests.
37046 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
37048         [BZ #16831]
37049         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
37050         _dl_debug_initialize.
37052         * configure.ac: Remove SELinux header check.
37053         * configure: Regenerate.
37054         * nscd/selinux.c (perms): Array of const char* to permission names.
37055         (nscd_request_avc_has_perm): Call security_deny_unknown to find
37056         default policy. Call string_to_security_class and string_to_av_perm to
37057         translate strings. Enforce default policy and call avs_has_perm with
37058         results of translated strings.
37060 2014-04-13  David S. Miller  <davem@davemloft.net>
37062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37064 2014-04-12  Allan McRae  <allan@archlinux.org>
37066         [BZ #16838]
37067         * manual/string.texi (Collation Functions): Fix qsort argument
37068         order in example.
37069         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37071 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
37073         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
37074         Make the test a no-op if there are no exceptions defined.
37076 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
37078         * elf/Makefile (tests): make tst-dlopen-aout conditional on
37079         enable-hardcoded-path-in-tests
37081 2014-04-11  Will Newton  <will.newton@linaro.org>
37083         * benchtests/Makefile (extra-objs): Add json-lib.o.
37084         (bench-func): Tidy up JSON output.
37085         * benchtests/bench-skeleton.c: Include json-lib.h.
37086         (main): Use JSON library functions to do output of
37087         benchmark results.
37088         * benchtests/bench-timing-type.c (main): Output the
37089         timing type simply, leaving formatting to the user.
37090         * benchtests/json-lib.c: New file.
37091         * benchtests/json-lib.h: Likewise.
37093 2014-04-11  Torvald Riegel  <triegel@redhat.com>
37095         [BZ #15215]
37096         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
37097         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
37098         memory barriers.  Add comments.
37099         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37100         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
37101         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
37102         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
37103         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
37104         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
37106 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37108         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
37109         * sysdeps/s390/s390-64/configure.ac: ... this ...
37110         * sysdeps/s390/configure.ac: ... to here.
37111         * sysdeps/s390/s390-32/configure: Delete file.
37112         * sysdeps/s390/s390-64/configure: Delete file.
37113         * sysdeps/s390/configure: Regenerate.
37115 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
37117         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
37119 2014-04-11  Will Newton  <will.newton@linaro.org>
37121         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
37122         to zero if it is not defined elsewhere.  (mtrim): Test
37123         the value of MALLOC_DEBUG with #if rather than #ifdef.
37125 2014-04-10 Torvald Riegel  <triegel@redhat.com>
37127         * benchtests/pthread_once-inputs: New file.
37128         * benchtests/pthread_once-source.c: New file.
37129         * benchtests/README: Update documentation.
37131 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
37132             H.J. Lu  <hongjiu.lu@intel.com>
37134         [BZ #16275]
37135         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
37136         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
37137         * sysdeps/x86_64/configure: Regenerated.
37138         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
37139         macro.
37140         (REGISTER_SAVE_RAX): Likewise.
37141         (REGISTER_SAVE_RCX): Likewise.
37142         (REGISTER_SAVE_RDX): Likewise.
37143         (REGISTER_SAVE_RSI): Likewise.
37144         (REGISTER_SAVE_RDI): Likewise.
37145         (REGISTER_SAVE_R8): Likewise.
37146         (REGISTER_SAVE_R9): Likewise.
37147         (REGISTER_SAVE_BND0): Likewise.
37148         (REGISTER_SAVE_BND1): Likewise.
37149         (REGISTER_SAVE_BND2): Likewise.
37150         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
37151         bound registers when calling _dl_fixup.
37153 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37155         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
37156         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
37157         of its definition.
37158         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
37159         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
37160         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
37161         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
37162         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
37163         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
37164         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
37166 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
37168         [BZ #15514]
37169         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
37170         pathconf(_PC_NAME_MAX).
37172 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37174         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
37175         Remove macro usage.
37176         (__PTHREAD_SPINS): Move definition to ...
37177         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37178         (__PTHREAD_SPINS): ... here.
37179         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37180         (__PTHREAD_SPIN): Likewise.
37181         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
37182         (__PTHREAD_SPIN): Likewise.
37183         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
37184         (__PTHREAD_SPIN): Likewise.
37185         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
37186         (__PTHREAD_SPIN): Likewise.
37187         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37188         (__PTHREAD_SPIN): Likewise.
37189         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37190         (__PTHREAD_SPIN): Likewise.
37191         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
37192         (__PTHREAD_SPIN): Likewise.
37193         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37194         (__PTHREAD_SPIN): Likewise.
37195         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37196         (__PTHREAD_SPIN): Likewise.
37197         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37198         (__PTHREAD_SPIN): Likewise.
37199         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37200         (__PTHREAD_SPIN): Likewise.
37201         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
37202         (__PTHREAD_SPIN): Likewise.
37204         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
37205         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
37206         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
37207         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
37208         imply folder.
37209         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
37210         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
37211         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
37212         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
37213         correct imply path.
37214         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
37215         strlen symbol for non multi-arch builds.
37216         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
37217         missing hidden_def and weak_alias.
37219 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
37221         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
37223 2014-04-07  Will Newton  <will.newton@linaro.org>
37225         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
37226         and contents.  [!_LIBC] Remove #ifndef and contents.
37227         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
37228         * string/memccpy.c (__memccpy): Use ANSI prototype.
37229         * string/memfrob.c (memfrob): Likewise.
37230         * string/strcoll.c (STRCOLL): Likewise.
37231         * string/strlen.c (strlen): Likewise.
37232         * string/strtok.c (STRTOK): Likewise.
37233         * string/strcat.c: Remove unused #include of memcopy.h.
37234         (strcat): Use ANSI prototype.
37235         * string/strchr.c: Remove unused #include of memcopy.h.
37236         (strchr): Use ANSI prototype.
37237         * string/strcmp.c: Remove unused #include of memcopy.h.
37238         (strcmp): Use ANSI prototype.
37239         * string/strcpy.c: Remove unused #include of memcopy.h.
37240         (strcpy): Use ANSI prototype.
37242 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37244         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
37245         * config.make.in (config-extra-cppflags): Set it from
37246         libc_extra_cppflags.
37247         * configure.ac (libc_extra_cflags): Make it accumulate over
37248         configure fragments.
37249         (libc_extra_cppflags): New flag.
37250         * configure. Regenerate.
37251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
37252         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
37253         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
37254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
37256         [BZ #16815]
37257         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
37258         result for FE_DOWNWARD rounding mode.
37259         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
37260         Likewise.
37261         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37263 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
37265         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
37266         in function argument name.
37268 2014-04-03  David Svoboda  <svoboda@cert.org>
37270         [BZ #5666]
37271         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
37272         explicitly.
37274 2014-04-03  Roland McGrath  <roland@hack.frob.com>
37276         * elf/dl-unmap-segments.h: New file.
37277         * sysdeps/generic/ldsodefs.h
37278         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
37279         * elf/dl-close.c: Include <dl-unmap-segments.h>.
37280         * elf/dl-fptr.c: Likewise.
37281         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
37282         * sysdeps/aarch64/tlsdesc.c: Likewise.
37283         * sysdeps/arm/tlsdesc.c: Likewise.
37284         * sysdeps/i386/tlsdesc.c: Likewise.
37285         * sysdeps/tile/dl-runtime.c: Likewise.
37286         * sysdeps/x86_64/tlsdesc.c: Likewise.
37287         * elf/dl-load.h: New file.
37288         * elf/dl-load.c: Include it.
37289         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
37290         Macros moved to dl-load.h.
37291         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
37292         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
37293         Use _dl_unmap_segments in place of __munmap.
37294         Break out segment-mapping loop into ...
37295         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
37297 2014-04-03  Will Newton  <will.newton@linaro.org>
37299         * elf/dl-lookup.c (do_lookup_x): Remove comment
37300         referring to nested function and move variable
37301         declarations down to before first use.
37303 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
37305         [BZ #16799]
37306         [BZ #16800]
37307         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
37308         with 0 numerator.
37309         * math/s_catanf.c (__catanf): Likewise.
37310         * math/s_catanh.c (__catanh): Likewise.
37311         * math/s_catanhf.c (__catanhf): Likewise.
37312         * math/s_catanhl.c (__catanhl): Likewise.
37313         * math/s_catanl.c (__catanl): Likewise.
37314         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
37315         by positive zero when computing -Inf result.
37316         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
37317         (catanh_test): Likewise.
37318         * sysdeps/i386/fpu/libm-test-ulps: Update.
37319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37321         [BZ #16789]
37322         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
37323         instead of using underflowing value in computing result.
37324         * math/s_clog10.c (__clog10): Likewise.
37325         * math/s_clog10f.c (__clog10f): Likewise.
37326         * math/s_clog10l.c (__clog10l): Likewise.
37327         * math/s_clogf.c (__clogf): Likewise.
37328         * math/s_clogl.c (__clogl): Likewise.
37329         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
37330         (clog10_test): Likewise.
37331         * sysdeps/i386/fpu/libm-test-ulps: Update.
37332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37334 2014-04-02  Alan Modra  <amodra@gmail.com>
37336         [BZ #16739]
37337         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
37338         output when value is near a power of two.  Use int64_t for lx and
37339         remove casts.  Use decimal rather than hex exponent constants.
37340         Don't use long double multiplication when double will suffice.
37341         * math/libm-test.inc (nextafter_test_data): Add tests.
37342         * NEWS: Add 16739 and 16786 to bug list.
37344         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
37346         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
37348 2014-04-01  Will Newton  <will.newton@linaro.org>
37350         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
37351         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
37353 2014-04-01  Florian Weimer  <fweimer@redhat.com>
37355         [BZ #13347]
37356         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
37357         * nptl/tst-setuid2.c: New file.
37358         * nptl/Makefile (xtests): Add tst-setuid2.
37360 2014-04-01  Alan Modra  <amodra@gmail.com>
37362         [BZ #16786]
37363         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
37365 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37367         [BZ #6803]
37368         [BZ #6804]
37369         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
37370         set errno as appropriate.
37371         * math/w_scalbf.c (__scalbf): Likewise.
37372         * math/w_scalbl.c (__scalbl): Likewise.
37373         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
37374         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
37375         * math/libm-test.inc (scalb_test_data): Add errno expectations.
37376         Add more NaN tests.
37378         [BZ #16349]
37379         * math/w_atan2.c: Include <errno.h>.
37380         (__atan2): Set errno for result underflowing to zero.
37381         * math/w_atan2f.c: Include <errno.h>.
37382         (__atan2f): Set errno for result underflowing to zero.
37383         * math/w_atan2l.c: Include <errno.h>.
37384         (__atan2l): Set errno for result underflowing to zero.
37385         * math/auto-libm-test-in: Don't allow missing errno for some atan2
37386         tests.
37387         * math/auto-libm-test-out: Regenerated.
37389 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37391         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37392         Encode instruction correctly in little endian.
37393         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37394         Likewise.
37395         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37396         Likewise.
37397         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37398         Likewise.
37399         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37400         Likewise.
37402 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
37404         [BZ #9894]
37405         * sysdeps/unix/sysv/linux/kernel-features.h
37406         [__sparc__ && !__arch64__ && !__sparc_v9__]
37407         (__ASSUME_SET_ROBUST_LIST): Do not define.
37408         [__sparc__ && !__arch64__ && !__sparc_v9__]
37409         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37410         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
37411         Likewise.
37412         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37413         (__ASSUME_FUTEX_LOCK_PI): Undefine.
37414         (__ASSUME_REQUEUE_PI): Likewise.
37415         (__ASSUME_SET_ROBUST_LIST): Likewise.
37416         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37417         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
37418         Undefine.
37419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37420         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
37421         Likewise.
37422         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
37423         Likewise.
37424         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
37425         Likewise.
37426         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37427         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
37428         Undefine.
37429         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
37430         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
37431         Likewise.
37433         [BZ #16648]
37434         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
37436         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
37438 2014-03-31  Will Newton  <will.newton@linaro.org>
37440         * benchtests/Makefile (bench): Add ffs and ffsll to list
37441         of tests.
37442         * benchtests/ffs-inputs: New file.
37443         * benchtests/ffsll-inputs: Likewise.
37445 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
37447         [BZ #16770]
37448         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
37449         too large before casting to int.
37450         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
37451         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
37452         * math/libm-test.inc (scalb_test_data): Add more tests.
37454 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37456         * benchtests/Makefile (DETAILED_OPT): New make option.
37457         (bench-func): Run benchmark program with -d if DETAILED_OPT is
37458         set.
37459         * benchtests/bench-skeleton.c: Include stdbool.h.
37460         (main): Store and print timings per input.
37461         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
37462         member to each argument value.
37463         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
37464         (_print_arg_data): Initialize per-input timing to 0.
37466         * benchtests/Makefile (timing-type): New binary.
37467         (bench-clean): Also remove bench-timing-type.
37468         (bench): New target for timing-type.
37469         (bench-func): Print output in JSON format.
37470         * benchtests/bench-skeleton.c (main): Print output in JSON
37471         format.
37472         * benchtests/bench-timing-type.c: New file.
37473         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37474         (TIMING_PRINT_STATS): Remove.
37475         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37476         name separately.
37478         * benchtests/bench-modf.c: Remove.
37479         * benchtests/modf-inputs: New inputs file.
37481 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37483         [BZ #16362]
37484         * math/s_clog10.c (M_PI_LOG10E): New macro.
37485         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37486         imaginary parts are 0.
37487         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37488         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37489         imaginary parts are 0.
37490         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37491         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37492         imaginary parts are 0.
37493         * math/libm-test.inc (clog10_test_data): Update expected results
37494         for when real and imaginary parts are 0.
37496 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37498         * elf/dl-load.c: Finish conversion of __builtin_expect into
37499         __glibc_{un}likely.
37501 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37503         [BZ #16348]
37504         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37505         1+x for argument with exponent below -67.
37506         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37507         Likewise.
37508         * math/auto-libm-test-in: Add more tests of exp.
37509         * math/auto-libm-test-out: Regenerated.
37511 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37513         [BZ #16759]
37514         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37515         (nscd_getnetgrent): Use it.
37517         [BZ #16760]
37518         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37519         of stpcpy.
37521 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37523         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37524         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37525         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37526         (lll_robust_unlock): Remove out of line section. Use cfi
37527         intrinsics.
37528         (LLL_STUB_UNWIND_INFO*): Remove.
37529         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37530         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37531         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37532         (lll_robust_unlock): Remove out of line section. Use cfi
37533         intrinsics.
37534         (LLL_STUB_UNWIND_INFO*): Remove.
37536 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37538         [BZ #16758]
37539         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37540         blank values.
37542 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37544         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37546 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37548         [BZ #16198]
37549         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37550         fnstenv.
37551         * math/test-fenv-preserve.c: New file.
37552         * math/Makefile (tests): Add test-fenv-preserve.
37554 2014-03-26  Will Newton <will.newton@linaro.org>
37556         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37558 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37560         * scripts/versionlist.awk: Partition the version sets and emit all
37561         GLIBC_* (sorted) before all others (sorted).
37563 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37565         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37566         GLIBC_2.2.5 version.
37568 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37570         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37571         calls.
37573         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37574         previous change.
37576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37578 2014-03-25  Andreas Schwab  <schwab@suse.de>
37580         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37581         label to be used after in6ailist is initialized.
37583 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37585         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37586         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37588 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37590         [BZ #16357]
37591         [BZ #16599]
37592         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37593         min_plus_half.
37594         (fp_formats): Update initializers.
37595         (init_fp_formats): Initialize new field.
37596         (output_for_one_input_case): Allow underflow for results up to
37597         min_plus_half.
37598         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37599         * math/auto-libm-test-in: Don't mark some underflows from asin and
37600         atanh as spurious.
37601         * math/auto-libm-test-out: Regenerated.
37602         * sysdeps/i386/fpu/libm-test-ulps: Update.
37603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37605 2014-03-25  Andreas Schwab  <schwab@suse.de>
37607         * libio/Makefile (tst-ftell-partial-wide-ENV)
37608         (tst-ftell-active-handler-ENV): Define.
37610 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37612         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37614 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37616         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37618 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37620         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37621         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37622         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37624 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37626         [BZ #16634]
37627         * elf/dl-load.c (open_verify): Add mode parameter.
37628         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37629         (open_path): Change from boolean 'secure' to complete flag 'mode'
37630         (_dl_map_object): Adjust.
37631         * elf/Makefile (tests): Add tst-dlopen-aout.
37632         * elf/tst-dlopen-aout.c: New test.
37634 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37636         [BZ #16714]
37637         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37638         (struct stat): Rename member pad0 to __glibc_reserved0.
37640         [BZ #16712]
37641         * sysdeps/s390/s390-32/bits/wordsize.h
37642         (__WORDSIZE32_SIZE_ULONG): New define.
37643         * sysdeps/s390/s390-64/bits/wordsize.h
37644         (__WORDSIZE32_SIZE_ULONG): Likewise.
37645         * sysdeps/generic/stdint.h (SIZE_MAX):
37646         Define as UL if __WORDSIZE32_SIZE_ULONG.
37648         [BZ #16713]
37649         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37650         (__glibc_reserved0): New variable.
37651         (sa_flags): Change type to int.
37653         * posix/Makefile (before-compile): Use += before-compile instead
37654         of a :=.
37656         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37657         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37659 2014-03-20  Andreas Schwab  <schwab@suse.de>
37661         [BZ #16743]
37662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37663         non-matching result from nscd.
37665 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37667         * scripts/bench.py: Moved to ...
37668         * benchtests/scripts/bench.py: ... here.
37669         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37671 2014-03-24  Andreas Schwab  <schwab@suse.de>
37673         [BZ #16002]
37674         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37675         alloca_account and account alloca use for struct in6ailist.
37677 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37679         [BZ #16284]
37680         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37681         rounding mode to recompute results that overflow to infinity or
37682         underflow to zero.
37683         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37684         bug 16284.
37685         * math/auto-libm-test-out: Regenerated.
37686         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37687         (ccosh_test): Likewise.
37688         (csin_test_data): Use plus_oflow.
37689         (csin_test): Use ALL_RM_TEST.
37690         (csinh_test_data): Use plus_oflow.
37691         (csinh_test): Use ALL_RM_TEST.
37692         * sysdeps/i386/fpu/libm-test-ulps: Update.
37693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37695 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37697         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37698         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37699         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37701         [BZ #16731]
37702         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37703         when x - 1 is zero.
37704         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37705         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37706         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37708         argument is 1.
37709         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37710         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37711         zero.
37712         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37713         * sysdeps/i386/fpu/libm-test-ulps: Update.
37714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37716 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37718         * scripts/bench.pl: Remove file.
37719         * scripts/bench.py: New benchmark script.
37720         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37721         * benchtests/README: Mention python dependency.
37722         * scripts/pylintrc: New file.
37723         * scripts/pylint: New file.
37725         * bits/mathdef.h: Use #ifdef instead of #if.
37726         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37727         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37728         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37729         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37730         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37731         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37733 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37734             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37736         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37738         and strpbrk-ppc64 objects.
37739         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37740         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37741         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37742         multiarch strpbrk for POWER7.
37743         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37744         multiarch strpbrk for PPC64.
37745         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37746         ifunc selector.
37747         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37748         strpbrk for POWER7.
37750 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37752         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37753         (atan_test): Likewise.
37754         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37755         (atanh_test): Use ALL_RM_TEST.
37756         (atan2_test_data): Likewise.
37757         (cabs_test): Likewise.
37758         (cacosh_test): Likewise.
37759         (carg_test): Likewise.
37760         (casin_test): Likewise.
37761         (casinh_test): Likewise.
37762         (cbrt_test): Likewise.
37763         (csqrt_test): Likewise.
37764         (erf_test): Likewise.
37765         (erfc_test): Likewise.
37766         (pow10_test): Likewise.
37767         (exp2_test): Likewise.
37768         (hypot_test): Likewise.
37769         (j0_test): Likewise.
37770         (j1_test): Likewise.
37771         (lgamma_test): Likewise.
37772         (gamma_test): Likewise.
37773         (sincos_test): Likewise.
37774         (tanh_test): Likewise.
37775         (y0_test): Likewise.
37776         (y1_test): Likewise.
37777         * sysdeps/i386/fpu/libm-test-ulps: Update.
37778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37780 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37782         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37784         and strcspn-ppc64 objects.
37785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37786         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37787         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37788         multiarch strcspn for POWER7.
37789         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37790         multiarch strcspn for PPC64.
37791         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37792         ifunc selector.
37793         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37794         strcspn for POWER7.
37796 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37798         * math/gen-libm-test.pl (generate_testfile): Expect only function
37799         name as argument to AUTO_TESTS_* and pass results for all rounding
37800         modes to parse_args.
37801         (parse_auto_input): Separate inputs of automatic tests from
37802         outputs before storing in %auto_tests.
37803         * math/libm-test.inc (acos_test_data): Update call to
37804         AUTO_TESTS_f_f.
37805         (acos_test): Use ALL_RM_TEST.
37806         (acos_tonearest_test_data): Remove.
37807         (acos_test_tonearest): Likewise.
37808         (acos_towardzero_test_data): Likewise.
37809         (acos_test_towardzero): Likewise.
37810         (acos_downward_test_data): Likewise.
37811         (acos_test_downward): Likewise.
37812         (acos_upward_test_data): Likewise.
37813         (acos_test_upward): Likewise.
37814         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37815         (asin_test_data): Likewise.
37816         (asin_test): Use ALL_RM_TEST.
37817         (asin_tonearest_test_data): Remove.
37818         (asin_test_tonearest): Likewise.
37819         (asin_towardzero_test_data): Likewise.
37820         (asin_test_towardzero): Likewise.
37821         (asin_downward_test_data): Likewise.
37822         (asin_test_downward): Likewise.
37823         (asin_upward_test_data): Likewise.
37824         (asin_test_upward): Likewise.
37825         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37826         (atan_test_data): Likewise.
37827         (atanh_test_data): Likewise.
37828         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37829         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37830         (carg_test_data): Likewise.
37831         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37832         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37833         (ccosh_test_data): Likewise.
37834         (cexp_test_data): Likewise.
37835         (clog_test_data): Likewise.
37836         (clog10_test_data): Likewise.
37837         (cos_test_data): Update call to AUTO_TESTS_f_f.
37838         (cos_test): Use ALL_RM_TEST.
37839         (cos_tonearest_test_data): Remove.
37840         (cos_test_tonearest): Likewise.
37841         (cos_towardzero_test_data): Likewise.
37842         (cos_test_towardzero): Likewise.
37843         (cos_downward_test_data): Likewise.
37844         (cos_test_downward): Likewise.
37845         (cos_upward_test_data): Likewise.
37846         (cos_test_upward): Likewise.
37847         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37848         (cosh_test): Use ALL_RM_TEST.
37849         (cosh_tonearest_test_data): Remove.
37850         (cosh_test_tonearest): Likewise.
37851         (cosh_towardzero_test_data): Likewise.
37852         (cosh_test_towardzero): Likewise.
37853         (cosh_downward_test_data): Likewise.
37854         (cosh_test_downward): Likewise.
37855         (cosh_upward_test_data): Likewise.
37856         (cosh_test_upward): Likewise.
37857         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37858         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37859         (ctan_test_data): Likewise.
37860         (ctan_test): Use ALL_RM_TEST.
37861         (ctan_tonearest_test_data): Remove.
37862         (ctan_test_tonearest): Likewise.
37863         (ctan_towardzero_test_data): Likewise.
37864         (ctan_test_towardzero): Likewise.
37865         (ctan_downward_test_data): Likewise.
37866         (ctan_test_downward): Likewise.
37867         (ctan_upward_test_data): Likewise.
37868         (ctan_test_upward): Likewise.
37869         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37870         (ctanh_test): Use ALL_RM_TEST.
37871         (ctanh_tonearest_test_data): Remove.
37872         (ctanh_test_tonearest): Likewise.
37873         (ctanh_towardzero_test_data): Likewise.
37874         (ctanh_test_towardzero): Likewise.
37875         (ctanh_downward_test_data): Likewise.
37876         (ctanh_test_downward): Likewise.
37877         (ctanh_upward_test_data): Likewise.
37878         (ctanh_test_upward): Likewise.
37879         (erf_test_data): Update call to AUTO_TESTS_f_f.
37880         (erfc_test_data): Likewise.
37881         (exp_test_data): Likewise.
37882         (exp_test): Use ALL_RM_TEST.
37883         (exp_tonearest_test_data): Remove.
37884         (exp_test_tonearest): Likewise.
37885         (exp_towardzero_test_data): Likewise.
37886         (exp_test_towardzero): Likewise.
37887         (exp_downward_test_data): Likewise.
37888         (exp_test_downward): Likewise.
37889         (exp_upward_test_data): Likewise.
37890         (exp_test_upward): Likewise.
37891         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37892         (exp10_test): Use ALL_RM_TEST.
37893         (exp10_tonearest_test_data): Remove.
37894         (exp10_test_tonearest): Likewise.
37895         (exp10_towardzero_test_data): Likewise.
37896         (exp10_test_towardzero): Likewise.
37897         (exp10_downward_test_data): Likewise.
37898         (exp10_test_downward): Likewise.
37899         (exp10_upward_test_data): Likewise.
37900         (exp10_test_upward): Likewise.
37901         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37902         (expm1_test_data): Likewise.
37903         (expm1_test): Use ALL_RM_TEST.
37904         (expm1_tonearest_test_data): Remove.
37905         (expm1_test_tonearest): Likewise.
37906         (expm1_towardzero_test_data): Likewise.
37907         (expm1_test_towardzero): Likewise.
37908         (expm1_downward_test_data): Likewise.
37909         (expm1_test_downward): Likewise.
37910         (expm1_upward_test_data): Likewise.
37911         (expm1_test_upward): Likewise.
37912         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37913         (fma_test): Use ALL_RM_TEST.
37914         (fma_towardzero_test_data): Remove.
37915         (fma_test_towardzero): Likewise.
37916         (fma_downward_test_data): Likewise.
37917         (fma_test_downward): Likewise.
37918         (fma_upward_test_data): Likewise.
37919         (fma_test_upward): Likewise.
37920         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37921         (j0_test_data): Update call to AUTO_TESTS_f_f.
37922         (j1_test_data): Likewise.
37923         (jn_test_data): Update call to AUTO_TESTS_if_f.
37924         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37925         (log_test_data): Update call to AUTO_TESTS_f_f.
37926         (log10_test_data): Likewise.
37927         (log1p_test_data): Likewise.
37928         (log2_test_data): Likewise.
37929         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37930         (pow_tonearest_test_data): Likewise.
37931         (sin_test_data): Update call to AUTO_TESTS_f_f.
37932         (sin_test): Use ALL_RM_TEST.
37933         (sin_tonearest_test_data): Remove.
37934         (sin_test_tonearest): Likewise.
37935         (sin_towardzero_test_data): Likewise.
37936         (sin_test_towardzero): Likewise.
37937         (sin_downward_test_data): Likewise.
37938         (sin_test_downward): Likewise.
37939         (sin_upward_test_data): Likewise.
37940         (sin_test_upward): Likewise.
37941         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37942         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37943         (sinh_test): Use ALL_RM_TEST.
37944         (sinh_tonearest_test_data): Remove.
37945         (sinh_test_tonearest): Likewise.
37946         (sinh_towardzero_test_data): Likewise.
37947         (sinh_test_towardzero): Likewise.
37948         (sinh_downward_test_data): Likewise.
37949         (sinh_test_downward): Likewise.
37950         (sinh_upward_test_data): Likewise.
37951         (sinh_test_upward): Likewise.
37952         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37953         (sqrt_test): Use ALL_RM_TEST.
37954         (sqrt_tonearest_test_data): Remove.
37955         (sqrt_test_tonearest): Likewise.
37956         (sqrt_towardzero_test_data): Likewise.
37957         (sqrt_test_towardzero): Likewise.
37958         (sqrt_downward_test_data): Likewise.
37959         (sqrt_test_downward): Likewise.
37960         (sqrt_upward_test_data): Likewise.
37961         (sqrt_test_upward): Likewise.
37962         (tan_test_data): Update call to AUTO_TESTS_f_f.
37963         (tan_test): Use ALL_RM_TEST.
37964         (tan_tonearest_test_data): Remove.
37965         (tan_test_tonearest): Likewise.
37966         (tan_towardzero_test_data): Likewise.
37967         (tan_test_towardzero): Likewise.
37968         (tan_downward_test_data): Likewise.
37969         (tan_test_downward): Likewise.
37970         (tan_upward_test_data): Likewise.
37971         (tan_test_upward): Likewise.
37972         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37973         (tgamma_test_data): Likewise.
37974         (y0_test_data): Likewise.
37975         (y1_test_data): Likewise.
37976         (yn_test_data): Update call to AUTO_TESTS_if_f.
37977         (main): Do not call removed functions.
37979 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37981         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37982         (ldexp_test_data): Remove.
37983         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37984         scalbn_test_data.
37985         (scalb_test): Use ALL_RM_TEST.
37987 2014-03-19  Andreas Schwab  <schwab@suse.de>
37989         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37991 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37993         [BZ #16649]
37994         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37995         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37996         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37998         (__ASSUME_PREADV): Undefine.
37999         (__ASSUME_PWRITEV): Likewise.
38001 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38003         * bits/mman-linux.h: Add comment about non-Linux use.
38004         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
38005         bits/mman-linux.h resting place.
38007         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
38008         * bits/mman-linux.h: ... here.
38010 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38012         * conform/conformtest.pl: Add standard definition when calling C
38013         preprocessor on data files.
38014         (checknamespace): Remove unused variable.
38016 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38018         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
38019         minus_oflow, plus_uflow and minus_uflow in expected results.
38020         * math/libm-test.inc (scalbn_test_data): Add more tests of
38021         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
38022         minus_uflow.
38023         (scalbn_test): Use ALL_RM_TEST.
38024         (scalbln_test_data): Add more tests of negative arguments.  Use
38025         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
38026         (scalbln_test): Use ALL_RM_TEST.
38028 2014-03-18  Roland McGrath  <roland@hack.frob.com>
38030         * scripts/abilist.awk: Ignore symbols marked with .hidden.
38032 2014-03-18  Will Newton  <will.newton@linaro.org>
38034         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
38035         inaccurate comment.
38037 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
38039         * Makerules [!subdir] (check-abi): Exit with error status if a
38040         test failed.
38042 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38044         * math/libm-test.inc (nearbyint_test_data): Include all tests used
38045         for rint.  Include results for all rounding modes.
38046         (nearbyint_test): Use ALL_RM_TEST.
38047         (rint_test_data): Include all tests used for nearbyint.
38049 2014-03-17  Will Newton  <will.newton@linaro.org>
38051         * nptl/sysdeps/pthread/pthread.h: Revert previous
38052         change.
38054         * sysdeps/generic/ldsodefs.h: Revert previous
38055         change.
38057         * libio/genops.c: Revert previous change.
38058         * libio/libioP.h: Likewise.
38059         * stdio-common/vfprintf.c: Likewise.
38061         * sysdeps/generic/math_private.h: Revert previous
38062         change.
38064         * sysdeps/generic/math_private.h: Check whether
38065         HAVE_RM_CTX is defined with #ifdef rather
38066         than #if.
38068         * argp/argp-fmtstream.h: Check whether
38069         __STRICT_ANSI__ is defined with #ifdef rather
38070         than #if.
38071         * argp/argp.h: Likewise.
38073         * libio/genops.c: Check whether
38074         _IO_JUMPS_OFFSET is defined with #ifdef rather
38075         than #if.
38076         * libio/libioP.h: Likewise.
38077         * stdio-common/vfprintf.c: Likewise.
38079         * sysdeps/generic/ldsodefs.h: Check whether
38080         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
38081         than #if.
38083         * nptl/sysdeps/pthread/pthread.h: Check
38084         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
38085         its value.
38087 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38089         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
38090         setting O_APPEND.
38091         * libio/tst-ftell-active-handler.c (do_append_test): Add a
38092         test case.
38094         [BZ #16680]
38095         * libio/fileops.c (_IO_file_open): Seek to end of file but
38096         don't cache the offset.
38097         (get_file_offset): Remove function.
38098         (do_ftell): Use cached offset when available.
38099         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
38100         don't cache the offset.
38101         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
38102         case.
38103         (do_one_test): Call it.
38104         (do_ftell_test): Fix up expected old offset for a+ mode.
38105         * libio/wfileops.c (do_ftell_wide): Used cached offset when
38106         available.
38108         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
38109         up test status with function return status.
38110         (do_write_test): Likewise.
38111         (do_append_test): Likewise.
38113         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
38114         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
38115         Remove.
38117 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
38119         * math/gen-libm-test.pl (parse_args): Handle results specified for
38120         each rounding mode separately.
38121         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
38122         tests and results from lrint_tonearest_test_data,
38123         lrint_towardzero_test_data, lrint_downward_test_data and
38124         lrint_upward_test_data.
38125         (lrint_test): Use ALL_RM_TEST.
38126         (lrint_tonearest_test_data): Remove.
38127         (lrint_test_tonearest): Likewise.
38128         (lrint_towardzero_test_data): Likewise.
38129         (lrint_test_towardzero): Likewise.
38130         (lrint_downward_test_data): Likewise.
38131         (lrint_test_downward): Likewise.
38132         (lrint_upward_test_data): Likewise.
38133         (lrint_test_upward): Likewise.
38134         (llrint_test_data): Merge in per-rounding-mode tests and results
38135         from llrint_tonearest_test_data, llrint_towardzero_test_data,
38136         llrint_downward_test_data and llrint_upward_test_data.
38137         (llrint_test): Use ALL_RM_TEST.
38138         (llrint_tonearest_test_data): Remove.
38139         (llrint_test_tonearest): Likewise.
38140         (llrint_towardzero_test_data): Likewise.
38141         (llrint_test_towardzero): Likewise.
38142         (llrint_downward_test_data): Likewise.
38143         (llrint_test_downward): Likewise.
38144         (llrint_upward_test_data): Likewise.
38145         (llrint_test_upward): Likewise.
38146         (rint_test_data): Merge in per-rounding-mode tests and results
38147         from rint_tonearest_test_data, rint_towardzero_test_data,
38148         rint_downward_test_data and rint_upward_test_data.  Add
38149         per-rounding-mode results for tests not in those arrays.
38150         (rint_test): Use ALL_RM_TEST.
38151         (rint_tonearest_test_data): Remove.
38152         (rint_test_tonearest): Likewise.
38153         (rint_towardzero_test_data): Likewise.
38154         (rint_test_towardzero): Likewise.
38155         (rint_downward_test_data): Likewise.
38156         (rint_test_downward): Likewise.
38157         (rint_upward_test_data): Likewise.
38158         (rint_test_upward): Likewise.
38159         (main): Don't call removed functions.
38161 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38163         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
38164         "Compiled on ..." crapola.  It is anti-useful.
38166 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
38168         * scripts/evaluate-test.sh: Handle fourth argument to determine
38169         whether test run should stop on failure.
38170         * Makeconfig (stop-on-test-failure): New variable.
38171         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
38172         $(stop-on-test-failure).
38173         * Makefile (tests): Give a summary of results from testing and
38174         exit with failure status if they include an ERROR or FAIL.
38175         (xtests): Likewise.
38176         * manual/install.texi (Configuring and compiling): Mention
38177         stop-on-test-failure=y.
38178         * INSTALL: Regenerated.
38180 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38182         * scripts/versionlist.awk: New file.
38183         * Makerules [$(build-shared) = yes]
38184         (postclean-generated): Add Versions.def, not Versions.def.v and
38185         Versions.def.v.i.
38186         ($(common-objpfx)Versions.def.v.i): Target removed.
38187         ($(common-objpfx)Versions.def): New target.
38188         ($(common-objpfx)Versions.all): Depend on that rather that
38189         $(common-objpfx)Versions.def.v.
38190         * Versions.def: File removed.
38192         * Makeconfig (+gccwarn): Add -Wundef.
38193         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
38194         a dl-sysdep.h breaking its contract.
38195         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
38196         * include/stackinfo.h: New file.
38197         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
38198         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
38199         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
38200         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
38201         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
38202         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
38203         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38204         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38205         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38206         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38207         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38208         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
38209         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38210         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38211         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
38213 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38215         [BZ #16707]
38216         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38217         implementation.
38218         * math/libm-test.inc (round_test_data): Add more tests.
38220         [BZ #16706]
38221         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
38222         implementation.
38223         * math/libm-test.inc (nearbyint_test_data): Add more tests.
38225         [BZ #16701]
38226         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
38227         implementation.
38228         * math/libm-test.inc (ceil_test_data): Add more tests.
38230         * math/libm-test.inc (trunc_test_data): Add more tests related to
38231         BZ#16414.
38233 2014-03-14  Roland McGrath  <roland@hack.frob.com>
38235         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
38236         with #if rather than #ifdef.
38237         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
38239 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
38241         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
38242         first.  Disable AVX-512 GCC support if assembler doesn't support
38243         it.
38244         * sysdeps/x86_64/configure: Regenerated.
38246 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
38248         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
38249         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
38250         (__old_pthread_attr_setstack): Likewise.
38251         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
38252         [!_STACK_GROWS_DOWN]: Likewise.
38254 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
38256         * config.make.in (have-bash2): Delete.
38257         * configure.ac (libc_cv_have_bash2): Delete.
38258         * configure: Regenerate.
38259         * elf/Makefile (common-ldd-rewrite): Rename to ...
38260         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
38261         (sh-ldd-rewrite): Delete.
38262         (bash-ldd-rewrite): Delete.
38263         (have-bash2): Delete checks.
38264         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
38265         ldd-rewrite.
38267         * config.make.in (have-ksh): Delete.
38268         (KSH): Delete.
38269         * configure.ac (libc_cv_have_ksh): Delete.
38270         * configure: Regenerate.
38272         * elf/Makefile: Delete $(have-ksh) check.
38273         ($(objpfx)sotruss): Change KSH to BASH.
38274         * elf/sotruss.ksh: Rename to ...
38275         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
38276         function style to match POSIX.  Drop ksh vim mode setting.
38278         * manual/time.texi (Specifying the Time Zone with TZ): Change
38279         Tuesday to Thursday.
38281         * debug/tst-longjmp_chk2.c: Update header comment.
38282         (stackoverflow_handler): Add comment.  Call assert on pass value.
38284 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
38286         [BZ #16194]
38287         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
38288         (HAVE_AVX512_ASM_SUPPORT): Likewise.
38289         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
38290         (La_x86_64_vector): Add zmm.
38291         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
38292         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
38293         ($(objpfx)tst-audit10): New target.
38294         ($(objpfx)tst-audit10.out): Likewise.
38295         (tst-audit10-ENV): New.
38296         (AVX512-CFLAGS): Likewise.
38297         (CFLAGS-tst-audit10.c): Likewise.
38298         (CFLAGS-tst-auditmod10a.c): Likewise.
38299         (CFLAGS-tst-auditmod10b.c): Likewise.
38300         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
38301         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
38302         * sysdeps/x86_64/configure: Regenerated.
38303         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
38304         AVX-512 zmm register support.
38305         (_dl_x86_64_save_sse): Likewise.
38306         (_dl_x86_64_restore_sse): Likewise.
38307         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
38308         size vector registers.
38309         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
38310         (ZMM_SIZE): Likewise.
38311         * sysdeps/x86_64/tst-audit10.c: New file.
38312         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
38313         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
38315 2014-03-13  Roland McGrath  <roland@hack.frob.com>
38317         * configure.ac (HAVE_EHDR_START): New check.
38318         * configure: Regenerated.
38319         * config.h.in (HAVE_EHDR_START): New #undef.
38320         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
38321         assuming the lowest-addressed segment maps the start of the file.
38323 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
38325         * INSTALL: Regenerated.
38327 2014-03-13  Will Newton  <will.newton@linaro.org>
38329         * manual/setjmp.texi (System V contexts): Improve
38330         clarity and grammar of documentation.
38332 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
38334         [BZ #16381]
38335         * elf/Makefile (tests): Add tst-pie2.
38336         (tests-pie): Add tst-pie2.
38337         * elf/tst-pie2.c: New file.
38338         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
38339         for ET_EXEC.
38340         * elf/rtld.c (map_doit): Load executable as lt_executable.
38341         (dl_main): Likewise.
38343 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
38345         [BZ #16642]
38346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38347         (__ASSUME_PSELECT): Undefine.
38349 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38351         [BZ #16689]
38352         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
38353         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
38354         static build.
38355         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
38356         selector for static builds.
38358 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38360         [BZ #16695]
38361         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
38362         key in the buffer.
38364 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38366         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
38367         IFUNC selector for static builds.
38369 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
38371         * sysdeps/mips/math_private.h [__mips_hard_float]
38372         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
38373         libc_feresetround_mips_ctx.
38374         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
38375         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
38376         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
38378         [BZ #16677]
38379         * math/s_nextafter.c (__nextafter): Do not return value from
38380         overflowing computation.
38381         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
38382         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
38383         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
38384         Likewise.
38385         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
38386         Likewise.
38387         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
38388         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
38390 2014-03-11  Roland McGrath  <roland@hack.frob.com>
38392         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
38393         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
38394         Move sfi_sp use from the load-multiple (that no longer sets sp) to
38395         the new mov targetting sp.
38397 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38399         [BZ #16683]
38400         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
38401         Define it for static builds as well.
38402         (NO_BZERO_IMPL): Likewise.
38404 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38406         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
38407         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
38408         multiarch strspn for PPC64.
38409         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
38410         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
38411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38412         (__libc_ifunc_impl_list): Likewise.
38413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
38414         multiarch optimizations
38415         * string/strspn.c (strspn): Using macro to redefine symbol name.
38417 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38418             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38420         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
38421         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
38422         multiarch strncat for PPC64.
38423         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
38424         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
38425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38426         (__libc_ifunc_impl_list): Likewise.
38427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
38428         multiarch optimizations
38430 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38432         [BZ #16639]
38433         * nscd/nscd.service: Make service type forking.
38435 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38437         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
38438         sign in non default rounding modes.
38439         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
38441 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
38443         * math/libm-test.inc (ALL_RM_TEST): New macro.
38444         (ceil_test): Use ALL_RM_TEST.
38445         (cimag_test): Likewise.
38446         (conj_test): Likewise.
38447         (copysign_test): Likewise.
38448         (cproj_test): Likewise.
38449         (creal_test): Likewise.
38450         (fabs_test): Likewise.
38451         (floor_test): Likewise.
38452         (fmax_test): Likewise.
38453         (fmin_test): Likewise.
38454         (fmod_test): Likewise.
38455         (fpclassify_test): Likewise.
38456         (frexp_test): Likewise.
38457         (ilogb_test): Likewise.
38458         (isfinite_test): Likewise.
38459         (finite_test): Likewise.
38460         (isgreater_test): Likewise.
38461         (isgreaterequal_test): Likewise.
38462         (isinf_test): Likewise.
38463         (isless_test): Likewise.
38464         (islessequal_test): Likewise.
38465         (islessgreater_test): Likewise.
38466         (isnan_test): Likewise.
38467         (isnormal_test): Likewise.
38468         (issignaling_test): Likewise.
38469         (isunordered_test): Likewise.
38470         (logb_test): Likewise.
38471         (logb_downward_test_data): Remove.
38472         (logb_test_downward): Likewise.
38473         (lround_test): Use ALL_RM_TEST.
38474         (llround_test): Likewise.
38475         (modf_test): Likewise.
38476         (nexttoward_test): Likewise.
38477         (remainder_test): Likewise.
38478         (drem_test): Likewise.
38479         (remainder_tonearest_test_data): Likewise.
38480         (remainder_test_tonearest): Likewise.
38481         (drem_test_tonearest): Likewise.
38482         (remainder_towardzero_test_data): Likewise.
38483         (remainder_test_towardzero): Likewise.
38484         (drem_test_towardzero): Likewise.
38485         (remainder_downward_test_data): Likewise.
38486         (remainder_test_downward): Likewise.
38487         (drem_test_downward): Likewise.
38488         (remainder_upward_test_data): Likewise.
38489         (remainder_test_upward): Likewise.
38490         (drem_test_upward): Likewise.
38491         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38492         (round_test): Use ALL_RM_TEST.
38493         (signbit_test): Likewise.
38494         (trunc_test): Likewise.
38495         (significand_test): Likewise.
38496         (main): Don't call removed functions.
38498 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38500         [BZ #16674]
38501         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38502         || __USE_XOPEN2K8].
38503         (ILL_ILLOPN): Likewise.
38504         (ILL_ILLADR): Likewise.
38505         (ILL_ILLTRP): Likewise.
38506         (ILL_PRVOPC): Likewise.
38507         (ILL_PRVREG): Likewise.
38508         (ILL_COPROC): Likewise.
38509         (ILL_BADSTK): Likewise.
38510         (FPE_INTDIV): Likewise.
38511         (FPE_INTOVF): Likewise.
38512         (FPE_FLTDIV): Likewise.
38513         (FPE_FLTOVF): Likewise.
38514         (FPE_FLTUND): Likewise.
38515         (FPE_FLTRES): Likewise.
38516         (FPE_FLTINV): Likewise.
38517         (FPE_FLTSUB): Likewise.
38518         (SEGV_MAPERR): Likewise.
38519         (SEGV_ACCERR): Likewise.
38520         (BUS_ADRALN): Likewise.
38521         (BUS_ADRERR): Likewise.
38522         (BUS_OBJERR): Likewise.
38523         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38524         (TRAP_TRACE): Likewise.
38525         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38526         __USE_XOPEN2K8].
38527         (CLD_KILLED): Likewise.
38528         (CLD_DUMPED): Likewise.
38529         (CLD_TRAPPED): Likewise.
38530         (CLD_STOPPED): Likewise.
38531         (CLD_CONTINUED): Likewise.
38532         (POLL_IN): Likewise.
38533         (POLL_OUT): Likewise.
38534         (POLL_MSG): Likewise.
38535         (POLL_ERR): Likewise.
38536         (POLL_PRI): Likewise.
38537         (POLL_HUP): Likewise.
38538         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38539         Likewise.
38540         (ILL_ILLOPN): Likewise.
38541         (ILL_ILLADR): Likewise.
38542         (ILL_ILLTRP): Likewise.
38543         (ILL_PRVOPC): Likewise.
38544         (ILL_PRVREG): Likewise.
38545         (ILL_COPROC): Likewise.
38546         (ILL_BADSTK): Likewise.
38547         (FPE_INTDIV): Likewise.
38548         (FPE_INTOVF): Likewise.
38549         (FPE_FLTDIV): Likewise.
38550         (FPE_FLTOVF): Likewise.
38551         (FPE_FLTUND): Likewise.
38552         (FPE_FLTRES): Likewise.
38553         (FPE_FLTINV): Likewise.
38554         (FPE_FLTSUB): Likewise.
38555         (SEGV_MAPERR): Likewise.
38556         (SEGV_ACCERR): Likewise.
38557         (BUS_ADRALN): Likewise.
38558         (BUS_ADRERR): Likewise.
38559         (BUS_OBJERR): Likewise.
38560         (BUS_MCEERR_AR): Likewise.
38561         (BUS_MCEERR_AO): Likewise.
38562         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38563         (TRAP_TRACE): Likewise.
38564         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38565         __USE_XOPEN2K8].
38566         (CLD_KILLED): Likewise.
38567         (CLD_DUMPED): Likewise.
38568         (CLD_TRAPPED): Likewise.
38569         (CLD_STOPPED): Likewise.
38570         (CLD_CONTINUED): Likewise.
38571         (POLL_IN): Likewise.
38572         (POLL_OUT): Likewise.
38573         (POLL_MSG): Likewise.
38574         (POLL_ERR): Likewise.
38575         (POLL_PRI): Likewise.
38576         (POLL_HUP): Likewise.
38577         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38578         (ILL_ILLOPN): Likewise.
38579         (ILL_ILLADR): Likewise.
38580         (ILL_ILLTRP): Likewise.
38581         (ILL_PRVOPC): Likewise.
38582         (ILL_PRVREG): Likewise.
38583         (ILL_COPROC): Likewise.
38584         (ILL_BADSTK): Likewise.
38585         (FPE_INTDIV): Likewise.
38586         (FPE_INTOVF): Likewise.
38587         (FPE_FLTDIV): Likewise.
38588         (FPE_FLTOVF): Likewise.
38589         (FPE_FLTUND): Likewise.
38590         (FPE_FLTRES): Likewise.
38591         (FPE_FLTINV): Likewise.
38592         (FPE_FLTSUB): Likewise.
38593         (SEGV_MAPERR): Likewise.
38594         (SEGV_ACCERR): Likewise.
38595         (BUS_ADRALN): Likewise.
38596         (BUS_ADRERR): Likewise.
38597         (BUS_OBJERR): Likewise.
38598         (BUS_MCEERR_AR): Likewise.
38599         (BUS_MCEERR_AO): Likewise.
38600         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38601         (TRAP_TRACE): Likewise.
38602         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38603         __USE_XOPEN2K8].
38604         (CLD_KILLED): Likewise.
38605         (CLD_DUMPED): Likewise.
38606         (CLD_TRAPPED): Likewise.
38607         (CLD_STOPPED): Likewise.
38608         (CLD_CONTINUED): Likewise.
38609         (POLL_IN): Likewise.
38610         (POLL_OUT): Likewise.
38611         (POLL_MSG): Likewise.
38612         (POLL_ERR): Likewise.
38613         (POLL_PRI): Likewise.
38614         (POLL_HUP): Likewise.
38615         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38616         Likewise.
38617         (ILL_ILLOPN): Likewise.
38618         (ILL_ILLADR): Likewise.
38619         (ILL_ILLTRP): Likewise.
38620         (ILL_PRVOPC): Likewise.
38621         (ILL_PRVREG): Likewise.
38622         (ILL_COPROC): Likewise.
38623         (ILL_BADSTK): Likewise.
38624         (ILL_BADIADDR): Likewise.
38625         (ILL_BREAK): Likewise.
38626         (FPE_INTDIV): Likewise.
38627         (FPE_INTOVF): Likewise.
38628         (FPE_FLTDIV): Likewise.
38629         (FPE_FLTOVF): Likewise.
38630         (FPE_FLTUND): Likewise.
38631         (FPE_FLTRES): Likewise.
38632         (FPE_FLTINV): Likewise.
38633         (FPE_FLTSUB): Likewise.
38634         (FPE_DECOVF): Likewise.
38635         (FPE_DECDIV): Likewise.
38636         (FPE_DECERR): Likewise.
38637         (FPE_INVASC): Likewise.
38638         (FPE_INVDEC): Likewise.
38639         (SEGV_MAPERR): Likewise.
38640         (SEGV_ACCERR): Likewise.
38641         (SEGV_PSTKOVF): Likewise.
38642         (BUS_ADRALN): Likewise.
38643         (BUS_ADRERR): Likewise.
38644         (BUS_OBJERR): Likewise.
38645         (BUS_MCEERR_AR): Likewise.
38646         (BUS_MCEERR_AO): Likewise.
38647         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38648         (TRAP_TRACE): Likewise.
38649         (TRAP_BRANCH): Likewise.
38650         (TRAP_HWBKPT): Likewise.
38651         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38652         __USE_XOPEN2K8].
38653         (CLD_KILLED): Likewise.
38654         (CLD_DUMPED): Likewise.
38655         (CLD_TRAPPED): Likewise.
38656         (CLD_STOPPED): Likewise.
38657         (CLD_CONTINUED): Likewise.
38658         (POLL_IN): Likewise.
38659         (POLL_OUT): Likewise.
38660         (POLL_MSG): Likewise.
38661         (POLL_ERR): Likewise.
38662         (POLL_PRI): Likewise.
38663         (POLL_HUP): Likewise.
38664         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38665         (ILL_ILLOPN): Likewise.
38666         (ILL_ILLADR): Likewise.
38667         (ILL_ILLTRP): Likewise.
38668         (ILL_PRVOPC): Likewise.
38669         (ILL_PRVREG): Likewise.
38670         (ILL_COPROC): Likewise.
38671         (ILL_BADSTK): Likewise.
38672         (FPE_INTDIV): Likewise.
38673         (FPE_INTOVF): Likewise.
38674         (FPE_FLTDIV): Likewise.
38675         (FPE_FLTOVF): Likewise.
38676         (FPE_FLTUND): Likewise.
38677         (FPE_FLTRES): Likewise.
38678         (FPE_FLTINV): Likewise.
38679         (FPE_FLTSUB): Likewise.
38680         (SEGV_MAPERR): Likewise.
38681         (SEGV_ACCERR): Likewise.
38682         (BUS_ADRALN): Likewise.
38683         (BUS_ADRERR): Likewise.
38684         (BUS_OBJERR): Likewise.
38685         (BUS_MCEERR_AR): Likewise.
38686         (BUS_MCEERR_AO): Likewise.
38687         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38688         (TRAP_TRACE): Likewise.
38689         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38690         __USE_XOPEN2K8].
38691         (CLD_KILLED): Likewise.
38692         (CLD_DUMPED): Likewise.
38693         (CLD_TRAPPED): Likewise.
38694         (CLD_STOPPED): Likewise.
38695         (CLD_CONTINUED): Likewise.
38696         (POLL_IN): Likewise.
38697         (POLL_OUT): Likewise.
38698         (POLL_MSG): Likewise.
38699         (POLL_ERR): Likewise.
38700         (POLL_PRI): Likewise.
38701         (POLL_HUP): Likewise.
38702         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38703         (ILL_ILLOPN): Likewise.
38704         (ILL_ILLADR): Likewise.
38705         (ILL_ILLTRP): Likewise.
38706         (ILL_PRVOPC): Likewise.
38707         (ILL_PRVREG): Likewise.
38708         (ILL_COPROC): Likewise.
38709         (ILL_BADSTK): Likewise.
38710         (FPE_INTDIV): Likewise.
38711         (FPE_INTOVF): Likewise.
38712         (FPE_FLTDIV): Likewise.
38713         (FPE_FLTOVF): Likewise.
38714         (FPE_FLTUND): Likewise.
38715         (FPE_FLTRES): Likewise.
38716         (FPE_FLTINV): Likewise.
38717         (FPE_FLTSUB): Likewise.
38718         (SEGV_MAPERR): Likewise.
38719         (SEGV_ACCERR): Likewise.
38720         (BUS_ADRALN): Likewise.
38721         (BUS_ADRERR): Likewise.
38722         (BUS_OBJERR): Likewise.
38723         (BUS_MCEERR_AR): Likewise.
38724         (BUS_MCEERR_AO): Likewise.
38725         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38726         (TRAP_TRACE): Likewise.
38727         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38728         __USE_XOPEN2K8].
38729         (CLD_KILLED): Likewise.
38730         (CLD_DUMPED): Likewise.
38731         (CLD_TRAPPED): Likewise.
38732         (CLD_STOPPED): Likewise.
38733         (CLD_CONTINUED): Likewise.
38734         (POLL_IN): Likewise.
38735         (POLL_OUT): Likewise.
38736         (POLL_MSG): Likewise.
38737         (POLL_ERR): Likewise.
38738         (POLL_PRI): Likewise.
38739         (POLL_HUP): Likewise.
38740         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38741         (ILL_ILLOPN): Likewise.
38742         (ILL_ILLADR): Likewise.
38743         (ILL_ILLTRP): Likewise.
38744         (ILL_PRVOPC): Likewise.
38745         (ILL_PRVREG): Likewise.
38746         (ILL_COPROC): Likewise.
38747         (ILL_BADSTK): Likewise.
38748         (FPE_INTDIV): Likewise.
38749         (FPE_INTOVF): Likewise.
38750         (FPE_FLTDIV): Likewise.
38751         (FPE_FLTOVF): Likewise.
38752         (FPE_FLTUND): Likewise.
38753         (FPE_FLTRES): Likewise.
38754         (FPE_FLTINV): Likewise.
38755         (FPE_FLTSUB): Likewise.
38756         (SEGV_MAPERR): Likewise.
38757         (SEGV_ACCERR): Likewise.
38758         (BUS_ADRALN): Likewise.
38759         (BUS_ADRERR): Likewise.
38760         (BUS_OBJERR): Likewise.
38761         (BUS_MCEERR_AR): Likewise.
38762         (BUS_MCEERR_AO): Likewise.
38763         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38764         (TRAP_TRACE): Likewise.
38765         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38766         __USE_XOPEN2K8].
38767         (CLD_KILLED): Likewise.
38768         (CLD_DUMPED): Likewise.
38769         (CLD_TRAPPED): Likewise.
38770         (CLD_STOPPED): Likewise.
38771         (CLD_CONTINUED): Likewise.
38772         (POLL_IN): Likewise.
38773         (POLL_OUT): Likewise.
38774         (POLL_MSG): Likewise.
38775         (POLL_ERR): Likewise.
38776         (POLL_PRI): Likewise.
38777         (POLL_HUP): Likewise.
38778         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38779         (ILL_ILLOPN): Likewise.
38780         (ILL_ILLADR): Likewise.
38781         (ILL_ILLTRP): Likewise.
38782         (ILL_PRVOPC): Likewise.
38783         (ILL_PRVREG): Likewise.
38784         (ILL_COPROC): Likewise.
38785         (ILL_BADSTK): Likewise.
38786         (ILL_DBLFLT): Likewise.
38787         (ILL_HARDWALL): Likewise.
38788         (FPE_INTDIV): Likewise.
38789         (FPE_INTOVF): Likewise.
38790         (FPE_FLTDIV): Likewise.
38791         (FPE_FLTOVF): Likewise.
38792         (FPE_FLTUND): Likewise.
38793         (FPE_FLTRES): Likewise.
38794         (FPE_FLTINV): Likewise.
38795         (FPE_FLTSUB): Likewise.
38796         (SEGV_MAPERR): Likewise.
38797         (SEGV_ACCERR): Likewise.
38798         (BUS_ADRALN): Likewise.
38799         (BUS_ADRERR): Likewise.
38800         (BUS_OBJERR): Likewise.
38801         (BUS_MCEERR_AR): Likewise.
38802         (BUS_MCEERR_AO): Likewise.
38803         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38804         (TRAP_TRACE): Likewise.
38805         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38806         __USE_XOPEN2K8].
38807         (CLD_KILLED): Likewise.
38808         (CLD_DUMPED): Likewise.
38809         (CLD_TRAPPED): Likewise.
38810         (CLD_STOPPED): Likewise.
38811         (CLD_CONTINUED): Likewise.
38812         (POLL_IN): Likewise.
38813         (POLL_OUT): Likewise.
38814         (POLL_MSG): Likewise.
38815         (POLL_ERR): Likewise.
38816         (POLL_PRI): Likewise.
38817         (POLL_HUP): Likewise.
38818         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38819         (ILL_ILLOPN): Likewise.
38820         (ILL_ILLADR): Likewise.
38821         (ILL_ILLTRP): Likewise.
38822         (ILL_PRVOPC): Likewise.
38823         (ILL_PRVREG): Likewise.
38824         (ILL_COPROC): Likewise.
38825         (ILL_BADSTK): Likewise.
38826         (FPE_INTDIV): Likewise.
38827         (FPE_INTOVF): Likewise.
38828         (FPE_FLTDIV): Likewise.
38829         (FPE_FLTOVF): Likewise.
38830         (FPE_FLTUND): Likewise.
38831         (FPE_FLTRES): Likewise.
38832         (FPE_FLTINV): Likewise.
38833         (FPE_FLTSUB): Likewise.
38834         (SEGV_MAPERR): Likewise.
38835         (SEGV_ACCERR): Likewise.
38836         (BUS_ADRALN): Likewise.
38837         (BUS_ADRERR): Likewise.
38838         (BUS_OBJERR): Likewise.
38839         (BUS_MCEERR_AR): Likewise.
38840         (BUS_MCEERR_AO): Likewise.
38841         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38842         (TRAP_TRACE): Likewise.
38843         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38844         __USE_XOPEN2K8].
38845         (CLD_KILLED): Likewise.
38846         (CLD_DUMPED): Likewise.
38847         (CLD_TRAPPED): Likewise.
38848         (CLD_STOPPED): Likewise.
38849         (CLD_CONTINUED): Likewise.
38850         (POLL_IN): Likewise.
38851         (POLL_OUT): Likewise.
38852         (POLL_MSG): Likewise.
38853         (POLL_ERR): Likewise.
38854         (POLL_PRI): Likewise.
38855         (POLL_HUP): Likewise.
38856         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38857         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38859         [BZ #16670]
38860         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38861         before #include of <time.h>.
38862         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38863         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38864         (test-xfail-UNIX98/sched.h/conform): Likewise.
38866 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38868         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38869         error absence of trapping exception support.
38870         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38872 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38874         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38875         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38876         * timezone/Makefile (testdata): Move definition above include of
38877         Rules.
38878         (test-zones): New variable.
38879         (tests-special): Add zone files.
38880         (build-testdata): Use $(evaluate-test).
38882         * elf/Makefile (tests-special): Rename tests to end with .out.
38883         ($(objpfx)noload-mem): Likewise.
38884         ($(objpfx)tst-leaks1-mem): Likewise.
38885         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38886         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38887         $(objpfx)test-iconvconfig.out.
38888         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38889         set -e inside subshell and redirect output to file.
38890         * iconvdata/Makefile (generated): Rename tests to end with .out.
38891         Correct type.
38892         (tests-special): Rename tests to end with .out.
38893         ($(objpfx)mtrace-tst-loading): Likewise.
38894         * intl/Makefile (generated): Likewise.
38895         (tests-special): Likewise.
38896         ($(objpfx)mtrace-tst-gettext): Likewise.
38897         * misc/Makefile (generated): Likewise.
38898         (tests-special): Likewise.
38899         ($(objpfx)tst-error1-mem): Likewise.
38900         * nptl/Makefile (tests-special): Likewise.
38901         ($(objpfx)tst-stack3-mem): Likewise.
38902         (generated): Likewise.
38903         * posix/Makefile (generated): Likewise.
38904         (tests-special): Likewise.
38905         (xtests-special): Likewise.
38906         ($(objpfx)tst-fnmatch-mem): Likewise.
38907         ($(objpfx)bug-regex2-mem): Likewise.
38908         ($(objpfx)bug-regex14-mem): Likewise.
38909         ($(objpfx)bug-regex21-mem): Likewise.
38910         ($(objpfx)bug-regex31-mem): Likewise.
38911         ($(objpfx)tst-vfork3-mem): Likewise.
38912         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38913         ($(objpfx)tst-pcre-mem): Likewise.
38914         ($(objpfx)tst-boost-mem): Likewise.
38915         ($(objpfx)bug-ga2-mem): Likewise.
38916         ($(objpfx)bug-glob2-mem): Likewise.
38917         * resolv/Makefile (generate): Likewise.
38918         (tests-special): Likewise.
38919         (xtests-special): Likewise.
38920         (generated): Likewise.
38921         ($(objpfx)mtrace-tst-leaks): Likewise.
38922         ($(objpfx)mtrace-tst-leaks2): Likewise.
38924         * scripts/merge-test-results.sh: New file.
38925         * Makefile (tests-special-notdir): New variable.
38926         (tests): Run merge-test-results.sh.
38927         (xtests): Likewise.
38928         * Rules (tests-special-notdir): New variable.
38929         (xtests-special-notdir): Likewise.
38930         (tests): Run merge-test-results.sh
38931         (xtests): Likewise.
38933         * Makeconfig (test-xfail-name): New variable.
38934         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38935         compute variable name for expected failures.
38936         * conform/Makefile (conformtest-headers-data): New variable.
38937         (conformtest-standards): Likewise.
38938         (conformtest-headers-ISO): Likewise.
38939         (conformtest-headers-ISO99): Likewise.
38940         (conformtest-headers-ISO11): Likewise.
38941         (conformtest-headers-POSIX): Likewise.
38942         (conformtest-headers-XPG3): Likewise.
38943         (conformtest-headers-XPG4): Likewise.
38944         (conformtest-headers-UNIX98): Likewise.
38945         (conformtest-headers-XOPEN2K): Likewise.
38946         (conformtest-headers-POSIX2008): Likewise.
38947         (conformtest-headers-XOPEN2K8): Likewise.
38948         (conformtest-header-list-base): Likewise.
38949         (conformtest-header-list-tests): Likewise.
38950         (conformtest-header-base): Likewise.
38951         (conformtest-header-tests): Likewise.
38952         (tests-special): Add $(conformtest-header-list-tests).  If
38953         [$(fast-check) && !$(cross-compiling)], add
38954         $(conformtest-header-tests) instead of
38955         $(objpfx)run-conformtest.out.
38956         (generated): Add $(conformtest-header-list-base).  If
38957         [$(fast-check) && !$(cross-compiling)], add
38958         $(conformtest-header-base).  Remove previous setting.
38959         ($(conformtest-header-list-tests)): New target.
38960         (test-xfail-run-conformtest): Remove variable.
38961         ($(objpfx)run-conformtest.out): Remove target.
38962         (test-xfail-ISO11/complex.h/conform): New variable.
38963         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38964         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38965         (test-xfail-XPG3/varargs.h/conform): Likewise.
38966         (test-xfail-XPG4/varargs.h/conform): Likewise.
38967         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38968         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38969         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38970         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38971         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38972         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38973         (test-xfail-XPG3/ftw.h/conform): Likewise.
38974         (test-xfail-XPG3/grp.h/conform): Likewise.
38975         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38976         (test-xfail-XPG3/limits.h/conform): Likewise.
38977         (test-xfail-XPG3/pwd.h/conform): Likewise.
38978         (test-xfail-XPG3/search.h/conform): Likewise.
38979         (test-xfail-XPG3/signal.h/conform): Likewise.
38980         (test-xfail-XPG3/stdio.h/conform): Likewise.
38981         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38982         (test-xfail-XPG3/string.h/conform): Likewise.
38983         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38984         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38985         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38986         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38987         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38988         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38989         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38990         (test-xfail-XPG3/termios.h/conform): Likewise.
38991         (test-xfail-XPG3/time.h/conform): Likewise.
38992         (test-xfail-XPG3/unistd.h/conform): Likewise.
38993         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38994         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38995         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38996         (test-xfail-XPG4/netdb.h/conform): Likewise.
38997         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38998         (test-xfail-XPG4/signal.h/conform): Likewise.
38999         (test-xfail-XPG4/stdio.h/conform): Likewise.
39000         (test-xfail-XPG4/stdlib.h/conform): Likewise.
39001         (test-xfail-XPG4/stropts.h/conform): Likewise.
39002         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
39003         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
39004         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
39005         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
39006         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
39007         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
39008         (test-xfail-XPG4/sys/time.h/conform): Likewise.
39009         (test-xfail-XPG4/sys/types.h/conform): Likewise.
39010         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
39011         (test-xfail-XPG4/termios.h/conform): Likewise.
39012         (test-xfail-XPG4/ucontext.h/conform): Likewise.
39013         (test-xfail-XPG4/unistd.h/conform): Likewise.
39014         (test-xfail-XPG4/utmpx.h/conform): Likewise.
39015         (test-xfail-POSIX/sched.h/conform): Likewise.
39016         (test-xfail-POSIX/signal.h/conform): Likewise.
39017         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
39018         (test-xfail-POSIX/tar.h/conform): Likewise.
39019         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
39020         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
39021         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
39022         (test-xfail-UNIX98/netdb.h/conform): Likewise.
39023         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
39024         (test-xfail-UNIX98/sched.h/conform): Likewise.
39025         (test-xfail-UNIX98/signal.h/conform): Likewise.
39026         (test-xfail-UNIX98/stdio.h/conform): Likewise.
39027         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
39028         (test-xfail-UNIX98/stropts.h/conform): Likewise.
39029         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
39030         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
39031         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
39032         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
39033         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
39034         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
39035         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
39036         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
39037         (test-xfail-UNIX98/unistd.h/conform): Likewise.
39038         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
39039         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
39040         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
39041         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
39042         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
39043         (test-xfail-XOPEN2K/math.h/conform): Likewise.
39044         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
39045         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
39046         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
39047         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
39048         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
39049         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
39050         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
39051         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
39052         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
39053         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
39054         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
39055         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
39056         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
39057         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
39058         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
39059         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
39060         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
39061         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
39062         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
39063         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
39064         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
39065         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
39066         (test-xfail-POSIX2008/signal.h/conform): Likewise.
39067         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
39068         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
39069         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
39070         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
39071         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
39072         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
39073         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
39074         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
39075         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
39076         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
39077         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
39078         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
39079         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
39080         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
39081         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
39082         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
39083         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
39084         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
39085         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
39086         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
39087         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
39088         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
39089         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
39090         (conformtest-cc-flags): Likewise.
39091         ($(conformtest-header-tests): New target.
39092         * conform/check-header-lists.sh: New file.
39093         * conform/run-conformtest.sh: Remove.
39095         * conform/conformtest.pl: Allow ' and \ in values given for
39096         constants.
39097         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
39098         inclusion.
39099         [POSIX] (sys/types.h): Likewise.
39100         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
39101         inclusion.
39102         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
39103         inclusion.
39104         * conform/data/signal.h-data (SIGIO): Remove expectation.
39105         [XPG3] (SIGBUS): Do not expect.
39106         [POSIX || XPG3] (SIGPOLL): Likewise.
39107         [POSIX || XPG3] (SIGPROF): Likewise.
39108         [POSIX || XPG3] (SIGSYS): Likewise.
39109         [XPG3] (SIGTRAP): Likewise.
39110         [POSIX || XPG3] (SIGURG): Likewise.
39111         [POSIX || XPG3] (SIGVTALRM): Likewise.
39112         [POSIX || XPG3] (SIGXCPU): Likewise.
39113         [POSIX || XPG3] (SIGXFSZ): Likewise.
39114         [POSIX] (SA_SIGINFO): Expect.
39115         [XPG3] (siginfo_t): Do not expect type or contents.
39116         [POSIX] (si_pid): Do not expect element.
39117         [POSIX] (si_uid): Likewise.
39118         [POSIX] (si_addr): Likewise.
39119         [POSIX] (si_status): Likewise.
39120         [POSIX] (si_band): Likewise.
39121         [XPG4] (si_value): Likewise.
39122         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
39123         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
39124         [POSIX || XPG3] (ILL_ILLADR): Likewise.
39125         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
39126         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
39127         [POSIX || XPG3] (ILL_PRVREG): Likewise.
39128         [POSIX || XPG3] (ILL_COPROC): Likewise.
39129         [POSIX || XPG3] (ILL_BADSTK): Likewise.
39130         [POSIX || XPG3] (FPE_INTDIV): Likewise.
39131         [POSIX || XPG3] (FPE_INTOVF): Likewise.
39132         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
39133         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
39134         [POSIX || XPG3] (FPE_FLTUND): Likewise.
39135         [POSIX || XPG3] (FPE_FLTRES): Likewise.
39136         [POSIX || XPG3] (FPE_FLTINV): Likewise.
39137         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
39138         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
39139         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
39140         [POSIX || XPG3] (BUS_ADRALN): Likewise.
39141         [POSIX || XPG3] (BUS_ADRERR): Likewise.
39142         [POSIX || XPG3] (BUS_OBJERR): Likewise.
39143         [POSIX || XPG3] (CLD_EXITED): Likewise.
39144         [POSIX || XPG3] (CLD_KILLED): Likewise.
39145         [POSIX || XPG3] (CLD_DUMPED): Likewise.
39146         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
39147         [POSIX || XPG3] (CLD_STOPPED): Likewise.
39148         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
39149         [POSIX || XPG3] (POLL_IN): Likewise.
39150         [POSIX || XPG3] (POLL_OUT): Likewise.
39151         [POSIX || XPG3] (POLL_MSG): Likewise.
39152         [POSIX || XPG3] (POLL_ERR): Likewise.
39153         [POSIX || XPG3] (POLL_PRI): Likewise.
39154         [POSIX || XPG3] (POLL_HUP): Likewise.
39155         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
39156         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
39157         (SIG*): Do not allow.
39158         [XPG3] (si_*): Likewise.
39159         [XPG3] (SI_*): Likewise.
39160         [XPG3 || XPG4] (sigev_*): Likewise.
39161         [XPG3 || XPG4] (SIGEV_*): Likewise.
39162         [XPG3 || XPG4] (sival_*): Likewise.
39163         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
39164         [POSIX || XPG3] (BUS_*): Likewise.
39165         [POSIX || XPG3] (CLD_*): Likewise.
39166         [POSIX || XPG3] (FPE_*): Likewise.
39167         [POSIX || XPG3] (ILL_*): Likewise.
39168         [POSIX || XPG3] (POLL_*): Likewise.
39169         [POSIX || XPG3] (SEGV_*): Likewise.
39170         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
39171         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
39172         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
39173         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
39174         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
39175         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
39176         Specify type and value.
39177         (TVERSLEN): Likewise.
39178         (REGTYPE): Likewise.
39179         (AREGTYPE): Likewise.
39180         (LNKTYPE): Likewise.
39181         (SYMTYPE): Likewise.
39182         (CHRTYPE): Likewise.
39183         (BLKTYPE): Likewise.
39184         (DIRTYPE): Likewise.
39185         (FIFOTYPE): Likewise.
39186         (CONTTYPE): Likewise.
39187         (TSUID): Likewise.
39188         (TSGID): Likewise.
39189         (TSVTX): Likewise.
39190         (TUREAD): Likewise.
39191         (TUWRITE): Likewise.
39192         (TUEXEC): Likewise.
39193         (TGREAD): Likewise.
39194         (TGWRITE): Likewise.
39195         (TGEXEC): Likewise.
39196         (TOREAD): Likewise.
39197         (TOWRITE): Likewise.
39198         (TOEXEC): Likewise.
39199         [POSIX] (TSVTX): Expect constant.
39201 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
39203         * Makefile (tests): Change dependencies to ....
39204         (tests-special): ... additions to this variable.
39205         (tests): Depend on $(tests-special).
39206         * Makerules (check-abi-list): New variable.
39207         (check-abi): Depend on $(check-abi-list).
39208         [$(subdir) = elf] (tests-special): Add
39209         $(objpfx)check-abi-libc.out.
39210         [$(build-shared) = yes && subdir] (tests-special): Add
39211         $(check-abi-list).
39212         [$(build-shared) = yes && subdir] (tests): Do not depend on
39213         check-abi.
39214         * Rules (tests): Depend on $(tests-special).
39215         (xtests): Depend on $(xtests-special).
39216         * catgets/Makefile (tests): Change dependencies to ....
39217         (tests-special): ... additions to this variable.
39218         * conform/Makefile (tests): Change dependencies to ....
39219         (tests-special): ... additions to this variable.
39220         * elf/Makefile (tests): Change dependencies to ....
39221         (tests-special): ... additions to this variable.
39222         * grp/Makefile (tests): Change dependencies to ....
39223         (tests-special): ... additions to this variable.
39224         * iconv/Makefile (xtests): Change dependencies to ....
39225         (xtests-special): ... additions to this variable.
39226         * iconvdata/Makefile (tests): Change dependencies to ....
39227         (tests-special): ... additions to this variable.
39228         * intl/Makefile (tests): Change dependencies to ....
39229         (tests-special): ... additions to this variable.  Also add
39230         $(objpfx)tst-gettext.out.
39231         * io/Makefile (tests): Change dependencies to ....
39232         (tests-special): ... additions to this variable.
39233         * libio/Makefile (tests): Change dependencies to ....
39234         (tests-special): ... additions to this variable.
39235         * malloc/Makefile (tests): Change dependencies to ....
39236         (tests-special): ... additions to this variable.
39237         * misc/Makefile (tests): Change dependencies to ....
39238         (tests-special): ... additions to this variable.
39239         * nptl/Makefile (tests): Change dependencies to ....
39240         (tests-special): ... additions to this variable.
39241         * nptl_db/Makefile (tests): Change dependencies to ....
39242         (tests-special): ... additions to this variable.
39243         * posix/Makefile (tests): Change dependencies to ....
39244         (tests-special): ... additions to this variable.
39245         (xtests): Change dependencies to ....
39246         (xtests-special): ... additions to this variable.
39247         * resolv/Makefile (tests): Change dependencies to ....
39248         (tests-special): ... additions to this variable.
39249         (xtests): Change dependencies to ....
39250         (xtests-special): ... additions to this variable.
39251         * stdio-common/Makefile (tests): Change dependencies to ....
39252         (tests-special): ... additions to this variable.
39253         (do-tst-unbputc): Remove target.
39254         (do-tst-printf): Likewise.
39255         * stdlib/Makefile (tests): Change dependencies to ....
39256         (tests-special): ... additions to this variable.
39257         * string/Makefile (tests): Change dependencies to ....
39258         (tests-special): ... additions to this variable.
39259         * sysdeps/x86/Makefile (tests): Change dependencies to ....
39260         (tests-special): ... additions to this variable.
39262         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
39263         whole file.
39264         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
39265         whole file.
39266         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
39267         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
39269         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
39270         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
39271         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
39272         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
39273         * conform/data/libgen.h-data [XPG3]: Likewise.
39274         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
39275         * conform/data/ndbm.h-data [XPG3]: Likewise.
39276         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39277         * conform/data/netdb.h-data [XPG3]: Likewise.
39278         * conform/data/netinet/in.h-data [XPG3]: Likewise.
39279         * conform/data/poll.h-data [XPG3]: Likewise.
39280         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
39281         * conform/data/strings.h-data [XPG3]: Likewise.
39282         * conform/data/stropts.h-data [XPG3]: Likewise.
39283         * conform/data/sys/mman.h-data [XPG3]: Likewise.
39284         * conform/data/sys/resource.h-data [XPG3]: Likewise.
39285         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
39286         Likewise.
39287         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
39288         * conform/data/sys/time.h-data [XPG3]: Likewise.
39289         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
39290         * conform/data/sys/uio.h-data [XPG3]: Likewise.
39291         * conform/data/sys/un.h-data [XPG3]: Likewise.
39292         * conform/data/syslog.h-data [XPG3]: Likewise.
39293         * conform/data/ucontext.h-data [XPG3]: Likewise.
39294         * conform/data/utmpx.h-data [XPG3]: Likewise.
39295         * conform/data/varargs.h-data [UNIX98]: Enable file.
39297         * manual/Makefile (INSTALL_INFO): Remove variable setting.
39299         * math/libm-test.inc (struct test_f_f_data): Move expected results
39300         into structure for each rounding mode.
39301         (struct test_ff_f_data): Likewise.
39302         (struct test_ff_f_data_nexttoward): Likewise.
39303         (struct test_fi_f_data): Likewise.
39304         (struct test_fl_f_data): Likewise.
39305         (struct test_if_f_data): Likewise.
39306         (struct test_fff_f_data): Likewise.
39307         (struct test_c_f_data): Likewise.
39308         (struct test_f_f1_data): Likewise.
39309         (struct test_fF_f1_data): Likewise.
39310         (struct test_ffI_f1_data): Likewise.
39311         (struct test_c_c_data): Likewise.
39312         (struct test_cc_c_data): Likewise.
39313         (struct test_f_i_data): Likewise.
39314         (struct test_ff_i_data): Likewise.
39315         (struct test_f_l_data): Likewise.
39316         (struct test_f_L_data): Likewise.
39317         (struct test_fFF_11_data): Likewise.
39318         (RM_): New macro.
39319         (RM_FE_DOWNWARD): Likewise.
39320         (RM_FE_TONEAREST): Likewise.
39321         (RM_FE_TOWARDZERO): Likewise.
39322         (RM_FE_UPWARD): Likewise.
39323         (RUN_TEST_LOOP_f_f): Update references to expected results.
39324         (RUN_TEST_LOOP_2_f): Likewise.
39325         (RUN_TEST_LOOP_fff_f): Likewise.
39326         (RUN_TEST_LOOP_c_f): Likewise.
39327         (RUN_TEST_LOOP_f_f1): Likewise.
39328         (RUN_TEST_LOOP_fF_f1): Likewise.
39329         (RUN_TEST_LOOP_fI_f1): Likewise.
39330         (RUN_TEST_LOOP_ffI_f1): Likewise.
39331         (RUN_TEST_LOOP_c_c): Likewise.
39332         (RUN_TEST_LOOP_cc_c): Likewise.
39333         (RUN_TEST_LOOP_f_i): Likewise.
39334         (RUN_TEST_LOOP_f_i_tg): Likewise.
39335         (RUN_TEST_LOOP_ff_i_tg): Likewise.
39336         (RUN_TEST_LOOP_f_b): Likewise.
39337         (RUN_TEST_LOOP_f_b_tg): Likewise.
39338         (RUN_TEST_LOOP_f_l): Likewise.
39339         (RUN_TEST_LOOP_f_L): Likewise.
39340         (RUN_TEST_LOOP_fFF_11): Likewise.
39341         * math/gen-libm-test.pl (parse_args): Output four copies of
39342         expected results for each test.
39344         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39345         (__ASSUME_UTIMES): Remove.
39346         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39347         (__ASSUME_UTIMES): Likewise.
39349         * math/gen-auto-libm-tests.c: Update comment on output format.
39350         (output_for_one_input_case): Generate before-rounding and
39351         after-rounding information as conditions on output flags not
39352         floating-point format.
39353         * math/auto-libm-test-out: Regenerated.
39354         * math/gen-libm-test.pl (cond_value): New function.
39355         (or_cond_value): Use cond_value.
39356         (generate_testfile): Handle conditional exceptions.
39358 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
39360         * math/libm-test.inc (max_valid_error): New variable.
39361         (init_max_error): Take new argument specifying whether function
39362         results are exactly determined.  Set max_valid_error and bound
39363         other variables for errors based on this argument.
39364         (set_max_error): Do not record results above max_valid_error.
39365         (check_float_internal): Only accept errors of up to 0.5ulps if
39366         also at most max_valid_error.
39367         (START): Take new argument EXACT and pass it to init_max_error.
39368         (acos_test): Update call to START.
39369         (acos_test_tonearest): Likewise.
39370         (acos_test_towardzero): Likewise.
39371         (acos_test_downward): Likewise.
39372         (acos_test_upward): Likewise.
39373         (acosh_test): Likewise.
39374         (asin_test): Likewise.
39375         (asin_test_tonearest): Likewise.
39376         (asin_test_towardzero): Likewise.
39377         (asin_test_downward): Likewise.
39378         (asin_test_upward): Likewise.
39379         (asinh_test): Likewise.
39380         (atan_test): Likewise.
39381         (atanh_test): Likewise.
39382         (atan2_test): Likewise.
39383         (cabs_test): Likewise.
39384         (cacos_test): Likewise.
39385         (cacosh_test): Likewise.
39386         (carg_test): Likewise.
39387         (casin_test): Likewise.
39388         (casinh_test): Likewise.
39389         (catan_test): Likewise.
39390         (catanh_test): Likewise.
39391         (cbrt_test): Likewise.
39392         (ccos_test): Likewise.
39393         (ccosh_test): Likewise.
39394         (ceil_test): Likewise.
39395         (cexp_test): Likewise.
39396         (cimag_test): Likewise.
39397         (clog_test): Likewise.
39398         (clog10_test): Likewise.
39399         (conj_test): Likewise.
39400         (copysign_test): Likewise.
39401         (cos_test): Likewise.
39402         (cos_test_tonearest): Likewise.
39403         (cos_test_towardzero): Likewise.
39404         (cos_test_downward): Likewise.
39405         (cos_test_upward): Likewise.
39406         (cosh_test): Likewise.
39407         (cosh_test_tonearest): Likewise.
39408         (cosh_test_towardzero): Likewise.
39409         (cosh_test_downward): Likewise.
39410         (cosh_test_upward): Likewise.
39411         (cpow_test): Likewise.
39412         (cproj_test): Likewise.
39413         (creal_test): Likewise.
39414         (csin_test): Likewise.
39415         (csinh_test): Likewise.
39416         (csqrt_test): Likewise.
39417         (ctan_test): Likewise.
39418         (ctan_test_tonearest): Likewise.
39419         (ctan_test_towardzero): Likewise.
39420         (ctan_test_downward): Likewise.
39421         (ctan_test_upward): Likewise.
39422         (ctanh_test): Likewise.
39423         (ctanh_test_tonearest): Likewise.
39424         (ctanh_test_towardzero): Likewise.
39425         (ctanh_test_downward): Likewise.
39426         (ctanh_test_upward): Likewise.
39427         (erf_test): Likewise.
39428         (erfc_test): Likewise.
39429         (exp_test): Likewise.
39430         (exp_test_tonearest): Likewise.
39431         (exp_test_towardzero): Likewise.
39432         (exp_test_downward): Likewise.
39433         (exp_test_upward): Likewise.
39434         (exp10_test): Likewise.
39435         (exp10_test_tonearest): Likewise.
39436         (exp10_test_towardzero): Likewise.
39437         (exp10_test_downward): Likewise.
39438         (exp10_test_upward): Likewise.
39439         (pow10_test): Likewise.
39440         (exp2_test): Likewise.
39441         (expm1_test): Likewise.
39442         (expm1_test_tonearest): Likewise.
39443         (expm1_test_towardzero): Likewise.
39444         (expm1_test_downward): Likewise.
39445         (expm1_test_upward): Likewise.
39446         (fabs_test): Likewise.
39447         (fdim_test): Likewise.
39448         (floor_test): Likewise.
39449         (fma_test): Likewise.
39450         (fma_test_towardzero): Likewise.
39451         (fma_test_downward): Likewise.
39452         (fma_test_upward): Likewise.
39453         (fmax_test): Likewise.
39454         (fmin_test): Likewise.
39455         (fmod_test): Likewise.
39456         (fpclassify_test): Likewise.
39457         (frexp_test): Likewise.
39458         (hypot_test): Likewise.
39459         (ilogb_test): Likewise.
39460         (isfinite_test): Likewise.
39461         (finite_test): Likewise.
39462         (isgreater_test): Likewise.
39463         (isgreaterequal_test): Likewise.
39464         (isinf_test): Likewise.
39465         (isless_test): Likewise.
39466         (islessequal_test): Likewise.
39467         (islessgreater_test): Likewise.
39468         (isnan_test): Likewise.
39469         (isnormal_test): Likewise.
39470         (issignaling_test): Likewise.
39471         (isunordered_test): Likewise.
39472         (j0_test): Likewise.
39473         (j1_test): Likewise.
39474         (jn_test): Likewise.
39475         (ldexp_test): Likewise.
39476         (lgamma_test): Likewise.
39477         (gamma_test): Likewise.
39478         (lrint_test): Likewise.
39479         (lrint_test_tonearest): Likewise.
39480         (lrint_test_towardzero): Likewise.
39481         (lrint_test_downward): Likewise.
39482         (lrint_test_upward): Likewise.
39483         (llrint_test): Likewise.
39484         (llrint_test_tonearest): Likewise.
39485         (llrint_test_towardzero): Likewise.
39486         (llrint_test_downward): Likewise.
39487         (llrint_test_upward): Likewise.
39488         (log_test): Likewise.
39489         (log10_test): Likewise.
39490         (log1p_test): Likewise.
39491         (log2_test): Likewise.
39492         (logb_test): Likewise.
39493         (logb_test_downward): Likewise.
39494         (lround_test): Likewise.
39495         (llround_test): Likewise.
39496         (modf_test): Likewise.
39497         (nearbyint_test): Likewise.
39498         (nextafter_test): Likewise.
39499         (nexttoward_test): Likewise.
39500         (pow_test): Likewise.
39501         (pow_test_tonearest): Likewise.
39502         (pow_test_towardzero): Likewise.
39503         (pow_test_downward): Likewise.
39504         (pow_test_upward): Likewise.
39505         (remainder_test): Likewise.
39506         (drem_test): Likewise.
39507         (remainder_test_tonearest): Likewise.
39508         (drem_test_tonearest): Likewise.
39509         (remainder_test_towardzero): Likewise.
39510         (drem_test_towardzero): Likewise.
39511         (remainder_test_downward): Likewise.
39512         (drem_test_downward): Likewise.
39513         (remainder_test_upward): Likewise.
39514         (drem_test_upward): Likewise.
39515         (remquo_test): Likewise.
39516         (rint_test): Likewise.
39517         (rint_test_tonearest): Likewise.
39518         (rint_test_towardzero): Likewise.
39519         (rint_test_downward): Likewise.
39520         (rint_test_upward): Likewise.
39521         (round_test): Likewise.
39522         (scalb_test): Likewise.
39523         (scalbn_test): Likewise.
39524         (scalbln_test): Likewise.
39525         (signbit_test): Likewise.
39526         (sin_test): Likewise.
39527         (sin_test_tonearest): Likewise.
39528         (sin_test_towardzero): Likewise.
39529         (sin_test_downward): Likewise.
39530         (sin_test_upward): Likewise.
39531         (sincos_test): Likewise.
39532         (sinh_test): Likewise.
39533         (sinh_test_tonearest): Likewise.
39534         (sinh_test_towardzero): Likewise.
39535         (sinh_test_downward): Likewise.
39536         (sinh_test_upward): Likewise.
39537         (sqrt_test): Likewise.
39538         (sqrt_test_tonearest): Likewise.
39539         (sqrt_test_towardzero): Likewise.
39540         (sqrt_test_downward): Likewise.
39541         (sqrt_test_upward): Likewise.
39542         (tan_test): Likewise.
39543         (tan_test_tonearest): Likewise.
39544         (tan_test_towardzero): Likewise.
39545         (tan_test_downward): Likewise.
39546         (tan_test_upward): Likewise.
39547         (tanh_test): Likewise.
39548         (tgamma_test): Likewise.
39549         (trunc_test): Likewise.
39550         (y0_test): Likewise.
39551         (y1_test): Likewise.
39552         (yn_test): Likewise.
39553         (significand_test): Likewise.
39555         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39556         individual tests in comment.
39557         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39558         (prev_max_error): New variable.
39559         (prev_real_max_error): Likewise.
39560         (prev_imag_max_error): Likewise.
39561         (compare_ulp_data): Don't refer to test names in comment.
39562         (find_test_ulps): Remove function.
39563         (find_function_ulps): Likewise.
39564         (find_complex_function_ulps): Likewise.
39565         (init_max_error): Take function name as argument.  Look up ulps
39566         for that function.
39567         (print_ulps): Remove function.
39568         (print_max_error): Use prev_max_error instead of calling
39569         find_function_ulps.
39570         (print_complex_max_error): Use prev_real_max_error and
39571         prev_imag_max_error instead of calling find_complex_function_ulps.
39572         (check_float_internal): Take max_ulp parameter instead of calling
39573         find_test_ulps.  Don't call print_ulps.
39574         (check_float): Update call to check_float_internal.
39575         (check_complex): Update calls to check_float_internal.
39576         (START): Pass argument to init_max_error.
39577         * math/gen-libm-test.pl (%results): Don't include "kind"
39578         information.
39579         (parse_ulps): Don't handle ulps of individual tests.
39580         (print_ulps_file): Likewise.
39581         (output_ulps): Likewise.
39582         * math/README.libm-test: Update.
39583         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39584         individual tests.
39585         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39586         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39587         * sysdeps/arm/libm-test-ulps: Likewise.
39588         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39589         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39590         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39591         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39592         * sysdeps/microblaze/libm-test-ulps: Likewise.
39593         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39594         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39595         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39596         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39597         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39598         * sysdeps/sh/libm-test-ulps: Likewise.
39599         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39600         * sysdeps/tile/libm-test-ulps: Likewise.
39601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39603 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39605         * math/libm-test.inc (print_complex_max_error): Check separately
39606         whether real and imaginary errors are within allowed range and
39607         pass 0 to print_complex_function_ulps instead of value within
39608         allowed range.
39610 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39612         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39613         formatting.
39614         (get_handles_fopen): Likewise.
39615         (do_write_test): Likewise.
39617         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39619         * libio/fileops.c (do_ftell): Use cached offset when
39620         available.
39621         * libio/iofwide.c (do_ftell_wide): Likewise.
39622         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39623         _IO_file_attach.
39624         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39626         [BZ #16532]
39627         * libio/libioP.h (get_file_offset): New function.
39628         * libio/fileops.c (get_file_offset): Likewise.
39629         (do_ftell): Likewise.
39630         (_IO_new_file_seekoff): Split out ftell logic.
39631         * libio/wfileops.c (do_ftell_wide): Likewise.
39632         (_IO_wfile_seekoff): Split out ftell logic.
39633         * libio/tst-ftell-active-handler.c: New test case.
39634         * libio/Makefile (tests): Add it.
39636 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39638         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39639         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39641 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39643         [BZ #16639]
39644         * nscd/connections.c (nscd_init): Call do_exit.
39645         (start_threads): Call do_exit and notify_parent.
39646         (begin_drop_privileges): Call do_exit.
39647         (finish_drop_privileges): Likewise.
39648         * nscd/selinux.c (preserve_capabilities): Likewise.
39649         (install_real_capabilities): Likewise.
39650         (nscd_selinux_enabled): Likewise.
39651         (avc_create_thread): Likewise.
39652         (avc_alloc_lock): Likewise.
39653         (nscd_avc_init): Likewise.
39654         * nscd/nscd.c (parent_fd): New static variable.
39655         (main): Create a pipe between parent and child processes.
39656         Skip closing parent_fd.
39657         (monitor_child): New function.
39658         (do_exit): Likewise.
39659         (notify_parent): Likewise.
39660         * nscd/nscd.h (notify_parent): Likewise.
39661         (do_exit): Likewise.
39663 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39665         * malloc/malloc.c (__libc_calloc): Revert last change.
39667 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39669         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39671 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39673         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39675         implementation.
39676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39677         (__libc_ifunc_impl_list): Likewise.
39678         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39679         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39680         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39681         * string/strrchr.c: Define STRRCHR.
39683 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39685         * benchtest/bench-strtok.c (simple_strtok): Delete.
39686         (strtok_string): Use as benchmark.
39687         * string/strtok (STRTOK): New macro.
39689 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39691         * manual/threads.texi: Add header and standard comments to all
39692         functions.
39694         * elf/dl-lookup.c (check_match): New function.
39695         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39696         (do_lookup_x): Remove nested function check_match. Use non-nested
39697         function check_match.
39699 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39701         * csu/Makefile (generated, before-compile): Use += rather than =.
39702         * catgets/Makefile (generated, generated-dirs): Likewise.
39703         * debug/Makefile (generated): Likewise.
39704         * dlfcn/Makefile (generated): Likewise.
39705         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39706         * iconvdata/Makefile (before-compile, generated): Likewise.
39707         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39708         * libio/Makefile (generated): Likewise.
39709         * malloc/Makefile (generated): Likewise.
39710         * manual/Makefile (generated, generated-dirs): Likewise.
39711         * misc/Makefile (generated): Likewise.
39712         * posix/Makefile (generated): Likewise.
39713         * resolv/Makefile (generated): Likewise.
39714         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39715         * timezone/Makefile (generated, generated-dirs): Likewise.
39717         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39719 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39721         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39722         power8 implementation.
39723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39724         file: POWER8 llround ifunc implementation.
39725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39726         (__lllround): Add POWER8 implementation.
39727         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39728         POWER8 llround implementation.
39730         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39731         power8 implementation.
39732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39733         file: POWER8 llrint ifunc implementation.
39734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39735         Add POWER8 implementation.
39736         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39737         POWER8 llrint implementation.
39739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39740         power8 implementation.
39741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39742         file: POWER8 finite ifunc implementation.
39743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39744         Add POWER8 implementation.
39745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39746         Likewise.
39747         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39748         POWER8 finite implementation.
39749         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39752         power8 implementation.
39753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39754         file: POWER8 isinf ifunc implementation.
39755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39756         POWER8 implementation.
39757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39758         Likewise.
39759         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39760         isinf implementation.
39761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39763         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39764         (INIT_ARCH): Add hwcap2 initialization.
39765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39766         power8 implementation.
39767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39768         file: POWER8 isnan ifunc implementation.
39769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39770         POWER8 implementation.
39771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39772         Likewise.
39773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39774         isnan implementation.
39775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39777 2014-02-27  Joey Ye  <joey.ye@arm.com>
39779         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39780         (_FP_NANFRAC_Q): Set to zero.
39782 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39784         [BZ #16623]
39785         * math/auto-libm-test-in: New test inputs.
39786         * math/auto-libm-test-out: Regenerate.
39787         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39788         and DA.
39789         (__cos): Likewise.
39790         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39792 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39794         * scripts/evaluate-test.sh: Take new argument indicating whether
39795         failure is expected.
39796         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39797         indicating whether failure is expected.
39798         * conform/Makefile (test-xfail-run-conformtest): New variable.
39799         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39800         level.
39801         * posix/Makefile (test-xfail-annexc): New variable.
39802         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39804 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39806         * argp/Makefile: Include Makeconfig immediately after defining
39807         subdir.
39808         * assert/Makefile: Likewise.
39809         * benchtests/Makefile: Likewise.
39810         * catgets/Makefile: Likewise.
39811         * conform/Makefile: Likewise.
39812         * crypt/Makefile: Likewise.
39813         * csu/Makefile: Likewise.
39814         (all): Remove target.
39815         * ctype/Makefile: Include Makeconfig immediately after defining
39816         subdir.
39817         * debug/Makefile: Likewise.
39818         * dirent/Makefile: Likewise.
39819         * dlfcn/Makefile: Likewise.
39820         * gmon/Makefile: Likewise.
39821         * gnulib/Makefile: Likewise.
39822         * grp/Makefile: Likewise.
39823         * gshadow/Makefile: Likewise.
39824         * hesiod/Makefile: Likewise.
39825         * hurd/Makefile: Likewise.
39826         (all): Remove target.
39827         * iconvdata/Makefile: Include Makeconfig immediately after
39828         defining subdir.
39829         * inet/Makefile: Likewise.
39830         * intl/Makefile: Likewise.
39831         * io/Makefile: Likewise.
39832         * libio/Makefile: Likewise.
39833         (all): Remove target.
39834         * locale/Makefile: Include Makeconfig immediately after defining
39835         subdir.
39836         * login/Makefile: Likewise.
39837         * mach/Makefile: Likewise.
39838         (all): Remove target.
39839         * malloc/Makefile: Include Makeconfig immediately after defining
39840         subdir.
39841         (all): Remove target.
39842         * manual/Makefile: Include Makeconfig immediately after defining
39843         subdir.
39844         * math/Makefile: Likewise.
39845         * misc/Makefile: Likewise.
39846         * nis/Makefile: Likewise.
39847         * nss/Makefile: Likewise.
39848         * po/Makefile: Likewise.
39849         (all): Remove target.
39850         * posix/Makefile: Include Makeconfig immediately after defining
39851         subdir.
39852         * pwd/Makefile: Likewise.
39853         * resolv/Makefile: Likewise.
39854         * resource/Makefile: Likewise.
39855         * rt/Makefile: Likewise.
39856         * setjmp/Makefile: Likewise.
39857         * shadow/Makefile: Likewise.
39858         * signal/Makefile: Likewise.
39859         * socket/Makefile: Likewise.
39860         * soft-fp/Makefile: Likewise.
39861         * stdio-common/Makefile: Likewise.
39862         * stdlib/Makefile: Likewise.
39863         * streams/Makefile: Likewise.
39864         * string/Makefile: Likewise.
39865         * sunrpc/Makefile: Likewise.
39866         (all): Remove target.
39867         * sysvipc/Makefile: Include Makeconfig immediately after defining
39868         subdir.
39869         * termios/Makefile: Likewise.
39870         * time/Makefile: Likewise.
39871         * timezone/Makefile: Likewise.
39872         (all): Remove target.
39873         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39874         subdir.
39875         * wctype/Makefile: Likewise.
39877 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39879         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39880         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39881         (libc_feholdexcept_setround_mips): Ditto.
39882         (libc_feholdsetround): New.
39883         (libc_feholdsetroundf): New.
39884         (libc_feholdsetroundl): New.
39885         (libc_feupdateenv_test_mips): New.
39886         (libc_feupdateenv_test): New.
39887         (libc_feupdateenv_testf): New.
39888         (libc_feupdateenv_testl): New.
39889         (libc_feresetround): New.
39890         (libc_feresetroundf): New.
39891         (libc_feresetroundl): New.
39892         (libc_fetestexcept_mips): New.
39893         (libc_fetestexcept): New.
39894         (libc_fetestexceptf): New.
39895         (libc_fetestexceptl): New.
39896         (HAVE_RM_CTX): New.
39897         (libc_feholdexcept_setround_mips_ctx): New.
39898         (libc_feholdexcept_setround_ctx): New.
39899         (libc_feholdexcept_setroundf_ctx): New.
39900         (libc_feholdexcept_setroundl_ctx): New.
39901         (libc_fesetenv_mips_ctx): New.
39902         (libc_fesetenv_ctx): New.
39903         (libc_fesetenv_ctxf): New.
39904         (libc_fesetenv_ctxl): New.
39905         (libc_feupdateenv_mips_ctx): New.
39906         (libc_feupdateenv_ctx): New.
39907         (libc_feupdateenvf_ctx): New.
39908         (libc_feupdateenvl_ctx): New.
39909         (libc_feholdsetround_mips_ctx): New.
39910         (libc_feholdsetround_ctx): New.
39911         (libc_feholdsetroundf_ctx): New.
39912         (libc_feholdsetroundl_ctx): New.
39913         (libc_feresetround_mips_ctx): New.
39914         (libc_feresetround_ctx): New.
39915         (libc_feresetroundf_ctx): New.
39916         (libc_feresetroundl_ctx): New.
39918 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39920         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39922         * manual/ipc.texi: New file.
39923         * manual/Makefile (chapters): Add ipc.
39924         * manual/job.texi: Add "Inter-Process Communication" to next.
39925         * manual/process.texi: Add "Inter-Process Communication" to prev.
39927 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39931 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39933         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39935         * manual/arith.texi: Fix spaces after sentences.
39936         * manual/charset.texi: Likewise.
39937         * manual/errno.texi: Likewise.
39938         * manual/install.texi: Likewise.
39939         * manual/llio.texi: Likewise.
39940         * manual/locale.texi: Likewise.
39941         * manual/maint.texi: Likewise.
39942         * manual/math.texi: Likewise.
39943         * manual/memory.texi: Likewise.
39944         * manual/message.texi: Likewise.
39945         * manual/probes.texi: Likewise.
39946         * manual/resource.texi: Likewise.
39947         * manual/signal.texi: Likewise.
39948         * manual/socket.texi: Likewise.
39949         * manual/stdio.texi: Likewise.
39950         * manual/string.texi: Likewise.
39951         * manual/time.texi: Likewise.
39952         * manual/users.texi: Likewise.
39954 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39956         [BZ #16632]
39957         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39958         _DEFAULT_SOURCE is defined.
39960 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39961             Carlos O'Donell  <carlos@redhat.com>
39963         [BZ #16613]
39964         * elf/dl-tls.c (_dl_count_modids): New function.
39965         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39966         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39967         audit library and increment generation counter.
39968         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39969         * elf/tst-audit9.c: New file.
39970         * elf/tst-auditmod9a.c: New file.
39971         * elf/tst-auditmod9b.c: New file.
39972         * elf/Makefile: Add rules to build and run tst-audit9.
39974 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39976         [BZ #15347]
39977         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39979 2014-02-25  Will Newton  <will.newton@linaro.org>
39981         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39982         (__longjmp): Restore sp and lr before restoring callee
39983         saved registers.  Add longjmp and longjmp_target
39984         SystemTap probe point.
39985         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39986         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39987         Define to zero to match jmpbuf layout.
39988         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39989         (__sigsetjmp): Save sp and lr before saving callee
39990         saved registers.  Add setjmp SystemTap probe point.
39992 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39994         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39996 2014-02-24  Andreas Schwab  <schwab@suse.de>
39998         [BZ #15804]
39999         * elf/pldd.c (wait_for_ptrace_stop): New function.
40000         (main): Call it after attaching.
40002 2014-02-22  Roland McGrath  <roland@hack.frob.com>
40004         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
40005         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
40006         Versions files is now verboten.
40007         * hurd/Versions (libc: GLIBC_2.0):
40008         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
40009         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
40010         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
40011         * mach/Versions: Likewise.
40013         * csu/Versions: Remove unused %include.
40014         * resolv/Versions: Likewise.
40016 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
40018         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
40019         ($(objpfx)check-local-headers.out): Likewise.
40020         ($(objpfx)begin-end-check.out): Likewise.
40021         * Makerules (check-abi-%.out): Likewise.
40022         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
40023         ($(objpfx)test2.cat): Likewise.
40024         ($(objpfx)de/libc.cat): Likewise.
40025         ($(objpfx)test-gencat.out): Likewise.
40026         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
40027         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
40028         ($(objpfx)noload-mem): Likewise.
40029         ($(objpfx)tst-pathopt.out): Likewise.
40030         ($(objpfx)tst-rtld-load-self.out): Likewise.
40031         ($(objpfx)tst-array1-cmp.out): Likewise.
40032         ($(objpfx)tst-array1-static-cmp.out): Likewise.
40033         ($(objpfx)tst-array2-cmp.out): Likewise.
40034         ($(objpfx)tst-array3-cmp.out): Likewise.
40035         ($(objpfx)tst-array4-cmp.out): Likewise.
40036         ($(objpfx)tst-array5-cmp.out): Likewise.
40037         ($(objpfx)tst-array5-static-cmp.out): Likewise.
40038         ($(objpfx)check-textrel.out): Likewise.
40039         ($(objpfx)check-execstack.out): Likewise.
40040         ($(objpfx)check-localplt.out): Likewise.
40041         ($(objpfx)order2-cmp.out): Likewise.
40042         ($(objpfx)tst-leaks1-mem): Likewise.
40043         ($(objpfx)tst-leaks1-static-mem): Likewise.
40044         ($(objpfx)tst-initorder-cmp.out): Likewise.
40045         ($(objpfx)tst-initorder2-cmp.out): Likewise.
40046         ($(objpfx)tst-unused-dep.out): Likewise.
40047         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
40048         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
40049         * iconv/Makefile (test-iconvconfig): Likewise.
40050         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
40051         ($(objpfx)iconv-test.out): Likewise.
40052         ($(objpfx)tst-tables.out): Likewise.
40053         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
40054         ($(objpfx)tst-gettext.out): Likewise.
40055         ($(objpfx)tst-translit.out): Likewise.
40056         ($(objpfx)tst-gettext2.out): Likewise.
40057         ($(objpfx)tst-gettext4.out): Likewise.
40058         ($(objpfx)tst-gettext6.out): Likewise.
40059         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
40060         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
40061         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
40062         ($(objpfx)tst-fopenloc-mem.out): Likewise.
40063         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
40064         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
40065         * posix/Makefile ($(objpfx)globtest.out): Likewise.
40066         ($(objpfx)wordexp-tst.out): Likewise.
40067         ($(objpfx)annexc.out): Likewise.
40068         ($(objpfx)tst-fnmatch-mem): Likewise.
40069         ($(objpfx)bug-regex2-mem): Likewise.
40070         ($(objpfx)bug-regex14-mem): Likewise.
40071         ($(objpfx)bug-regex21-mem): Likewise.
40072         ($(objpfx)bug-regex31-mem): Likewise.
40073         ($(objpfx)tst-vfork3-mem): Likewise.
40074         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40075         ($(objpfx)tst-pcre-mem): Likewise.
40076         ($(objpfx)tst-boost-mem): Likewise.
40077         ($(objpfx)tst-getconf.out): Likewise.
40078         ($(objpfx)bug-ga2-mem): Likewise.
40079         ($(objpfx)bug-glob2-mem): Likewise.
40080         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
40081         ($(objpfx)mtrace-tst-leaks2): Likewise.
40082         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
40083         ($(objpfx)tst-printf.out): Likewise.
40084         ($(objpfx)tst-setvbuf1.out): Likewise.
40085         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
40086         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
40087         ($(objpfx)tst-fmtmsg.out): Likewise.
40088         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
40089         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
40091         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
40092         * bits/sigaction.h [__USE_MISC]: Likewise.
40093         * bits/waitstatus.h: Update #endif comments.
40094         * ctype/ctype.h: Likewise.
40095         * dirent/dirent.h: Likewise.
40096         [__USE_MISC]: Remove redundant conditionals.
40097         * grp/grp.h: Update #endif comments.
40098         [__USE_GNU]: Remove redundant conditionals.
40099         [__USE_MISC]: Likewise.
40100         * inet/netinet/in.h [__USE_GNU]: Likewise.
40101         * io/sys/stat.h [__USE_MISC]: Likewise.
40102         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
40103         * libio/bits/stdio.h: Update #endif comments.
40104         [__USE_MISC]: Remove redundant conditionals.
40105         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
40106         * libio/stdio.h: Update #endif comments.
40107         [__USE_MISC]: Remove redundant conditionals.
40108         * math/bits/math-finite.h [__USE_MISC]: Likewise.
40109         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
40110         * math/math.h: Update #else and #endif comments.
40111         [__USE_MISC]: Remove redundant conditionals.
40112         * misc/sys/uio.h: Update #endif comments.
40113         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
40114         * posix/glob.h [__USE_MISC]: Likewise.
40115         * posix/sys/types.h: Update #endif comments.
40116         [__USE_MISC]: Remove redundant conditionals.
40117         * posix/sys/wait.h: Update #endif comments.
40118         [__USE_MISC]: Remove redundant conditionals.
40119         * posix/unistd.h: Update #endif comments.
40120         [__USE_MISC]: Remove redundant conditionals.
40121         * pwd/pwd.h [__USE_GNU]: Likewise.
40122         [__USE_MISC]: Likewise.
40123         * resolv/netdb.h [__USE_GNU]: Likewise.
40124         * signal/signal.h: Update #endif comments.
40125         [__USE_MISC]: Remove redundant conditionals.
40126         * stdlib/stdlib.h: Update #else and #endif comments.
40127         [__USE_MISC]: Remove redundant conditionals.
40128         [__USE_GNU]: Likewise.
40129         * string/bits/string2.h [__USE_MISC]: Likewise.
40130         * string/string.h: Update #endif comments.
40131         [__USE_MISC]: Remove redundant conditionals.
40132         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
40133         Likewise.
40134         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
40135         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
40136         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
40137         Likewise.
40138         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
40139         Likewise.
40140         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
40141         comments.
40142         [__USE_MISC]: Remove redundant conditionals.
40143         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
40144         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
40145         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
40146         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
40147         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
40148         Likewise.
40149         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
40150         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
40151         Likewise.
40152         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
40153         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
40154         Likewise.
40155         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
40156         Likewise.
40157         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
40158         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
40159         Likewise.
40160         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
40161         Likewise.
40162         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
40163         * sysdeps/x86/bits/string.h: Update #endif comments.
40164         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
40165         conditionals.
40166         * time/sys/time.h: Update #endif comments.
40167         * time/time.h: Likewise.
40168         [__USE_MISC]: Remove redundant conditionals.
40170 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
40172         [BZ #16600]
40173         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
40175 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
40177         * Versions.def (librt): Add GLIBC_2.17.
40179 2014-02-21  Adam Conrad  <adconrad@0c3.net>
40181         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
40182         synonym for _SYS_AUXV_H to allow direct inclusion.
40183         * sysdeps/sparc/bits/hwcap.h: Likewise.
40184         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
40185         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
40186         * sysdeps/sparc/sysdep.h: Likewise.
40188 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40190         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
40192 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40194         * benchtests/bench-strrchr.c: Print length instead of position.
40196 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
40198         [BZ #16611]
40199         * sysdeps/unix/sysv/linux/kernel-features.h
40200         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
40201         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
40202         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
40203         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
40204         Likewise.
40205         [__i386__ || __powerpc__ || __sh__ || __sparc__]
40206         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40207         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
40208         (__ASSUME_SENDMMSG): Define instead of using previous
40209         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
40210         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40211         (__ASSUME_SENDMMSG_SYSCALL): Define.
40212         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40213         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
40214         Likewise.
40215         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40216         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40217         Likewise.
40218         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40219         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40220         Likewise.
40221         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
40222         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40223         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40224         [__ASSUME_SENDMMSG]: Change conditionals to
40225         [__ASSUME_SENDMMSG_SOCKETCALL].
40226         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40227         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
40228         Define.
40229         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40230         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
40231         Likewise.
40232         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
40233         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
40234         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
40235         [!__ASSUME_SENDMMSG]: Change conditional to
40236         [!__ASSUME_SENDMMSG_SOCKETCALL].
40237         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40238         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
40239         Define.
40241         [BZ #16610]
40242         * sysdeps/unix/sysv/linux/kernel-features.h
40243         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
40244         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
40245         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
40246         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
40247         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40248         [__i386__ || __sparc__]
40249         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40250         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
40251         (__ASSUME_RECVMMSG): Define instead of using previous
40252         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
40253         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40254         (__ASSUME_RECVMMSG_SYSCALL): Define.
40255         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40256         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40257         Likewise.
40258         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40259         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40260         Likewise.
40261         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40262         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40263         Likewise.
40264         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
40265         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40266         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40267         [__ASSUME_RECVMMSG]: Change condition to
40268         [__ASSUME_RECVMMSG_SOCKETCALL].
40269         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40270         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40271         Define.
40272         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40273         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40274         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
40275         Likewise.
40276         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
40277         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
40278         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
40279         [!__ASSUME_RECVMMSG]: Change condition to
40280         [!__ASSUME_RECVMMSG_SOCKETCALL].
40281         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40282         (__ASSUME_RECVMMSG_SYSCALL): Define.
40284         [BZ #16609]
40285         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
40286         __powerpc__ || __s390__ || __sh__ || __sparc__]
40287         (__ASSUME_SOCKETCALL): Define.
40288         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
40289         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
40290         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
40291         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
40292         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
40293         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40294         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
40295         (__ASSUME_ACCEPT4): Define instead of using previous
40296         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
40297         __powerpc__ || __sparc__ || __s390__)] condition.
40298         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40299         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40300         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
40301         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40302         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40303         [!__ASSUME_ACCEPT4]: Change condition to
40304         [!__ASSUME_ACCEPT4_SOCKETCALL].
40305         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40306         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
40307         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
40308         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40309         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
40310         __ASSUME_ACCEPT4_SYSCALL.
40311         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
40312         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
40313         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
40314         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
40315         __ASSUME_ACCEPT4_SYSCALL.
40316         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
40317         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
40318         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
40319         [__ASSUME_ACCEPT4]: Change condition to
40320         [__ASSUME_ACCEPT4_SOCKETCALL].
40321         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40322         (__ASSUME_SOCKETCALL): Define.
40323         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
40324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40325         (__ASSUME_SOCKETCALL): Define.
40326         (__ASSUME_ACCEPT4): Remove.
40327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
40328         Define.
40329         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40330         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
40331         Likewise.
40332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40333         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
40335         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
40336         macro.
40337         (HWCAP_ARM_LPAE): Likewise.
40338         (HWCAP_ARM_EVTSTRM): Likewise.
40339         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
40340         Add vpfd32, lpae and evtstrm.
40341         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
40342         Increase to 22.
40344 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
40346         * math/auto-libm-test-in: Add tests of clog10.
40347         * math/auto-libm-test-out: Regenerated.
40348         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
40349         * sysdeps/i386/fpu/libm-test-ulps: Update.
40350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40352 2014-02-18  Andreas Schwab  <schwab@suse.de>
40354         [BZ #16574]
40355         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
40356         Store non-zero if the second buffer was newly allocated.
40357         (send_dg): Likewise.
40358         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
40359         to send_vc and send_dg.
40360         (res_nsend): Pass NULL for ansp2_malloced.
40361         * resolv/res_query.c (__libc_res_nquery): Add parameter
40362         answerp2_malloced and pass it down to __libc_res_nsend.
40363         (res_nquery): Pass additional NULL to __libc_res_nquery.
40364         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
40365         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
40366         second answer buffer if answerp2_malloced was set.
40367         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
40368         (__libc_res_nquerydomain): Add parameter
40369         answerp2_malloced and pass it down to __libc_res_nquery.
40370         (res_nquerydomain): Pass additional NULL to
40371         __libc_res_nquerydomain.
40372         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
40373         additional NULL to __libc_res_nsend and __libc_res_nquery.
40374         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
40375         additional NULL to __libc_res_nsearch.
40376         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
40377         parameter of __libc_res_nsearch to check for separately allocated
40378         second buffer.
40379         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
40380         __libc_res_nquery.
40381         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
40382         additional NULL to __libc_res_nquery.
40383         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
40384         __libc_res_nsearch.
40385         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
40386         * include/resolv.h: Update prototypes of __libc_res_nquery,
40387         __libc_res_nsearch, __libc_res_nsend.
40389 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
40391         * math/auto-libm-test-in: Add tests of fma.
40392         * math/auto-libm-test-out: Regenerated.
40393         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
40394         (fma_towardzero_test_data): Likewise.
40395         (fma_downward_test_data): Likewise.
40396         (fma_upward_test_data): Likewise.
40397         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
40398         mpc_mode.
40399         (rounding_modes): Add values for new field.
40400         (func_calc_method): Add value mpfr_fff_f.
40401         (func_calc_desc): Add mpfr_fff_f union field.
40402         (test_function): Add field exact_args.
40403         (FUNC): Add macro argument EXACT_ARGS.
40404         (FUNC_mpfr_f_f): Update call to FUNC.
40405         (FUNC_mpfr_f_f): Likewise.
40406         (FUNC_mpfr_ff_f): Likewise.
40407         (FUNC_mpfr_if_f): Likewise.
40408         (FUNC_mpc_c_f): Likewise.
40409         (FUNC_mpc_c_c): Likewise.
40410         (test_functions): Add fma.  Update calls to FUNC.
40411         (handle_input_arg): Add argument exact_args.
40412         (add_test): Update call to handle_input_arg.
40413         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
40414         (output_for_one_input_case): Update call to calc_generic_results.
40415         Recalculate exact zero results in each rounding mode.
40417         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
40418         non-negative before setting low bit.
40419         * math/auto-libm-test-in: Mark one asin test possibly having
40420         spurious underflow.
40421         * math/auto-libm-test-out: Regenerated.
40422         * sysdeps/i386/fpu/libm-test-ulps: Update.
40423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40425 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
40427         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
40428         * sysdeps/unix/sysv/linux/microblaze: Move directory from
40429         ports/sysdeps/unix/sysv/linux/microblaze.
40430         * README: Add missing listing for microblaze*-*-linux-gnu.
40432 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
40434         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
40435         duplicate code
40437 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
40439         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
40440         * sysdeps/unix/sysv/linux/ia64: Move directory from
40441         ports/sysdeps/unix/sysv/linux/ia64.
40442         * README: Update listing for ia64-*-linux-gnu.
40444 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
40445             Joseph Myers  <joseph@codesourcery.com>
40447         * Makeconfig (test-name): New variable.
40448         (evaluate-test): Likewise.
40449         * Makerules (do-test-clean): Remove .test-result files.
40450         (common-mostlyclean): Likewise.
40451         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
40452         * scripts/evaluate-test.sh: New file.
40454 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
40456         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
40457         separate $(objpfx)tst-fopenloc-cmp.out and
40458         $(objpfx)tst-fopenloc-mem.out targets.
40459         (tests): Update dependencies.
40460         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
40461         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
40462         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
40463         (tst-rxspencer-no-utf8-ARGS): New variable.
40464         (tst-rxspencer-no-utf8-ENV): Likewise.
40465         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
40466         instead of $(objpfx)tst-rxspencer-mem.
40467         ($(objpfx)tst-rxspencer-mem): Change target to
40468         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
40469         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
40470         * posix/tst-rxspencer-no-utf8.c: New file.
40472         * elf/Makefile ($(objpfx)order.out): Remove rule.
40473         [$(run-built-tests) = yes] (tests): Depend on
40474         $(objpfx)order-cmp.out.
40475         ($(objpfx)order-cmp.out): New rule.
40476         [$(run-built-tests) = yes] (tests): Depend on
40477         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40478         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40479         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40480         $(objpfx)tst-array5-static-cmp.out.
40481         ($(objpfx)tst-array1.out): Remove rule.
40482         ($(objpfx)tst-array1-cmp.out): New rule.
40483         ($(objpfx)tst-array1-static.out): Remove rule.
40484         ($(objpfx)tst-array1-static-cmp.out): New rule.
40485         ($(objpfx)tst-array2.out): Remove rule.
40486         ($(objpfx)tst-array2-cmp.out): New rule.
40487         ($(objpfx)tst-array3.out): Remove rule.
40488         ($(objpfx)tst-array3-cmp.out): New rule.
40489         ($(objpfx)tst-array4.out): Remove rule.
40490         ($(objpfx)tst-array4-cmp.out): New rule.
40491         ($(objpfx)tst-array5.out): Remove rule.
40492         ($(objpfx)tst-array5-cmp.out): New rule.
40493         ($(objpfx)tst-array5-static.out): Remove rule.
40494         ($(objpfx)tst-array5-static-cmp.out): New rule.
40495         [$(run-built-tests) = yes] (tests): Depend on
40496         $(objpfx)order2-cmp.out.
40497         ($(objpfx)order2.out): Remove rule.
40498         ($(objpfx)order2-cmp.out): New rule.
40499         ($(objpfx)tst-initorder.out): Remove rule.
40500         [$(run-built-tests) = yes] (tests): Depend on
40501         $(objpfx)tst-initorder-cmp.out.
40502         ($(objpfx)tst-initorder-cmp.out): New rule.
40503         ($(objpfx)tst-initorder2.out): Remove rule.
40504         [$(run-built-tests) = yes] (tests): Depend on
40505         $(objpfx)tst-initorder2-cmp.out.
40506         ($(objpfx)tst-initorder2-cmp.out): New rule.
40507         [$(run-built-tests) = yes] (tests): Depend on
40508         $(objpfx)tst-unused-dep-cmp.out.
40509         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40510         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40511         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40512         on $(objpfx)tst-setvbuf1-cmp.out.
40513         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40514         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40515         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40516         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40517         ($(objpfx)tst-svc.out): Remove rule.
40518         ($(objpfx)tst-svc-cmp.out): New rule.
40520 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40522         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40523         * ctype/ctype.h [__USE_MISC]: Likewise.
40524         * dirent/dirent.h [__USE_MISC]: Likewise.
40525         * grp/grp.h [__USE_MISC]: Likewise.
40526         * io/fcntl.h [__USE_MISC]: Likewise.
40527         * io/sys/stat.h [__USE_MISC]: Likewise.
40528         * libio/stdio.h [__USE_MISC]: Likewise.
40529         * posix/unistd.h [__USE_MISC]: Likewise.
40530         * pwd/pwd.h [__USE_MISC]: Likewise.
40531         * stdlib.h [__USE_MISC]: Likewise.
40532         * string/bits/string2.h [__USE_MISC]: Likewise.
40533         * string/string.h [__USE_MISC]: Likewise.
40534         * time/time.h [__USE_MISC]: Likewise.
40536 2014-02-13  Andreas Schwab  <schwab@suse.de>
40538         [BZ #16574]
40539         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40540         second answer buffer if it was separately allocated.
40542 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40544         * sysdeps/mips/math-tests.h: Include <features.h>.
40545         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40546         (ROUNDING_TESTS_long_double): Do not define.
40547         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40548         (EXCEPTION_TESTS_long_double): Likewise.
40549         * sysdeps/mips/mips64/libm-test-ulps: Update.
40551         * include/features.h (__USE_BSD): Remove macro definitions.
40552         (__USE_SVID): Likewise.
40553         (_BSD_SOURCE): Likewise.
40554         (_SVID_SOURCE): Likewise.
40555         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40556         from definition of _DEFAULT_SOURCE.
40557         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40558         [_DEFAULT_SOURCE].
40559         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40560         * bits/mman.h [__USE_BSD]: Likewise.
40561         * bits/termios.h [__USE_BSD]: Likewise.
40562         * bits/waitstatus.h [__USE_BSD]: Likewise.
40563         * ctype/ctype.h [__USE_SVID]: Likewise.
40564         * dirent/dirent.h [__USE_BSD]: Likewise.
40565         * grp/grp.h [__USE_SVID]: Likewise.
40566         [__USE_BSD]: Likewise.
40567         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40568         * io/fcntl.h [__USE_BSD]: Likewise.
40569         * io/ftw.h [__USE_BSD]: Likewise.
40570         * io/sys/stat.h [__USE_BSD]: Likewise.
40571         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40572         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40573         * libio/stdio.h [__USE_SVID]: Likewise.
40574         [__USE_BSD]: Likewise.
40575         * math/math.h [__USE_SVID]: Likewise.
40576         [__USE_BSD]: Likewise.
40577         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40578         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40579         * misc/search.h [__USE_SVID]: Likewise.
40580         * misc/sys/mman.h [__USE_BSD]: Likewise.
40581         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40582         * misc/sys/uio.h [__USE_BSD]: Likewise.
40583         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40584         * posix/glob.h [__USE_BSD]: Likewise.
40585         * posix/regex.h [__USE_BSD]: Likewise.
40586         * posix/sys/types.h [__USE_BSD]: Likewise.
40587         [__USE_SVID]: Likewise.
40588         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40589         * posix/sys/wait.h [__USE_BSD]: Likewise.
40590         [__USE_SVID]: Likewise.
40591         * posix/unistd.h [__USE_BSD]: Likewise.
40592         [__USE_SVID]: Likewise.
40593         * pwd/pwd.h [__USE_SVID]: Likewise.
40594         * resolv/netdb.h [__USE_BSD]: Likewise.
40595         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40596         * signal/signal.h [__USE_BSD]: Likewise.
40597         [__USE_SVID]: Likewise.
40598         * socket/sys/socket.h [__USE_BSD]: Likewise.
40599         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40600         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40601         [__USE_SVID]: Likewise.
40602         * string/bits/string2.h [__USE_BSD]: Likewise.
40603         [__USE_SVID]: Likewise.
40604         * string/bits/string3.h [__USE_BSD]: Likewise.
40605         * string/endian.h [__USE_BSD]: Likewise.
40606         * string/string.h [__USE_SVID]: Likewise.
40607         [__USE_BSD]: Likewise.
40608         * string/strings.h [__USE_BSD]: Likewise.
40609         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40610         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40611         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40612         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40613         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40614         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40615         Likewise.
40616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40617         Likewise.
40618         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40619         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40620         Likewise.
40621         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40622         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40623         Likewise.
40624         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40625         Likewise.
40626         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40627         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40628         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40629         Likewise.
40630         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40631         Likewise.
40632         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40633         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40634         * termios/termios.h [__USE_BSD]: Likewise.
40635         * time/sys/time.h [__USE_BSD]: Likewise.
40636         * time/time.h [__USE_BSD]: Likewise.
40637         [__USE_SVID]: Likewise.
40639         * Makefile (subdir_targets): Remove subdir_lint.out.
40641         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40642         (do-tst-printf): Likewise.
40643         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40644         $(objpfx)tst-printf.out.
40646         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40648         * Makerules (check-abi-%): Change target to
40649         $(objpfx)check-abi-%.out.
40650         (check-abi target): Update dependencies.
40651         (check-abi-pattern variable): Redirect output of diff to $@.
40652         (check-abi variable): Likewise.
40653         * elf/Makefile (check-abi): Update dependencies.
40655         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40656         unused.
40657         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40658         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40659         subnormal range.
40660         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40661         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40662         value has largest subnormal exponent.
40663         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40664         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40665         * sysdeps/aarch64/soft-fp/sfp-machine.h
40666         (_FP_TININESS_AFTER_ROUNDING): New macro.
40667         * sysdeps/alpha/soft-fp/sfp-machine.h
40668         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40669         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40670         Likewise.
40671         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40672         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40673         * sysdeps/mips/soft-fp/sfp-machine.h
40674         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40675         * sysdeps/powerpc/soft-fp/sfp-machine.h
40676         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40677         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40678         Likewise.
40679         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40680         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40681         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40682         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40683         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40684         Likewise.
40686 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40688         [BZ #16545]
40689         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40690         model 1.
40692 2014-02-12  Richard Henderson  <rth@redhat.com>
40694         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40695         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40696         * sysdeps/unix/sysv/linux/alpha: Move directory from
40697         ports/sysdeps/unix/sysv/linux/alpha.
40698         * README: Update listing for alpha-*-linux-gnu.
40700 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40702         * include/features.h: Update comment documenting feature test
40703         macros.
40704         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40705         _DEFAULT_SOURCE.
40706         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40707         (_SVID_SOURCE): Likewise.
40708         (_DEFAULT_SOURCE): Update description of default features.
40709         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40710         with _GNU_SOURCE.
40711         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40712         (S_ISVTX): Likewise.
40713         * manual/math.texi (Mathematical Constants): Likewise.
40714         * manual/signal.texi (Interrupted Primitives): Likewise.
40715         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40716         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40717         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40718         Don't refer to _SVID_SOURCE in warning text.
40720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40722         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40723         already defined.
40724         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40725         * sysdeps/mips/dl-lookup.c: Remove.
40726         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40728 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40730         [BZ #16447]
40731         * math/auto-libm-test-in: Add testcase for expl.
40732         * math/auto-libm-test-out: Regenerate.
40733         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40734         calculation of unsafe.
40735         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40737 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40739         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40740         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40741         ports/sysdeps/unix/sysv/linux/aarch64.
40742         * README: Update listing for aarch64*-*-linux-gnu.
40744 2014-02-11  Will Newton  <will.newton@linaro.org>
40746         * manual/probes.texi (Mathematical Function Probes): Use
40747         "triggered" instead of "hit".
40749         * manual/probes.texi (Internal Probes): Add documentation
40750         of setjmp, longjmp and longjmp_target probes.
40752         * include/stap-probe.h: Add comment about probe argument
40753         format.
40755         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40756         definition.  (tr_where, tr_freehook, tr_mallochook,
40757         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40759 2014-02-11  David S. Miller  <davem@davemloft.net>
40761         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40762         processing int_tests.
40764 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40766         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40767         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40768         * sysdeps/unix/sysv/linux/mips: Move directory from
40769         ports/sysdeps/unix/sysv/linux/mips.
40770         * README: Update listing for mips-*-linux-gnu and
40771         mips64-*-linux-gnu.
40773 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40775         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40776         * sysdeps/unix/sysv/linux/m68k: Move directory from
40777         ports/sysdeps/unix/sysv/linux/m68k.
40778         * README: Update listing for m68k-*-linux-gnu.
40780 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40782         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40783         * sysdeps/unix/sysv/linux/generic: Move directory from
40784         ports/sysdeps/unix/sysv/linux/generic.
40785         * sysdeps/unix/sysv/linux/tile: Move directory from
40786         ports/sysdeps/unix/sysv/linux/tile.
40787         * README: Update listing for tile*-*-linux-gnu.
40789 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40791         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40792         __builtin_expect.
40793         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40794         * catgets/open_catalog.c (__open_catalog): Likewise.
40795         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40796         * debug/confstr_chk.c: Likewise.
40797         * debug/fread_chk.c (__fread_chk): Likewise.
40798         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40799         * debug/getgroups_chk.c: Likewise.
40800         * debug/mbsnrtowcs_chk.c: Likewise.
40801         * debug/mbsrtowcs_chk.c: Likewise.
40802         * debug/mbstowcs_chk.c: Likewise.
40803         * debug/memcpy_chk.c: Likewise.
40804         * debug/memmove_chk.c: Likewise.
40805         * debug/mempcpy_chk.c: Likewise.
40806         * debug/memset_chk.c: Likewise.
40807         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40808         * debug/strcat_chk.c (__strcat_chk): Likewise.
40809         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40810         * debug/strncat_chk.c (__strncat_chk): Likewise.
40811         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40812         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40813         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40814         * debug/wcpncpy_chk.c: Likewise.
40815         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40816         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40817         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40818         * debug/wcsncpy_chk.c: Likewise.
40819         * debug/wcsnrtombs_chk.c: Likewise.
40820         * debug/wcsrtombs_chk.c: Likewise.
40821         * debug/wcstombs_chk.c: Likewise.
40822         * debug/wmemcpy_chk.c: Likewise.
40823         * debug/wmemmove_chk.c: Likewise.
40824         * debug/wmempcpy_chk.c: Likewise.
40825         * debug/wmemset_chk.c: Likewise.
40826         * dirent/scandirat.c (SCANDIRAT): Likewise.
40827         * dlfcn/dladdr1.c (dladdr1): Likewise.
40828         * dlfcn/dladdr.c (dladdr): Likewise.
40829         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40830         * dlfcn/dlerror.c (__dlerror): Likewise.
40831         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40832         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40833         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40834         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40835         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40836         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40837         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40838         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40839         Likewise.
40840         * elf/dl-conflict.c: Likewise.
40841         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40842         * elf/dl-dst.h: Likewise.
40843         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40844         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40845         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40846         * elf/dl-init.c (call_init, _dl_init): Likewise.
40847         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40848         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40849         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40850         Likewise.
40851         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40852         Likewise.
40853         * elf/dl-minimal.c (__libc_memalign): Likewise.
40854         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40855         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40856         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40857         * elf/dl-sym.c (do_sym): Likewise.
40858         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40859         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40860         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40861         * elf/dl-writev.h (_dl_writev): Likewise.
40862         * elf/ldconfig.c (search_dir): Likewise.
40863         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40864         (dl_main): Likewise.
40865         * elf/setup-vdso.h (setup_vdso): Likewise.
40866         * grp/compat-initgroups.c (compat_call): Likewise.
40867         * grp/fgetgrent.c (fgetgrent): Likewise.
40868         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40869         * grp/putgrent.c (putgrent): Likewise.
40870         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40871         Likewise.
40872         * hurd/hurdinit.c: Likewise.
40873         * iconvdata/8bit-gap.c (struct): Likewise.
40874         * iconvdata/ansi_x3.110.c : Likewise.
40875         * iconvdata/big5.c : Likewise.
40876         * iconvdata/big5hkscs.c : Likewise.
40877         * iconvdata/cp1255.c: Likewise.
40878         * iconvdata/cp1258.c : Likewise.
40879         * iconvdata/cp932.c : Likewise.
40880         * iconvdata/euc-cn.c: Likewise.
40881         * iconvdata/euc-jisx0213.c : Likewise.
40882         * iconvdata/euc-jp.c: Likewise.
40883         * iconvdata/euc-jp-ms.c : Likewise.
40884         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40885         * iconvdata/gb18030.c : Likewise.
40886         * iconvdata/gbbig5.c (const): Likewise.
40887         * iconvdata/gbgbk.c: Likewise.
40888         * iconvdata/gbk.c : Likewise.
40889         * iconvdata/ibm1364.c : Likewise.
40890         * iconvdata/ibm930.c : Likewise.
40891         * iconvdata/ibm932.c: Likewise.
40892         * iconvdata/ibm933.c : Likewise.
40893         * iconvdata/ibm935.c : Likewise.
40894         * iconvdata/ibm937.c : Likewise.
40895         * iconvdata/ibm939.c : Likewise.
40896         * iconvdata/ibm943.c: Likewise.
40897         * iconvdata/iso_11548-1.c: Likewise.
40898         * iconvdata/iso-2022-cn.c : Likewise.
40899         * iconvdata/iso-2022-cn-ext.c : Likewise.
40900         * iconvdata/iso-2022-jp-3.c: Likewise.
40901         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40902         * iconvdata/iso-2022-kr.c : Likewise.
40903         * iconvdata/iso646.c (gconv_end): Likewise.
40904         * iconvdata/iso_6937-2.c : Likewise.
40905         * iconvdata/iso_6937.c : Likewise.
40906         * iconvdata/iso8859-1.c: Likewise.
40907         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40908         * iconvdata/shift_jisx0213.c : Likewise.
40909         * iconvdata/sjis.c : Likewise.
40910         * iconvdata/t.61.c : Likewise.
40911         * iconvdata/tcvn5712-1.c : Likewise.
40912         * iconvdata/tscii.c: Likewise.
40913         * iconvdata/uhc.c : Likewise.
40914         * iconvdata/unicode.c (gconv_end): Likewise.
40915         * iconvdata/utf-16.c (gconv_end): Likewise.
40916         * iconvdata/utf-32.c (gconv_end): Likewise.
40917         * iconvdata/utf-7.c (base64): Likewise.
40918         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40919         * iconv/gconv_close.c (__gconv_close): Likewise.
40920         * iconv/gconv_open.c (__gconv_open): Likewise.
40921         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40922         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40923         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40924         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40925         (ucs4le_internal_loop_single): Likewise.
40926         * iconv/iconv.c (iconv): Likewise.
40927         * iconv/iconv_close.c: Likewise.
40928         * iconv/loop.c (SINGLE): Likewise.
40929         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40930         * include/atomic.h: Likewise.
40931         * inet/inet6_option.c (option_alloc): Likewise.
40932         * intl/bindtextdom.c (set_binding_values): Likewise.
40933         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40934         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40935         * intl/localealias.c (read_alias_file): Likewise.
40936         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40937         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40938         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40939         * libio/fmemopen.c (fmemopen): Likewise.
40940         * libio/iofgets.c (_IO_fgets): Likewise.
40941         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40942         * libio/iofgetws.c (fgetws): Likewise.
40943         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40944         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40945         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40946         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40947         * locale/findlocale.c (_nl_find_locale): Likewise.
40948         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40949         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40950         Likewise.
40951         * locale/setlocale.c (setlocale): Likewise.
40952         * login/programs/pt_chown.c (main): Likewise.
40953         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40954         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40955         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40956         (mmap, mmap64, mremap, munmap): Likewise.
40957         * math/e_exp2l.c: Likewise.
40958         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40959         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40960         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40961         * math/s_catan.c (__catan): Likewise.
40962         * math/s_catanf.c (__catanf): Likewise.
40963         * math/s_catanh.c (__catanh): Likewise.
40964         * math/s_catanhf.c (__catanhf): Likewise.
40965         * math/s_catanhl.c (__catanhl): Likewise.
40966         * math/s_catanl.c (__catanl): Likewise.
40967         * math/s_ccosh.c (__ccosh): Likewise.
40968         * math/s_ccoshf.c (__ccoshf): Likewise.
40969         * math/s_ccoshl.c (__ccoshl): Likewise.
40970         * math/s_cexp.c (__cexp): Likewise.
40971         * math/s_cexpf.c (__cexpf): Likewise.
40972         * math/s_cexpl.c (__cexpl): Likewise.
40973         * math/s_clog10.c (__clog10): Likewise.
40974         * math/s_clog10f.c (__clog10f): Likewise.
40975         * math/s_clog10l.c (__clog10l): Likewise.
40976         * math/s_clog.c (__clog): Likewise.
40977         * math/s_clogf.c (__clogf): Likewise.
40978         * math/s_clogl.c (__clogl): Likewise.
40979         * math/s_csin.c (__csin): Likewise.
40980         * math/s_csinf.c (__csinf): Likewise.
40981         * math/s_csinh.c (__csinh): Likewise.
40982         * math/s_csinhf.c (__csinhf): Likewise.
40983         * math/s_csinhl.c (__csinhl): Likewise.
40984         * math/s_csinl.c (__csinl): Likewise.
40985         * math/s_csqrt.c (__csqrt): Likewise.
40986         * math/s_csqrtf.c (__csqrtf): Likewise.
40987         * math/s_csqrtl.c (__csqrtl): Likewise.
40988         * math/s_ctan.c (__ctan): Likewise.
40989         * math/s_ctanf.c (__ctanf): Likewise.
40990         * math/s_ctanh.c (__ctanh): Likewise.
40991         * math/s_ctanhf.c (__ctanhf): Likewise.
40992         * math/s_ctanhl.c (__ctanhl): Likewise.
40993         * math/s_ctanl.c (__ctanl): Likewise.
40994         * math/w_pow.c: Likewise.
40995         * math/w_powf.c: Likewise.
40996         * math/w_powl.c: Likewise.
40997         * math/w_scalb.c (sysv_scalb): Likewise.
40998         * math/w_scalbf.c (sysv_scalbf): Likewise.
40999         * math/w_scalbl.c (sysv_scalbl): Likewise.
41000         * misc/error.c (error_tail): Likewise.
41001         * misc/pselect.c (__pselect): Likewise.
41002         * nis/nis_callback.c (__nis_create_callback): Likewise.
41003         * nis/nis_call.c (__nisfind_server): Likewise.
41004         * nis/nis_creategroup.c (nis_creategroup): Likewise.
41005         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
41006         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
41007         * nis/nis_getservlist.c (nis_getservlist): Likewise.
41008         * nis/nis_lookup.c (nis_lookup): Likewise.
41009         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
41010         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
41011         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
41012         * nis/nis_xdr.c (xdr_endpoint): Likewise.
41013         * nis/nss_compat/compat-grp.c (getgrent_next_file)
41014         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
41015         * nis/nss_compat/compat-initgroups.c (add_group)
41016         (internal_getgrent_r): Likewise.
41017         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
41018         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
41019         * nis/nss_compat/compat-spwd.c (getspent_next_file)
41020         (internal_getspnam_r): Likewise.
41021         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
41022         (_nss_nis_getaliasbyname_r): Likewise.
41023         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
41024         (_nss_nis_getntohost_r): Likewise.
41025         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
41026         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
41027         (_nss_nis_getgrgid_r): Likewise.
41028         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
41029         (internal_nis_gethostent_r, internal_gethostbyname2_r)
41030         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
41031         (_nss_nis_gethostbyname4_r): Likewise.
41032         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
41033         (initgroups_netid): Likewise.
41034         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
41035         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
41036         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
41037         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
41038         (_nss_nis_getprotobynumber_r): Likewise.
41039         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
41040         (_nss_nis_getsecretkey): Likewise.
41041         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
41042         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
41043         (_nss_nis_getpwuid_r): Likewise.
41044         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
41045         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
41046         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
41047         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
41048         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
41049         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
41050         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
41051         Likewise.
41052         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
41053         (_nss_nisplus_getntohost_r): Likewise.
41054         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
41055         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
41056         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
41057         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
41058         Likewise.
41059         * nis/nss_nisplus/nisplus-initgroups.c
41060         (_nss_nisplus_initgroups_dyn): Likewise.
41061         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
41062         (_nss_nisplus_getnetbyaddr_r): Likewise.
41063         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
41064         (_nss_nisplus_getprotobynumber_r): Likewise.
41065         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
41066         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
41067         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
41068         Likewise.
41069         * nis/nss_nisplus/nisplus-service.c
41070         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
41071         (_nss_nisplus_getservbyport_r): Likewise.
41072         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
41073         (_nss_nisplus_getspnam_r): Likewise.
41074         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
41075         Likewise.
41076         * nscd/aicache.c (addhstaiX): Likewise.
41077         * nscd/cache.c (cache_search, prune_cache): Likewise.
41078         * nscd/connections.c (register_traced_file, send_ro_fd)
41079         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
41080         (main_loop_epoll): Likewise.
41081         * nscd/grpcache.c (addgrbyX): Likewise.
41082         * nscd/hstcache.c (addhstbyX): Likewise.
41083         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41084         * nscd/mem.c (gc, mempool_alloc): Likewise.
41085         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
41086         (addinnetgrX): Likewise.
41087         * nscd/nscd-client.h (__nscd_acquire_maplock)
41088         (__nscd_drop_map_ref): Likewise.
41089         * nscd/nscd_getai.c (__nscd_getai): Likewise.
41090         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
41091         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
41092         Likewise.
41093         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
41094         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41095         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
41096         (__nscd_get_map_ref): Likewise.
41097         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
41098         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
41099         Likewise.
41100         * nscd/pwdcache.c (addpwbyX): Likewise.
41101         * nscd/selinux.c (preserve_capabilities): Likewise.
41102         * nscd/servicescache.c (addservbyX): Likewise.
41103         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
41104         * posix/fnmatch.c (fnmatch): Likewise.
41105         * posix/getopt.c (_getopt_internal_r): Likewise.
41106         * posix/glob.c (glob, glob_in_dir): Likewise.
41107         * posix/wordexp.c (exec_comm_child): Likewise.
41108         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
41109         (getanswer_r, gaih_getanswer_slice): Likewise.
41110         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
41111         * resolv/res_init.c: Likewise.
41112         * resolv/res_mkquery.c (res_nmkquery): Likewise.
41113         * resolv/res_query.c (__libc_res_nquery): Likewise.
41114         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
41115         Likewise.
41116         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
41117         * stdio-common/perror.c (perror): Likewise.
41118         * stdio-common/printf_fp.c (___printf_fp): Likewise.
41119         * stdio-common/tmpnam.c (tmpnam): Likewise.
41120         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
41121         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
41122         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
41123         Likewise.
41124         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
41125         * stdlib/putenv.c (putenv): Likewise.
41126         * stdlib/setenv.c (__add_to_environ): Likewise.
41127         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
41128         * stdlib/strtol_l.c (INTERNAL): Likewise.
41129         * string/memmem.c (memmem): Likewise.
41130         * string/strerror.c (strerror): Likewise.
41131         * string/strnlen.c (__strnlen): Likewise.
41132         * string/test-memmem.c (simple_memmem): Likewise.
41133         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
41134         * sunrpc/pm_getport.c (__get_socket): Likewise.
41135         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
41136         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
41137         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
41138         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
41139         Likewise.
41140         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
41141         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
41142         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
41143         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
41144         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
41145         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
41146         Likewise.
41147         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
41148         Likewise.
41149         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
41150         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
41151         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
41152         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
41153         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
41154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
41155         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41156         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
41157         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
41158         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
41159         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
41160         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
41161         Likewise.
41162         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
41163         Likewise.
41164         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
41165         Likewise.
41166         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
41167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41168         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
41169         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
41170         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
41171         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
41172         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41173         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
41174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
41175         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
41176         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
41177         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41178         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
41179         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
41180         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41181         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
41182         Likewise.
41183         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
41184         Likewise.
41185         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
41186         Likewise.
41187         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
41188         Likewise.
41189         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41190         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41191         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
41192         Likewise.
41193         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
41194         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
41195         * sysdeps/posix/opendir.c (__opendirat): Likewise.
41196         * sysdeps/posix/sleep.c: Likewise.
41197         * sysdeps/posix/tempname.c: Likewise.
41198         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
41199         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41200         Likewise.
41201         * sysdeps/powerpc/powerpc32/dl-machine.h
41202         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
41203         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
41204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41205         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
41206         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
41207         Likewise.
41208         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
41209         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
41210         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41211         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
41212         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
41213         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
41214         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
41215         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
41216         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41217         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
41218         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
41219         (elf_machine_lazy_rel): Likewise.
41220         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41221         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
41222         (elf_machine_lazy_rel): Likewise.
41223         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
41224         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
41225         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
41226         * sysdeps/unix/grantpt.c (grantpt): Likewise.
41227         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
41228         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
41229         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
41230         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41231         Likewise.
41232         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
41233         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
41234         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
41235         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
41236         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
41237         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41238         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
41239         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
41240         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
41241         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41242         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41243         Likewise.
41244         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
41245         (__posix_fallocate64_l64): Likewise.
41246         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
41247         (posix_fallocate): Likewise.
41248         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
41249         Likewise.
41250         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41251         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
41252         (getifaddrs_internal): Likewise.
41253         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
41254         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
41255         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
41256         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41257         * sysdeps/unix/sysv/linux/posix_fallocate64.c
41258         (__posix_fallocate64_l64): Likewise.
41259         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
41260         Likewise.
41261         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
41262         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
41263         (__get_clockfreq): Likewise.
41264         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
41265         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
41266         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
41267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41268         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41269         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
41270         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
41271         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
41272         Likewise.
41273         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
41274         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
41275         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
41276         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
41277         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41278         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
41279         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
41280         Likewise.
41281         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41282         (posix_fallocate): Likewise.
41283         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41284         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
41285         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
41286         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
41287         (elf_machine_rela, elf_machine_rela_relative)
41288         (elf_machine_lazy_rel): Likewise.
41289         * time/asctime.c (asctime_internal): Likewise.
41290         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
41291         * time/tzset.c (__tzset_parse_tz): Likewise.
41292         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
41293         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
41294         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
41295         * wcsmbs/wcsmbsload.h: Likewise.
41297         [BZ #15894]
41298         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
41300         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
41301         (arena_get2): Remove THREAD_STATS conditionals.
41302         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
41303         (__malloc_stats, int): Likewise.
41305 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
41307         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
41308         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
41310         * manual/setjmp.texi: Fix typos/grammar errors.
41312         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
41313         Only return early when n is <= 0.  Delete unused return statement.
41315         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
41316         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
41317         * debug/tst-longjmp_chk3.c: New file.
41319         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
41320         (test_main): Replace code with set_fortify_handler call.
41321         * debug/test-strcpy_chk.c: Likewise.
41322         * debug/tst-chk1.c: Likewise.
41323         * debug/tst-longjmp_chk.c: Likewise.
41324         * test-skeleton.c: Include fcntl.h & paths.h
41325         (set_fortify_handler): Define.
41327         * debug/tst-longjmp_chk.c: Add header comment and include
41328         ../test-skeleton.c.
41329         (do_test): Mark static.
41330         (TEST_FUNCTION): Define.
41332         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
41333         (IP_PMTUDISC_INTERFACE): Likewise.
41334         (IP_MULTICAST_IF): Likewise.
41335         (IP_MULTICAST_TTL): Likewise.
41336         (IP_MULTICAST_LOOP): Likewise.
41337         (IP_ADD_MEMBERSHIP): Likewise.
41338         (IP_DROP_MEMBERSHIP): Likewise.
41339         (IP_UNBLOCK_SOURCE): Likewise.
41340         (IP_BLOCK_SOURCE): Likewise.
41341         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
41342         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
41343         (IP_MSFILTER): Likewise.
41344         (MCAST_JOIN_GROUP): Likewise.
41345         (MCAST_BLOCK_SOURCE): Likewise.
41346         (MCAST_UNBLOCK_SOURCE): Likewise.
41347         (MCAST_LEAVE_GROUP): Likewise.
41348         (MCAST_JOIN_SOURCE_GROUP): Likewise.
41349         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
41350         (MCAST_MSFILTER): Likewise.
41351         (IP_MULTICAST_ALL): Likewise.
41352         (IP_UNICAST_IF): Likewise.
41354         * timezone/Makefile: Delete $(have-ksh) check.
41355         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
41356         * timezone/tzselect.ksh: Add +x mode bits.
41358         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
41359         (ANON_INODE_FS_MAGIC): Likewise.
41360         (BDEVFS_MAGIC): Likewise.
41361         (BINFMTFS_MAGIC): Likewise.
41362         (BTRFS_TEST_MAGIC): Likewise.
41363         (CRAMFS_MAGIC_WEND): Likewise.
41364         (DEBUGFS_MAGIC): Likewise.
41365         (ECRYPTFS_SUPER_MAGIC): Likewise.
41366         (EXT3_SUPER_MAGIC): Likewise.
41367         (EXT4_SUPER_MAGIC): Likewise.
41368         (FUTEXFS_SUPER_MAGIC): Likewise.
41369         (HOSTFS_SUPER_MAGIC): Likewise.
41370         (HUGETLBFS_MAGIC): Likewise.
41371         (MINIX3_SUPER_MAGIC): Likewise.
41372         (MTD_INODE_FS_MAGIC): Likewise.
41373         (NILFS_SUPER_MAGIC): Likewise.
41374         (OPENPROM_SUPER_MAGIC): Likewise.
41375         (PIPEFS_MAGIC): Likewise.
41376         (PSTOREFS_MAGIC): Likewise.
41377         (QNX6_SUPER_MAGIC): Likewise.
41378         (RAMFS_MAGIC): Likewise.
41379         (REISERFS_SUPER_MAGIC_STRING): Likewise.
41380         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
41381         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
41382         (SECURITYFS_MAGIC): Likewise.
41383         (SELINUX_MAGIC): Likewise.
41384         (SMACK_MAGIC): Likewise.
41385         (SOCKFS_MAGIC): Likewise.
41386         (SQUASHFS_MAGIC): Likewise.
41387         (STACK_END_MAGIC): Likewise.
41388         (TMPFS_MAGIC): Likewise.
41389         (USBDEVICE_SUPER_MAGIC): Likewise.
41390         (V9FS_MAGIC): Likewise.
41391         (XENFS_SUPER_MAGIC): Likewise.
41392         (CRAMFS_MAGIC): Fix typo in comment.
41393         (EXT2_SUPER_MAGIC): Update comment.
41394         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
41396 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
41398         * sysdeps/arm: Move directory from ports/sysdeps/arm.
41399         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
41400         * sysdeps/unix/sysv/linux/arm: Move directory from
41401         ports/sysdeps/unix/sysv/linux/arm.
41402         * README: Update listing for arm-*-linux-gnueabi.
41404         * README: Remove mention of am33.
41406 2014-02-07  Roland McGrath  <roland@hack.frob.com>
41408         * bits/sigset.h (__sigemptyset): Use a statement expression rather
41409         than the comma operator, to avoid "rhs of comma has no effect"
41410         compiler warnings.
41411         (__sigfillset, __sigandset, __sigorset): Likewise.
41412         * include/signal.h (__sigemptyset): Likewise.
41413         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
41415 2014-02-07  Allan McRae  <allan@archlinux.org>
41417         * version.h (RELEASE): Set to "development".
41418         (VERSION): Set to "2.19.90"
41419         * NEWS: Add 2.20 section.
41421 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
41423         [BZ #16529]
41424         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
41426 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41428         * manual/contrib.texi: Update entry for Carlos O'Donell,
41429         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
41431 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
41433         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
41435         * sysdeps/unix/sysv/linux/kernel-features.h
41436         [__LINUX_KERNEL_VERSION >= 0x020621]
41437         (__ASSUME_PROC_PID_TASK_COMM): Define.
41439 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41441         [BZ #16398]
41442         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
41443         conversion when destination buffer does not have enough space.
41444         * libio/tst-ftell-partial-wide.c: New test case.
41445         * libio/Makefile (tests): Add tst-ftell-partial-wide.
41447         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
41448         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
41449         Leonard and Allan McRae.
41451 2014-02-04  David S. Miller  <davem@davemloft.net>
41453         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
41454         32-bit.
41456 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41459         New file
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
41461         New file
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
41463         New file.
41464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
41465         New file.
41466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
41467         New file.
41468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
41469         New file.
41470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
41471         New file.
41472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
41473         New file.
41474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41475         New file.
41476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41477         New file.
41478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41479         New file.
41480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41481         New file.
41482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41483         New file.
41485 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41487         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41488         * shlib-versions: Likewise.
41490 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41491             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41493         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41494         (abilist-pattern): New variable, set to %-le.abilist.
41496         * Makerules (abilist-pattern): New variable.
41497         (vpath): Use $(abilist-pattern) in place of %.abilist.
41498         (check-abi-% pattern rule): Likewise.
41499         (check-abi, update-abi): Likewise.
41501 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41505 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41507         * manual/startup.texi: Add next, previous, and top entries for
41508         the `Program Arguments' and `Environment Variables' nodes.
41510 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41512         * manual/macros.texi: Add comments before MTASC-safety macros.
41514         * manual/users.texi: Document MTASC-safety properties.
41516         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41517         (pthread_getspecific, pthread_setspecific): Format with
41518         @deftypefun, and add @safety note.
41519         * manual/signal.texi: Move comments that analyze the above
41520         functions to their home place.
41522 2014-02-03  Allan McRae  <allan@archlinux.org>
41524         * po/sl.po: Update Slovenian translation from translation project.
41526 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41528         * manual/time.texi (timegm): Add missing blank after @c.
41529         Reported by Joseph Myers <joseph@codesourcery.com>.
41531 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41533         * manual/check-safety.sh: New.
41534         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41536         * manual/terminal.texi: Document MTASC-safety properties.
41538         * manual/filesys.texi: Document MTASC-safety properties.
41540         * manual/errno.texi: Document MTASC-safety properties.
41542         * manual/intro.texi: Document safety identifiers and
41543         conditionals.
41545         * manual/string.texi (wcstok): Fix prototype.
41546         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41548         * manual/time.texi: Document MTASC-safety properties.
41550         * manual/string.texi: Document MTASC-safety properties.
41552         * manual/threads.texi: Document MTASC-safety properties.
41554         * manual/stdio.texi: Document MTASC-safety properties.
41556         * manual/syslog.texi: Document MTASC-safety properties.
41558         * manual/sysinfo.texi: Document MTASC-safety properties.
41560         * manual/startup.texi: Document MTASC-safety properties.
41562         * manual/socket.texi: Document MTASC-safety properties.
41564         * manual/signal.texi: Document MTASC-safety properties.
41566 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41568         * manual/setjmp.texi: Document MTASC-safety properties.
41570         * manual/search.texi: Document MTASC-safety properties.
41572         * manual/resource.texi: Document MTASC-safety properties.
41574         * manual/process.texi: Document MTASC-safety properties.
41576         * manual/platform.texi: Document MTASC-safety properties.
41578         * manual/pipe.texi: Document MTASC-safety properties.
41580         * manual/pattern.texi: Document MTASC-safety properties.
41582         * manual/message.texi: Document MTASC-safety properties.
41584         [BZ #12751]
41585         * manual/memory.texi: Document MTASC-safety properties.
41587         * manual/math.texi: Document MTASC-safety properties.
41589         * manual/locale.texi: Document MTASC-safety properties.
41591         * manual/llio.texi: Document MTASC-safety properties.
41593         * manual/libdl.texi: New.
41595         * manual/lang.texi: Document MTASC-safety properties.
41597         * manual/job.texi: Document MTASC-safety properties.
41599         * manual/getopt.texi: Document MTASC-safety properties.
41601         * manual/ctype.texi: Document MTASC-safety properties.
41603 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41605         [BZ #16046]
41606         * csu/libc-tls.c (static_map): Remove variable.
41607         (__libc_setup_tls): Use main executable's link map for TLS data.
41608         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41609         casing for LM_ID_BASE and GL(dl_nns).
41610         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41611         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41612         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41613         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41614         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41615         member.
41616         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41617         l_phnum members.
41619 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41621         * manual/debug.texi: Document MTASC-safety properties.
41623 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41625         [BZ #16510]
41626         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41627         of __x86_64__ when disabling x87 inline functions.
41629 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41631         * manual/charset.texi: Document MTASC-safety properties.
41633         * manual/crypt.texi: Document MTASC-safety properties.
41635         * manual/conf.texi: Document MTASC-safety properties.
41637         * manual/arith.texi: Document MTASC-safety properties.
41639         * manual/argp.texi: Document MTASC-safety properties.
41641         * manual/macros.texi: Introduce macros to document multi
41642         thread, asynchronous signal and asynchronous cancellation
41643         safety properties.
41644         * manual/intro.texi: Introduce the properties themselves.
41646 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41648         * sysdeps/sh/sh4/Makefile: New file.
41650 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41652         * math/gen-libm-test.pl ($srcdir): New variable.
41653         ($auto_input): Use it.
41655 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41657         [BZ #16506]
41658         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41659         access beyond array bounds when parsing netgroups file.
41661         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41662         the old buffer before realloc.
41664 2014-01-27  Allan McRae  <allan@archlinux.org>
41666         * po/fr.po: Update French translation from translation project.
41668 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41670         * sysdeps/sh/libm-test-ulps: Regenerate.
41672 2014-01-24  David S. Miller  <davem@davemloft.net>
41674         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41676 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41678         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41679         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41681 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41683         [BZ #16474]
41684         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41685         string pointers after reallocation.
41687 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41689         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41690         __SH4A__ instead of __SH_FPU_ANY__.
41692 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41694         * sysdeps/sh/fpu_control.h: New file.
41695         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41696         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41697         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41698         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41699         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41700         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41701         * sysdeps/sh/sys/ucontext.h: Remove.
41702         * sysdeps/sh/sys: Remove directory.
41704 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41706         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41707         s390/sys/ucontext.h.
41708         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41709         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41711 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41713         [BZ #15605]
41714         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41716 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41718         [BZ#16431]
41719         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41720         Adjust the vDSO correctly for internal calls.
41721         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41723 2014-01-20  Allan McRae  <allan@archlinux.org>
41725         * po/ca.po: Update Catalan translation from translation project.
41727 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41729         * sysdeps/s390/sotruss-lib.c: New file.
41731 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41733         [BZ#16430]
41734         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41735         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41736         local calls issues by not having a PLT stub required for IFUNC calls.
41737         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41739 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41741         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41742         * math/test-fpucw-static.c: Likewise.
41744 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41746         [BZ #16453]
41747         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41749 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41751         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41752         implementation for powerpc.
41754 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41756         [BZ #14782]
41757         * sysdeps/posix/system.c (__libc_system): Do not enable
41758         asynchronous cancellation.
41760 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41762         [BZ #16427]
41763         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41764         handling only for numbers special also in the IEEE case.
41766 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41768         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41770 2014-01-11  Allan McRae  <allan@archlinux.org>
41772         * po/bg.po: Update Bulgarian translation from translation project.
41774         * po/de.po: Update German translation from translation project.
41776 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41778         * sysdeps/generic/gcc-compat.h: New file.
41780 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41782         * benchtests/asin-inputs: Correct slow inputs.
41783         * benchtests/acos-inputs: Likewise.
41785 2014-01-10  Allan McRae  <allan@archlinux.org>
41787         * po:sv.po: Update Swedish translation from translation project.
41789         * po/vi.po: Update Vietnamese translation from translation project.
41791         * po/eo.po: Update Esperanto translation from translation project.
41793         * po/cs.po: Update Czech translation from translation project.
41795         * po/nl.po: Update Dutch translation from translation project.
41797         * po/pl.po: Update Polish translation from translation project.
41799         * po/ru.po: Update Russian translation from translation project.
41801         * po/uk.po: Update Ukrainian translation from translation project.
41803 2014-01-08  Brooks Moses  <bmoses@google.com>
41805         * elf/dl-load.c: Fix comment typo.
41807 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41809         * po/header.pot: Rename to...
41810         * po/pot.header: ... this.
41811         * po/Makefile: Use pot.header.
41813 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41814             Maxim Kuvyrkov  <maxim@kugelworks.com>
41816         [BZ #16394]
41817         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41818         SRC and DEST against LEN.
41820 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41822         [BZ #16414]
41823         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41824         implementation.
41825         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41827 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41831 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41833         [BZ #16408]
41834         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41835         for large positive arguments.
41837 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41839         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41841         * math/auto-libm-test-in: Mark various tests with
41842         xfail-rounding:ldbl-128ibm.
41843         * math/auto-libm-test-out: Regenerated.
41845         [BZ #16407]
41846         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41847         Increase overflow threshold.
41849 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41851         [BZ #14286]
41852         * stdio-common/vfprintf.c: Check for integer overflow.
41854 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41856         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41857         the first argument and return value of __tls_get_addr_internal.
41859 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41861         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41862         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41864 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41866         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41867         * sysdeps/s390/rtld-global-offsets.sym: New file.
41868         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41869         GLIBC_2.19 symbol.
41870         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41871         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41872         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41873         ... this.
41874         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41875         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41876         ... this.
41877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41878         Regenerate.
41879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41880         Regenerate.
41881         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41882         halfs of GPRs for high_gprs contexts.
41883         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41884         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41885         field.
41886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41887         uc_flags field.
41888         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41889         64 bit versions:
41890         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41891         for high GPRs (uc_high_gprs) and for future extensions
41892         (__reserved).
41893         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41894         for future extensions (__reserved).
41895         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41896         64 bit versions:
41897         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41898         SC_HIGHGPRS offset definition.
41899         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41900         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41902         * Versions.def: Add GLIBC_2.19 for libpthread.
41903         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41904         siglongjmp for libpthread with GLIBC_2.19 symver.
41905         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41906         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41907         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41908         * sysdeps/s390/__longjmp.c: New file.
41909         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41910         * sysdeps/s390/longjmp.c: New file.
41911         * sysdeps/s390/setjmp.S: New file.
41912         * sysdeps/s390/sigjmp.S: New file.
41913         * sysdeps/s390/v1-longjmp.c: New file.
41914         * sysdeps/s390/v1-setjmp.h: New file.
41915         * sysdeps/s390/v1-sigjmp.c: New file.
41916         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41917         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41918         GLIBC_2.19 version.
41919         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41920         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41921         versioned symbols for ____longjmp_chk.
41922         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41923         Likewise.
41924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41925         Regenerate.
41926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41927         Regenerate.
41928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41929         Regenerate.
41930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41931         Regenerate.
41932         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41933         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41934         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41935         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41936         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41937         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41938         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41939         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41940         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41941         * sysdeps/s390/rtld-__longjmp.c: New file.
41942         * sysdeps/s390/rtld-setjmp.S: New file.
41944 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41946         [BZ #16400]
41947         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41948         Return -__logl (x) for small positive arguments without evaluating
41949         a polynomial.
41951 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41953         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41954         Rename to ...
41955         (__ptrace_peeksiginfo_args): ... this.
41956         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41957         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41958         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41960 2014-01-06  Allan McRae  <allan@archlinux.org>
41962         * inet/netinet/in.h: Fix typo in comment.
41964 2014-01-05  Andreas Jaeger  <aj@suse.de>
41966         * sysdeps/i386/fpu/libm-test-ulps: Update.
41968 2014-01-05  Allan McRae  <allan@archlinux.org>
41970         * po/libc.pot: Regenerated.
41972         * malloc/memusagestat.c: Fix gettext call formatting.
41974 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41976         * nscd/nscd.c: Improve usage() output.
41978 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41980         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41981         * sysdeps/unix/sysv/linux/configure: Regenerated.
41982         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41983         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41985 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41987         [BZ #16390]
41988         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41989         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41991 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41993         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41994         extra tokens at end of #undef directive.
41995         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41996         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41997         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41999 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
42001         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42003         * math/auto-libm-test-in: Mark various tests with
42004         xfail-rounding:ldbl-128ibm.
42005         * math/auto-libm-test-out: Regenerated.
42007 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
42009         [BZ #16386]
42010         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
42011         numbers with subnormal high part when calculating exponent.
42013         [BZ #16385]
42014         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
42015         fabs.
42017         [BZ #16384]
42018         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
42019         M_LN2l.
42020         (__ieee754_acoshl): Use __log1pl not __log1p.
42022 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
42024         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
42025         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
42026         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
42027         (grow_heap, heap_trim, _int_new_arena, get_free_list)
42028         (reused_arena, arena_get2): Convert to GNU style.
42029         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
42030         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
42031         (memalign_check, __malloc_set_state): Likewise.
42032         * malloc/mallocbug.c (main): Likewise.
42033         * malloc/malloc.c (__malloc_assert, malloc_init_state)
42034         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
42035         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
42036         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
42037         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
42038         (__posix_memalign, malloc_info): Likewise.
42039         * malloc/malloc.h: Likewise.
42040         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
42041         (mallochook, memalignhook, reallochook, mabort): Likewise.
42042         * malloc/mcheck.h: Likewise.
42043         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
42044         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
42045         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
42046         * malloc/morecore.c (__default_morecore): Likewise.
42047         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
42048         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
42049         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
42050         (print_and_abort): Likewise.
42051         * malloc/obstack.h: Likewise.
42052         * malloc/set-freeres.c (__libc_freeres): Likewise.
42053         * malloc/tst-mallocstate.c (main): Likewise.
42054         * malloc/tst-mtrace.c (main): Likewise.
42055         * malloc/tst-realloc.c (do_test): Likewise.
42057 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42059         [BZ #16366]
42060         * nscd/netgroupcache.c (do_notfound): New function.
42061         (addgetnetgrentX): Use it.
42063         [BZ # 16365]
42064         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
42065         NSS_STATUS_NOTFOUND.
42067 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
42069         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
42070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42072 2014-01-01  Allan McRae  <allan@archlinux.org>
42074         * scripts/update-copyrights: Update configure input file suffix.
42076         * NEWS: Update copyright year.
42077         * catgets/gencat.c: Likewise.
42078         * csu/version.c: Likewise.
42079         * debug/catchsegv.sh: Likewise.
42080         * debug/pcprofiledump.c: Likewise.
42081         * debug/xtrace.sh: Likewise.
42082         * elf/ldconfig.c: Likewise.
42083         * elf/ldd.bash.in: Likewise.
42084         * elf/pldd.c: Likewise.
42085         * elf/sotruss.ksh: Likewise.
42086         * elf/sprof.c: Likewise.
42087         * iconv/iconv_prog.c: Likewise.
42088         * iconv/iconvconfig.c: Likewise.
42089         * locale/programs/locale.c: Likewise.
42090         * locale/programs/localedef.c: Likewise.
42091         * login/programs/pt_chown.c: Likewise.
42092         * malloc/memusage.sh: Likewise.
42093         * malloc/memusagestat.c: Likewise.
42094         * malloc/mtrace.pl: Likewise.
42095         * manual/libc.texinfo: Likewise.
42096         * nscd/nscd.c: Likewise.
42097         * nss/getent.c: Likewise.
42098         * nss/makedb.c: Likewise.
42099         * posix/getconf.c: Likewise.
42100         * scripts/test-installation.pl: Likewise.
42102         * All files with FSF copyright notices: Update copyright dates
42103         using scripts/update-copyrights.
42104         * intl/plural.c: Regenerated.
42105         * locale/programs/charmap-kw.h: Likewise.
42106         * locale/programs/locfile-kw.h: Likewise.
42108 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
42110         * sysdeps/unix/sysv/linux/configure: Regenerated.
42111         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
42112         the linux/fanotify.h header.
42113         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
42114         HAVE_LINUX_FANOTIFY_H is defined.
42116 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42118         * benchtests/cos-inputs: New inputs.
42119         * benchtests/sin-inputs: Likewise.
42121         * benchtests/atan-inputs: New inputs. Fix name of multiple
42122         precision fallback inputs.
42124         * benchtests/atanh-inputs: New inputs.
42125         * benchtests/tanh-inputs: Likewise.
42127         * benchtests/acosh-inputs: New inputs.
42128         * benchtests/asinh-inputs: Likewise.
42130         * benchtests/cosh-inputs: New inputs.
42131         * benchtests/sinh-inputs: Likewise.
42133         * benchtests/acos-inputs: Add more inputs.
42134         * benchtests/asin-inputs: Likewise.
42136 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
42138         [BZ #16375]
42139         * manual/arith.texi: Fix spelling.
42140         * manual/charset.texi: Likewise.
42141         * manual/errno.texi: Likewise.
42142         * manual/filesys.texi: Likewise.
42143         * manual/lang.texi: Likewise.
42144         * manual/llio.texi: Likewise.
42145         * manual/locale.texi: Likewise.
42146         * manual/message.texi: Likewise.
42147         * manual/resource.texi: Likewise.
42148         * manual/search.texi: Likewise.
42149         * manual/setjmp.texi: Likewise.
42150         * manual/stdio.texi: Likewise.
42151         * manual/string.texi: Likewise.
42152         * manual/sysinfo.texi: Likewise.
42153         * manual/time.texi: Likewise.
42155 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
42157         * po/sl.po: New file.
42159 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
42161         * .gitignore: Add core/.gdbinit/.gdb_history.
42163 2013-12-27  Allan McRae  <allan@archlinux.org>
42165         [BZ #16369]
42166         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
42167         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
42169 2013-12-24  Brooks Moses  <bmoses@google.com>
42171         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
42172         all compilers that claim C++98 compliance, not just GCC.
42173         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
42174         Likewise.
42176 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42178         * NEWS: Restore accidentally deleted bug-fix entries.
42180 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
42181             Ondřej Bílka  <neleai@seznam.cz>
42183         [BZ #15073]
42184         * malloc/malloc.c (_int_free): Perform sanity check only if we
42185         have_lock.
42187 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
42189         [BZ #12986]
42190         * manual/stdio.texi (String Input Conversions): Clarify that character
42191         classes are not supported.
42193 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42197 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
42199         [BZ #16337]
42200         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
42201         Calculate results for small negative arguments directly rather
42202         than using reflection formula with special underflow handling.
42204         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
42205         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
42206         sysdeps/unix/bsd/bsd4.4/syscalls.list.
42207         (fchflags): Likewise.
42208         (revoke): Likewise.
42209         (setlogin): Likewise.
42210         (sigaltstack): Likewise.
42211         (wait4): Likewise.
42212         (sigblock): Remove.
42213         (sigsetmask): Likewise.
42214         (wait3): Likewise.
42215         (waitpid): Likewise.
42216         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
42217         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
42218         file.
42219         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
42220         * sysdeps/unix/bsd/Makefile: ... here.
42221         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
42222         * sysdeps/unix/bsd/Versions: ... here.
42223         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
42224         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
42225         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
42226         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
42227         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
42228         * sysdeps/unix/bsd/sigblock.c: ... here.
42229         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
42230         * sysdeps/unix/bsd/sigsetmask.c: ... here.
42231         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
42232         * sysdeps/unix/bsd/sigvec.c: ... here.
42233         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
42234         * sysdeps/unix/bsd/tcdrain.c: ... here.
42235         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
42236         * sysdeps/unix/bsd/tcgetattr.c: ... here.
42237         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
42238         * sysdeps/unix/bsd/tcsetattr.c: ... here.
42239         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
42240         * sysdeps/unix/bsd/wait.c: ... here.
42241         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
42242         * sysdeps/unix/bsd/wait3.c: ... here.
42243         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
42244         * sysdeps/unix/bsd/waitpid.c: ... here.
42246 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
42248         [BZ #16356]
42249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
42250         round-to-nearest for [!USE_AS_EXPM1L].
42251         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
42252         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
42253         more tests of exp and exp10.  Expect some exp10 tests to miss
42254         exceptions or fail in directed rounding modes.
42255         * math/auto-libm-test-out: Regenerated.
42256         * math/libm-test.inc (exp10_tonearest_test_data): New array.
42257         (exp10_test_tonearest): New function.
42258         (exp10_towardzero_test_data): New array.
42259         (exp10_test_towardzero): New function.
42260         (exp10_downward_test_data): New array.
42261         (exp10_test_downward): New function.
42262         (exp10_upward_test_data): New array.
42263         (exp10_test_upward): New function.
42264         (main): Call the new functions.
42265         * sysdeps/i386/fpu/libm-test-ulps: Update.
42266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42268 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
42270         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
42271         asinh, atan, atan2, atanh, cbrt, cos and cosh.
42272         * math/auto-libm-test-out: Regenerated.
42273         * math/libm-test.inc (acosh_test_data): Add more tests.
42274         (atanh_test_data): Likewise.
42275         (ceil_test_data): Likewise.
42276         (copysign_test_data): Likewise.
42277         * sysdeps/i386/fpu/libm-test-ulps: Update.
42278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42280         * timezone/checktab.awk: Update from tzcode 2013i.
42281         * timezone/private.h: Likewise.
42282         * timezone/scheck.c: Likewise.
42283         * timezone/tzfile.h: Likewise.
42284         * timezone/tzselect.ksh: Likewise.
42285         * timezone/zdump.c: Likewise.
42286         * timezone/zic.c: Likewise.
42288         * math/auto-libm-test-in: Add tests of cpow.
42289         * math/auto-libm-test-out: Regenerated.
42290         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
42291         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42292         mpc_cc_c.
42293         (func_calc_desc): Add mpc_cc_c union field.
42294         (test_functions): Add cpow.
42295         (special_fill_2pi): New function.
42296         (special_real_inputs): Add 2pi.
42297         (calc_generic_results): Handle mpc_cc_c.
42298         * sysdeps/i386/fpu/libm-test-ulps: Update.
42299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42301         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
42302         csqrt, ctan and ctanh.
42303         * math/auto-libm-test-out: Regenerated.
42304         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42305         (TEST_COND_x86): Likewise.
42306         (ccos_test_data): Use AUTO_TESTS_c_c.
42307         (ccosh_test_data): Likewise.
42308         (cexp_test_data): Likewise.
42309         (clog_test_data): Likewise.
42310         (csqrt_test_data): Likewise.
42311         (ctan_test_data): Likewise.
42312         (ctan_tonearest_test_data): Likewise.
42313         (ctan_towardzero_test_data): Likewise.
42314         (ctan_downward_test_data): Likewise.
42315         (ctan_upward_test_data): Likewise.
42316         (ctanh_test_data): Likewise.
42317         (ctanh_tonearest_test_data): Likewise.
42318         (ctanh_towardzero_test_data): Likewise.
42319         (ctanh_downward_test_data): Likewise.
42320         (ctanh_upward_test_data): Likewise.
42321         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42322         mpc_c_c.
42323         (func_calc_desc): Add mpc_c_c union field.
42324         (FUNC_mpc_c_c): New macro.
42325         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
42326         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
42327         ctanh.
42328         (special_fill_min_subnorm_p120): New function.
42329         (special_real_inputs): Add min_subnorm_p120.
42330         (calc_generic_results): Handle mpc_c_c.
42331         * sysdeps/i386/fpu/libm-test-ulps: Update.
42332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42334 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42336         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
42337         (do_sin_slow): New functions.
42338         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
42339         (cslow2, csloww1, csloww2): Use the new functions.
42341         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
42342         Use M to change sign of result instead of X.  Assume X is
42343         positive.
42344         (csloww1): Likewise.
42345         (__sin): Adjust.
42346         (__cos): Adjust.
42348         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
42349         arguments A and DA.
42350         (__sin): Adjust.
42351         (__cos): Likewise.
42353         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
42354         (__cos): Likewise.
42355         (sloww1): Don't adjust sign of DX.
42356         (csloww1): Likewise.
42357         (sloww2): Use X directly and don't adjust sign of DX.
42358         (csloww2): Likewise.
42360 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42362         * math/auto-libm-test-in: Add tests of cabs and carg.
42363         * math/auto-libm-test-out: Regenerated.
42364         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
42365         (carg_test_data): Likewise.
42366         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42367         mpc_c_f.
42368         (func_calc_desc): Add mpc_c_f union field.
42369         (test_functions): Add cabs and carg.
42370         (calc_generic_results): Handle mpc_c_f.
42372         * sysdeps/powerpc/powerpc32/libgcc-compat.S
42373         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
42374         as a macro and a compat symbol.
42375         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42376         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42377         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42378         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42379         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
42380         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
42381         not use .hidden.
42382         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
42383         Likewise.
42384         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
42385         Likewise.
42386         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
42387         Likewise.
42388         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
42389         Likewise.
42390         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
42391         Likewise.
42392         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
42393         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
42394         from GLIBC_2.3.2.
42396 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42400 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42402         * manual/texinfo.tex: Update to version 2013-11-26.10 with
42403         trailing whitespace removed.
42404         * scripts/config.guess: Update to version 2013-11-29.
42405         * scripts/config.sub: Update to version 2013-10-01.
42407         * math/auto-libm-test-in: Add tests of sincos.
42408         * math/auto-libm-test-out: Regenerated.
42409         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
42410         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42411         mpfr_f_11.
42412         (func_calc_desc): Add mpfr_f_11 union field.
42413         (test_functions): Add sincos.
42414         (calc_generic_results): Handle mpfr_f_11.
42415         * sysdeps/i386/fpu/libm-test-ulps: Update.
42416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42418 2013-12-19  Andreas Schwab  <schwab@suse.de>
42420         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
42421         CALL_MCOUNT.
42422         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
42423         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
42424         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
42426 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
42428         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
42429         * sysdeps/i386/fpu/libm-test-ulps: Update.
42430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42432         [BZ #16293]
42433         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
42434         round-to-nearest mode when using frndint.
42435         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
42436         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
42437         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42438         Likewise.
42439         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
42440         sinh test to fail.
42441         * math/auto-libm-test-out: Regenerated.
42442         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
42443         (TEST_COND_x86): Likewise.
42444         (expm1_tonearest_test_data): New array.
42445         (expm1_test_tonearest): New function.
42446         (expm1_towardzero_test_data): New array.
42447         (expm1_test_towardzero): New function.
42448         (expm1_downward_test_data): New array.
42449         (expm1_test_downward): New function.
42450         (expm1_upward_test_data): New array.
42451         (expm1_test_upward): New function.
42452         (main): Run the new test functions.
42453         * sysdeps/i386/fpu/libm-test-ulps: Update.
42454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42456         * include/features.h: Update comment documenting feature test
42457         macros.  Mention _DEFAULT_SOURCE in comment.
42458         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
42459         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
42460         _BSD_SOURCE and _SVID_SOURCE.
42461         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
42462         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
42463         !_SVID_SOURCE]: Likewise.
42464         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42465         (__USE_POSIX_IMPLICITLY): Define.
42466         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42467         (_POSIX_SOURCE): Undefine and redefine.
42468         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
42469         (_POSIX_C_SOURCE): Likewise.
42470         * manual/creature.texi (_DEFAULT_SOURCE): Document.
42471         (Feature Test Macros): Update documentation of default features.
42473 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42475         * benchtests/Makefile: Add bench-strtok.
42476         * benchtests/bench-strtok.c: New file: strtok benchtest.
42478 2013-12-19  Allan McRae  <allan@archlinux.org>
42480         * manual/install.texi: Suppress menu for plain text output.
42481         * INSTALL: Regenerated.
42483 2013-12-18  Brooks Moses  <bmoses@google.com>
42485         [BZ #15846]
42486         * misc/getauxval.c: Include errno.h.
42487         (__getauxval): Set errno to ENOENT if the requested type is not
42488         found.
42489         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42490         don't declare with __attribute_const__.
42491         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42492         * manual/startup.texi: Document that getauxval sets errno.
42494 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42496         * math/auto-libm-test-in: Add tests of jn and yn.
42497         * math/auto-libm-test-out: Regenerated.
42498         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42499         (yn_test_data): Likewise.
42500         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42501         mpfr_if_f.
42502         (func_calc_desc): Add mpfr_if_f union field.
42503         (FUNC_mpfr_if_f): New macro.
42504         (test_functions): Add jn and yn.
42505         (calc_generic_results): Assert type of second input for
42506         mpfr_ff_f.  Handle mpfr_if_f.
42507         (output_for_one_input_case): Disable all checking for arguments
42508         fitting floating-point types in case of an integer argument.
42509         * sysdeps/i386/fpu/libm-test-ulps: Update.
42510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42513         Don't expect fegetround reference in libm.so.
42515 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42517         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42518         $(config-cflags-nofma).
42520 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42522         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42523         * math/auto-libm-test-out: Regenerated.
42525         [BZ #16338]
42526         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42527         to determine exponent and adjust argument to have exponent of -1.
42528         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42529         log2.
42530         * math/auto-libm-test-out: Regenerated.
42531         * sysdeps/i386/fpu/libm-test-ulps: Update.
42532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42534 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42536         * manual/probes.texi: Remove cases when per-thread arenas are
42537         disabled.
42539 2013-12-18  Andreas Schwab  <schwab@suse.de>
42541         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42542         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42543         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42544         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42545         * sysdeps/i386/i686/multiarch/Makefile: Update.
42546         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42548 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42550         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42551         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42553 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42555         [BZ #15968]
42556         Support TZ transition times < 00:00:00.
42557         This is needed for version-3 tz-format files; it supports time
42558         stamps past 2037 for America/Godthab (the only entry in the tz
42559         database for which this change is relevant).
42560         * manual/time.texi (TZ Variable): Document transition times
42561         from -167:59:59 through -00:00:01.
42562         * time/tzset.c (tz_rule): Time of day is now signed.
42563         (__tzset_parse_tz): Parse negative time of day.
42565         Document TZ transition times >= 25:00:00.
42566         * manual/time.texi (TZ Variable): Document transition times from
42567         25:00:00 through 167:59:59.  These are already supported, and this
42568         support will help with version-3 tz-format files.
42570         * manual/time.texi (TZ Variable): Modernize North America example
42571         to reflect current (i.e., 2007-and-later) daylight saving rules.
42573         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42575 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42577         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42578         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42579         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42581         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42582         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42583         * sysdeps/unix/bsd/clock.c: Likewise.
42584         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42585         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42586         * sysdeps/unix/bsd/init-posix.c: Likewise.
42587         * sysdeps/unix/bsd/poll.c: Likewise.
42588         * sysdeps/unix/bsd/ptsname.c: Likewise.
42589         * sysdeps/unix/bsd/seekdir.c: Likewise.
42590         * sysdeps/unix/bsd/setegid.c: Likewise.
42591         * sysdeps/unix/bsd/seteuid.c: Likewise.
42592         * sysdeps/unix/bsd/setgid.c: Likewise.
42593         * sysdeps/unix/bsd/setrgid.c: Likewise.
42594         * sysdeps/unix/bsd/setruid.c: Likewise.
42595         * sysdeps/unix/bsd/setsid.c: Likewise.
42596         * sysdeps/unix/bsd/setuid.c: Likewise.
42597         * sysdeps/unix/bsd/sigaction.c: Likewise.
42598         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42599         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42600         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42601         * sysdeps/unix/bsd/telldir.c: Likewise.
42602         * sysdeps/unix/bsd/times.c: Likewise.
42603         * sysdeps/unix/bsd/usleep.c: Likewise.
42605         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42606         ($(objpfx)libbsd-compat.a): Remove rule.
42608         * include/features.h (__FAVOR_BSD): Do not define.
42609         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42610         features conflicting with POSIX.
42611         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42612         (_BSD_SOURCE): Remove description of not being a subset of other
42613         feature test macros.
42614         * manual/job.texi (getpgrp): Do not document BSD version.
42615         (getpgid): Do not document by reference to BSD getpgrp.
42616         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42617         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42618         * signal/signal.h [__FAVOR_BSD]: Likewise.
42619         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42620         instead of making contents conditional on [__FAVOR_BSD].
42621         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42623 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42627 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42629         [BZ #16314]
42630         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42631         values below 2**-450, not 2**-500.
42632         * math/auto-libm-test-in: Don't allow spurious underflow from
42633         hypot.
42634         * math/auto-libm-test-out: Regenerated.
42636         [BZ #16316]
42637         [BZ #16330]
42638         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42639         values of ha and hb and sort them after adjusting subnormal
42640         arguments.
42641         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42642         Likewise.
42643         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42644         values of ea and eb and sort them after adjusting subnormal
42645         arguments.
42646         * math/auto-libm-test-in: Do not expect some hypot tests of
42647         subnormals to fail.  Add more hypot tests.
42648         * math/auto-libm-test-out: Regenerated.
42650 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42652         [BZ #13304]
42653         * sysdeps/sh/s_fma.c: New file.
42654         * sysdeps/sh/s_fmaf.c: New file.
42655         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42656         version.
42657         * sysdeps/sh/Implies: Add sh/soft-fp.
42659 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42661         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42662         level of indirection to members `objname', `errstring', `malloced'.
42663         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42664         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42665         it as the __longjmp argument (just pass 1 instead).
42666         (_dl_catch_error): Initialize C with argument pointers and address of
42667         volatile local ERRCODE rather than copying values out of C at return.
42669 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42671         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42672         * math/auto-libm-test-out: Regenerated.
42673         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42674         (hypot_test_data): Likewise.
42675         (pow_test_data): Likewise.
42676         (pow_tonearest_test_data): Likewise.
42677         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42678         mpfr_ff_f.
42679         (func_calc_desc): Add mpfr_ff_f union field.
42680         (FUNC_mpfr_ff_f): New macro.
42681         (test_functions): Add atan2, hypot and pow.
42682         (special_fill_min): New function.
42683         (special_fill_minus_min): Likewise.
42684         (special_fill_min_subnorm): Likewise.
42685         (special_fill_minus_min_subnorm): Likewise.
42686         (special_real_inputs): Add min, -min, min_subnorm and
42687         -min_subnorm.
42688         (calc_generic_results): Handle mpfr_ff_f.
42689         * sysdeps/i386/fpu/libm-test-ulps: Update.
42690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42692 2013-12-16  Will Newton  <will.newton@linaro.org>
42694         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42695         (Aligned Memory Blocks): Add documentation for aligned_alloc
42696         and suggest it as an alternative to posix_memalign.
42697         (Hooks for Malloc): Document __memalign_hook is also called
42698         for aligned_alloc.  (Summary of Malloc): Add summary for
42699         aligned alloc.  Document __memalign_hook is also called
42700         for aligned_alloc.
42702 2013-12-16  Will Newton  <will.newton@linaro.org>
42704         * manual/memory.texi (Malloc Examples): Clarify default
42705         alignment documentation.  Suggest posix_memalign rather
42706         than memalign or valloc.
42707         (Aligned Memory Blocks): Remove suggestion to use memalign
42708         or valloc.  Remove obsolete comment about BSD.
42709         Document memalign errno values and mark the function obsolete.
42710         Document posix_memalign returned error codes.  Mark valloc
42711         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42712         called for posix_memalign and valloc.
42713         (Summary of Malloc): Add posix_memalign to function summary.
42714         __memalign_hook is also called for posix_memalign and valloc.
42716 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42718         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42719         TAYLOR_SIN.
42720         (__sin): Adjust.
42721         (__cos): Likewise.
42722         (sloww): Use mynumber union.  Expand ternary operator into
42723         if-else statements.
42724         (cslow): use mynumber union.
42726 2013-12-16  Allan McRae  <allan@archlinux.org>
42728         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42729         * configure: Regenerated.
42731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42733         [BZ #14120]
42734         * configure.ac: Added --enable-maintainer-mode. Check for
42735         autoconf when enabled.
42736         * configure: Regenerated.
42738         * nscd/nscd.service: New file.
42739         * nscd/nscd.tmpfiles: New file.
42741 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42743         [BZ #12100]
42744         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42745         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42746         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42747         (strstr): Add __strstr_sse2_unaligned ifunc.
42748         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42749         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42750         (strcasestr): Remove __strcasestr_sse42 ifunc.
42751         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42753         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42755 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42757         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42758         * sysdeps/sh/bits/fenv.h: ... here.
42759         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42761 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42763         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42766         hypotf multiarch implementations.
42767         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42768         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42769         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42770         multiarch hypot for PPC64.
42771         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42772         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42773         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42774         multiarch hypotf for PPC64.
42776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42777         modff multiarch implementations.
42778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42781         multiarch modf for PPC64.
42782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42785         multiarch modff for PPC64.
42787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42788         and logl multiarch implementations.
42789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42792         multiarch logb for PPC64.
42793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42796         multiarch logb for PPC64.
42797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42800         multiarch logb for PPC64.
42802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42803         isinff multiarch implementation.
42804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42805         file.
42806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42808         multiarch isinf for PPC64.
42809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42810         file.
42811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42812         multiarch isinff for PPC64.
42814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42815         finitef multiarch implementation.
42816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42817         file.
42818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42820         multiarch finite for PPC64.
42821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42822         file.
42823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42824         multiarch finitef for PPC64.
42826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42827         lrint multiarch implementation.
42828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42829         file.
42830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42832         multiarch llrint for PPC64.
42833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42834         multiarch lrint for PPC64.
42836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42837         copysignf multiarch implementation.
42838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42839         file.
42840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42841         file.
42842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42843         multiarch copysign for PPC64.
42844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42845         multiarch copysignf for PPC64.
42847         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42848         multiarch implementation.
42849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42850         file.
42851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42852         file.
42853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42854         file.
42855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42856         file.
42857         multiarch llround for PPC64.
42858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42859         multiarch trunc for PPC64.
42860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42861         multiarch truncf for PPC64.
42863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42864         multiarch implementation.
42865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42866         file.
42867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42868         file.
42869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42870         file.
42871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42872         file.
42873         multiarch llround for PPC64.
42874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42875         multiarch round for PPC64.
42876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42877         multiarch roundf for PPC64.
42879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42880         multiarch implementation.
42881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42882         file.
42883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42884         file.
42885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42886         file.
42887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42888         file.
42889         multiarch llround for PPC64.
42890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42891         multiarch floor for PPC64.
42892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42893         multiarch floorf for PPC64.
42895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42896         multiarch implementation.
42897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42898         file.
42899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42900         file.
42901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42902         file.
42903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42904         file.
42905         multiarch llround for PPC64.
42906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42907         multiarch ceil for PPC64.
42908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42909         multiarch ceilf for PPC64.
42911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42912         multiarch implementation.
42913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42914         file.
42915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42916         file.
42917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42918         file.
42919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42920         multiarch llround for PPC64.
42921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42922         multiarch lround for PPC64.
42924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42925         multiarch implementation.
42926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42929         file.
42930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42933         multiarch isnan for PPC64.
42934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42935         multiarch isnanf for PPC64.
42937         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42938         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42939         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42940         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42941         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42944         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42945         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42946         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42947         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42950         multiarch implementations.
42951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42952         (__libc_ifunc_impl_list): Likewise.
42953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42954         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42956         multiarch stpcpy for PPC64.
42958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42959         multiarch implementations.
42960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42961         (__libc_ifunc_impl_list): Likewise.
42962         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42963         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42964         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42965         multiarch strcpy for PPC64.
42967         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42968         redefine function name.
42969         (_wordcopy_fwd_dest_aligned): Likewise.
42970         (_wordcopy_bwd_aligned): Likewise.
42971         (_wordcopy_bwd_dest_aligned): Likewise.
42972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42973         multiarch implementations.
42974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42975         (__libc_ifunc_impl_list): Likewise.
42976         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42977         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42978         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42979         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42980         multiarch wcscpy for PPC64.
42982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42983         multiarch implementations.
42984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42985         (__libc_ifunc_impl_list): Likewise.
42986         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42987         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42988         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42989         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42990         multiarch wcscpy for PPC64.
42992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42993         multiarch implementations.
42994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42995         (__libc_ifunc_impl_list): Likewise.
42996         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42997         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42998         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42999         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
43000         multiarch wcsrchr for PPC64.
43002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
43003         multiarch implementations.
43004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43005         (__libc_ifunc_impl_list): Likewise.
43006         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
43007         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
43008         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
43009         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
43010         multiarch wcschr for PPC64.
43012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
43013         multiarch implementations.
43014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43015         (__libc_ifunc_impl_list): Likewise.
43016         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
43017         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
43018         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
43019         multiarch strchrnul for PPC64.
43021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
43022         implementations.
43023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43024         (__libc_ifunc_impl_list): Likewise.
43025         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
43026         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
43027         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
43028         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
43029         strchr for PPC64.
43031         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
43032         implementations.
43033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43034         (__libc_ifunc_impl_list): Likewise.
43035         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
43036         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
43037         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
43038         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
43039         strncmp for PPC64.
43041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
43042         multiarch implementations.
43043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43044         (__libc_ifunc_impl_list): Likewise.
43045         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
43046         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
43047         strncasecmp for PPC64.
43048         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
43049         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
43050         multiarch strncasecmp_l for PPC64.
43052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
43053         multiarch implementations.
43054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43055         (__libc_ifunc_impl_list): Likewise.
43056         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
43057         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
43058         multiarch strcasecmp for PPC64.
43059         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
43060         file.
43061         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
43062         multiarch strcasecmp_l for PPC64.
43064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
43065         implementations.
43066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43067         (__libc_ifunc_impl_list): Likewise.
43068         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
43069         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
43070         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
43071         strnlen for PPC64.
43073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
43074         implementations.
43075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43076         (__libc_ifunc_impl_list): Likewise.
43077         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
43078         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
43079         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
43080         strlen for PPC64.
43082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
43083         implementations.
43084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43085         (__libc_ifunc_impl_list): Likewise.
43086         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
43087         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
43088         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
43089         rawmemrchr for PPC64.
43091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
43092         implementation.
43093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43094         (__libc_ifunc_impl_list): Likewise.
43095         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
43096         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
43097         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
43098         memrchr for PPC64.
43100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
43101         implementation.
43102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43103         (__libc_ifunc_impl_list): Likewise.
43104         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
43105         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
43106         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
43107         memchr for PPC64.
43109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
43110         implementation.
43111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43112         (__libc_ifunc_impl_list): Likewise.
43113         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
43114         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
43115         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
43116         mempcpy for PPC64.
43118         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
43119         avoid cretion of __bzero symbol.
43120         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
43121         Likewise.
43122         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
43123         Likewise.
43124         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
43125         Likewise.
43126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
43127         multiarch implementations.
43128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43129         (__libc_ifunc_impl_list): Likewise.
43130         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
43131         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
43132         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
43133         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
43134         bzero for PPC32.
43135         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
43136         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
43137         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
43138         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
43139         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
43140         memset for PPC64.
43141         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
43143         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
43144         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
43145         implementations.
43146         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43147         (__libc_ifunc_impl_list): Likewise.
43148         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
43149         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
43150         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
43151         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
43152         memcmp for PPC64.
43154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
43155         multiarch for POWER/PPC64.
43156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
43157         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
43158         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
43159         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
43160         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
43161         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
43162         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
43163         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
43164         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
43165         memcpy for PPC64.
43167         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
43168         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
43169         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
43170         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
43171         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
43172         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
43173         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
43174         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
43175         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
43176         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
43177         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
43178         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
43179         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
43180         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
43181         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
43184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
43186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
43188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
43190 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43192         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
43194 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43196         * benchtests/Makefile (bench): Add exp2 and log2.
43197         (LDLIBS-bench-exp2): Add -lm.
43198         (LDLIBS-bench-log2): Likewise.
43199         * benchtests/exp2-inputs: New inputs file.
43200         * benchtests/log2-inputs: New inputs file.
43201         * benchtests/log-inputs: Add new inputs.
43202         * benchtests/tan-inputs: Likewise.
43204 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43206         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43207         definition...
43208         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
43209         (csloww2): ... from here.
43211         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
43212         instead of structures.
43213         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
43214         (POLYNOMIAL): Likewise.
43215         (TAYLOR_SLOW): Likewise.
43216         (__sin): Likewise.
43217         (__cos): Likewise.
43218         (slow1): Likewise.
43219         (slow2): Likewise.
43220         (sloww): Likewise.
43221         (sloww1); Likewise.
43222         (sloww2): Likewise.
43223         (bsloww1): Likewise.
43224         (bsloww2): Likewise.
43225         (cslow2): Likewise.
43226         (csloww): Likewise.
43227         (csloww1): Likewise.
43228         (csloww2): Likewise.
43230 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
43232         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
43233         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
43234         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
43235         * malloc/hooks.c (realloc_check): Likewise.
43237         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
43238         * malloc/arena.c: Remove PER_THREAD conditional.
43239         [!PER_THREAD]: Remove code.
43240         (ptmalloc_unlock_all2): Likewise.
43241         (ptmalloc_init): Likewise.
43242         (_int_new_arena): Likewise.
43243         (arena_get2): Likewise.
43244         * malloc/hooks.c (__malloc_get_state): Likewise.
43245         (__malloc_set_state): Likewise.
43246         * malloc/malloc.c: Likewise.
43247         (struct malloc_state): Likewise.
43248         (struct malloc_par): Likewise.
43249         (__libc_realloc): Likewise.
43250         (__libc_mallopt): Likewise.
43252 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43254         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
43256 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
43258         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
43259         macro to a function.  Check for zero perturb_byte.
43260         (_int_malloc, _int_free): Remove zero perturb_byte checks.
43262         * malloc/malloc.c: (force_reg): Remove.
43263         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
43264         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
43265         force_reg by atomic_forced_read.
43266         * malloc/arena.c (ptmalloc_init): Likewise.
43267         * malloc/hooks.c (top_check): Likewise.
43269 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43273 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
43275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43277 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
43279         * math/auto-libm-test-in: Add tests of lgamma.
43280         * math/auto-libm-test-out: Regenerated.
43281         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
43282         (M_LOG_2_SQRT_PIl): Likewise.
43283         (lgamma_test_data): Use AUTO_TESTS_f_f1.
43284         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43285         mpfr_f_f1.
43286         (func_calc_desc): Add mpfr_f_f1 union field.
43287         (ARGS1): New macro.
43288         (ARGS2): Likewise.
43289         (ARGS3): Likewise.
43290         (ARGS4): Likewise.
43291         (RET1): Likewise.
43292         (RET2): Likewise.
43293         (CALC): Likewise.
43294         (FUNC): Likewise.
43295         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
43296         (test_functions): Add lgamma.
43297         (calc_generic_results): Handle mpfr_f_f1.
43298         * sysdeps/i386/fpu/libm-test-ulps: Update.
43299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43301 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43303         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
43304         __mpn_add_n for PowerPC64/POWER7.
43305         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
43306         __mpn_sub_n for PowerPC64/POWER7.
43308         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
43309         __mpn_addmul_1 for PowerPC64.
43310         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
43311         __mpn_submul_1 for PowerPC64.
43312         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
43313         for PowerPC64.
43314         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
43315         for PowerPC64.
43317 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
43319         [BZ #15089]
43320         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
43322 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43324         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
43326         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
43327         add multiarch folders.
43328         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
43329         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
43330         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
43331         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
43332         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
43333         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
43334         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
43335         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
43336         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
43337         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
43338         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
43339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
43340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
43342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
43343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
43344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
43346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43347         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
43348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
43349         New file.
43350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
43351         New file.
43352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
43353         multiarch __ieee754_hypot for PowerPC32.
43354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
43355         New file.
43356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
43357         New file.
43358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
43359         multiarch __ieee754_hypotf for PowerPC32.
43361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
43362         long_double_symbol only if __logbl is defined.
43363         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
43364         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
43365         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
43366         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
43367         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
43368         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
43369         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
43370         path for implementation.
43371         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
43372         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
43373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
43374         logb, and logbl multiarch implementations for PowerPC32.
43375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
43376         file.
43377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
43378         file.
43379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
43380         multiarch logb for PowerPC32.
43381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
43382         file.
43383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
43384         file.
43385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
43386         multiarch logbf for PowerPC32.
43387         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
43388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
43389         file.
43390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
43391         multiarch logbl implementation for PowerPC32.
43393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
43394         and modff multiarch implementations.
43395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
43396         New file.
43397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
43398         New file.
43399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
43400         multiarch modf for PowerPC32.
43401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
43402         New file.
43403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
43404         New file.
43405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
43406         multiarch modff for PowerPC32.
43408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
43409         and lrintf multiarch implementations.
43410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
43411         New file.
43412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
43413         New file.
43414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
43415         multiarch lrint for PowerPC32.
43416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
43417         file: multiarch lrintf for PowerPC32.
43419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
43420         and lroundf multiarch implementations.
43421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
43422         New file.
43423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
43424         New file.
43425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
43426         New file.
43427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
43428         multiarch lround for PowerPC32.
43429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
43430         file: multiarch lroundf for PowerPC32.
43432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
43433         copysign and copysignf multiarch implementations.
43434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
43435         New file.
43436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
43437         New file.
43438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
43439         file: multiarch copysign for PowerPC32.
43440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
43441         file: multiarch copysignf for PowerPC32.
43443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
43444         and truncf multiarch implementations.
43445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
43446         New file.
43447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
43448         file.
43449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
43450         multiarch trunc for PowerPC32.
43451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
43452         New file.
43453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
43454         New file.
43455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
43456         multiarch truncf for PowerPC32.
43458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
43459         and roundf multiarch implementations.
43460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
43461         New file.
43462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
43463         file.
43464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
43465         multiarch round for PowerPC32.
43466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
43467         New file.
43468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
43469         New file.
43470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
43471         multiarch roundf for PowerPC32.
43473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43474         and floorf multiarch implementations.
43475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43476         New file.
43477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43478         file.
43479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43480         multiarch floor for PowerPC32.
43481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43482         New file.
43483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43484         New file.
43485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43486         multiarch floorf for PowerPC32.
43488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43489         and ceilf multiarch implementations.
43490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43491         New file.
43492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43493         file.
43494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43495         multiarch ceil for PowerPC32.
43496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43497         New file.
43498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43499         file.
43500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43501         multiarch ceilf for PowerPC32.
43503         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43504         is defined.
43505         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43506         FINITEF is defined.
43507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43508         and finitef multiarch implementations.
43509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43510         New file.
43511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43512         file.
43513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43514         multiarch finite for PowerPC32.
43515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43516         New file.
43517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43518         file: multiarch finitef for PowerPC32.
43520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43521         and isinff multiarch implementations.
43522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43523         file.
43524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43525         file.
43526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43527         multiarch isinf for PowerPC32.
43528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43529         New file.
43530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43531         multiarch isinff for PowerPC32.
43533         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43534         alias when __isnan is defined.
43535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43536         and isnanf multiarch implementations.
43537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43538         file.
43539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43540         file.
43541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43542         file.
43543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43544         file.
43545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43546         multiarch isnan for PowerPC32.
43547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43548         New file.
43549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43550         New file.
43551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43552         multiarch isnanf for PowerPC32.
43554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43555         and sqrtf multiarch implementations.
43556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43557         file.
43558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43559         file.
43560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43561         multiarch sqrt for PowerPC32.
43562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43563         file.
43564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43565         file.
43566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43567         multiarch sqrtf for PowerPC32.
43569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43570         and llroundf multiarch implementations.
43571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43572         New file.
43573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43574         New file.
43575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43576         New file.
43577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43578         file: multiarch llround for PowerPC32.
43579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43580         file: multiarch llroundf for PowerPC32.
43582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43583         multiarch PowerPC32 fpu implementations.
43584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43585         New file.
43586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43587         New file.
43588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43589         multiarch llrint for PowerPC32.
43590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43591         New file.
43592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43593         New file.
43594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43595         file.
43597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43599         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43600         file.
43601         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43602         file.
43603         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43604         file.
43605         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43606         multiarch wordcopy for PPC32.
43607         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43608         wordcopy objects.
43609         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43610         (__libc_ifunc_impl_list): Likewise.
43611         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43612         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43613         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43614         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43615         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43616         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43618         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43620         file.
43621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43622         file.
43623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43624         file.
43625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43626         multiarch wcscpy for PPC32.
43627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43628         multiarch objects.
43629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43630         (__libc_ifunc_impl_list): Likewise.
43631         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43632         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43633         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43634         sysdeps/powerpc/power6/wcscpy.c.
43636         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43638         file.
43639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43640         file.
43641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43642         file.
43643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43644         multiarch wcsrchr for PPC32.
43645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43646         multiarch objects.
43647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43648         (__libc_ifunc_impl_list): Likewise.
43649         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43650         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43651         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43652         sysdeps/powerpc/power6/wcsrchr.c.
43654         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43655         file.
43656         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43657         file.
43658         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43660         multiarch wcschr for PPc32.
43661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43662         multiarch objects.
43663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43664         (__libc_ifunc_impl_list): Likewise.
43665         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43666         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43667         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43668         sysdeps/powerpc/power6/wcschr.c.
43670         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43671         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43672         file.
43673         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43674         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43675         file: multiarch strchr for PPC32.
43676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43677         multiarch objects.
43678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43679         (__libc_ifunc_impl_list): Likewise.
43681         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43682         name.
43683         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43684         file.
43685         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43686         file.
43687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43688         multiarch strchrnul for PPC32.
43689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43690         multiarch objects.
43691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43692         (__libc_ifunc_impl_list): Likewise.
43694         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43695         file.
43696         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43697         multiarch strncasecmp for PPC32.
43698         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43699         file.
43700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43701         multiarch strncasecmp_l for PPC32.
43702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43703         strncasecmp multiarch objects.
43704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43705         (__libc_ifunc_impl_list): Likewise.
43707         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43708         file.
43709         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43710         multiarch strncasecmp for PPC32.
43711         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43712         New file.
43713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43714         multiarch strcasecmp_l for PPC32.
43715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43716         multiarch objects.
43717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43718         (__libc_ifunc_impl_list): Likewise.
43720         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43721         file.
43722         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43723         file.
43724         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43725         multiarch strncmp for PPC32.
43726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43727         multiarch objects.
43728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43729         (__libc_ifunc_impl_list): Likewise.
43731         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43732         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43733         file.
43734         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43735         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43736         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43737         multiarch objects.
43738         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43739         (__libc_ifunc_impl_list): Likewise.
43741         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43742         file.
43743         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43744         file.
43745         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43747         multiarch objects.
43748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43749         (__libc_ifunc_impl_list): Likewise.
43751         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43752         file.
43753         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43754         file.
43755         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43756         multiarch rawmemchr for PPC32.
43757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43758         multiarch objects.
43759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43760         (__libc_ifunc_impl_list): Likewise.
43762         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43763         file.
43764         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43765         file.
43766         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43767         file: memrchr multiarch for PPC32.
43768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43769         multiarch objects.
43770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43771         (__libc_ifunc_impl_list): Likewise.
43773         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43774         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43775         file.
43776         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43777         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43778         multiarch memchr for PPC32.
43779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43780         multiarch objects.
43781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43782         (__libc_ifunc_impl_list): Likewise.
43784         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43785         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43786         file.
43787         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43788         file.
43789         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43790         file: multiarch mempcpy for PPC32.
43791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43792         multiarch objects.
43793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43794         (__libc_ifunc_impl_list): Likewise.
43796         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43797         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43798         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43799         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43800         multiarch bzero for PPC32.
43801         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43802         file.
43803         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43804         file.
43805         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43806         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43807         file: multiarch memset for PPC32.
43808         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43810         memset multiarch objects.
43811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43812         (__libc_ifunc_impl_list): Likewise.
43814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43815         file.
43816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43817         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43818         memcmp for PPC32.
43819         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43821         multiarch objects.
43822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43823         (__libc_ifunc_impl_list): Likewise.
43825         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43826         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43827         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43828         file.
43829         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43830         file.
43831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43832         file.
43833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43834         multiarch memcpy for PPC32.
43835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43836         multiarch objects.
43837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43838         (__libc_ifunc_impl_list): Likewise.
43840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43841         support multiarch for POWER/PPC32.
43842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43843         Likewise.
43844         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43846         Implies file to make multiarch folder appers before the fpu and
43847         default folder for power4 configuration.
43849 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43851         * scripts/bench.pl: Append volatile keyword to type.
43853 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43855         * sysdeps/sh/sotruss-lib.c: New file.
43856         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43858 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43862 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43864         [BZ #6810]
43865         * math/w_tgamma.c: Include <errno.h>.
43866         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43867         * math/w_tgammaf.c: Include <errno.h>.
43868         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43869         * math/w_tgammal.c: Include <errno.h>.
43870         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43871         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43872         underflow.  Add more tgamma tests.
43873         * math/auto-libm-test-out: Regenerated.
43874         * sysdeps/i386/fpu/libm-test-ulps: Update.
43875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43877         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43878         sin, sinh, tan, tanh, tgamma, y0 and y1.
43879         * math/auto-libm-test-out: Regenerated.
43880         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43881         (TEST_COND_x86): Likewise.
43882         (M_E2l): Remove macro.
43883         (M_E3l): Likewise.
43884         (M_2_SQRT_PIl): Likewise.
43885         (M_SQRT_PIl): Likewise.
43886         (M_1_DIV_El): Likewise.
43887         (log_test_data): Use AUTO_TESTS_f_f.
43888         (log10_test_data): Likewise.
43889         (log1p_test_data): Likewise.
43890         (log2_test_data): Likewise.
43891         (sin_test_data): Likewise.
43892         (sin_tonearest_test_data): Likewise.
43893         (sin_towardzero_test_data): Likewise.
43894         (sin_downward_test_data): Likewise.
43895         (sin_upward_test_data): Likewise.
43896         (sinh_test_data): Likewise.
43897         (sinh_tonearest_test_data): Likewise.
43898         (sinh_towardzero_test_data): Likewise.
43899         (sinh_downward_test_data): Likewise.
43900         (sinh_upward_test_data): Likewise.
43901         (tan_test_data): Likewise.
43902         (tan_tonearest_test_data): Likewise.
43903         (tan_towardzero_test_data): Likewise.
43904         (tan_downward_test_data): Likewise.
43905         (tan_upward_test_data): Likewise.
43906         (tanh_test_data): Likewise.
43907         (tgamma_test_data): Likewise.
43908         (y0_test_data): Likewise.
43909         (y1_test_data): Likewise.
43910         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43911         (special_real_inputs): Add pi/4.
43912         * sysdeps/i386/fpu/libm-test-ulps: Update.
43913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43915 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43917         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43918         "longjmp_target" static probes.
43919         (__longjmp): Rename to __longjmp_symbol.
43920         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43921         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43922         on which longjmp to generate.
43923         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43924         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43925         probe.
43926         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43927         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43928         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43929         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43930         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43931         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43933         __longjmp_symbol based on which __longjmp to generate.
43934         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43935         probe.
43936         (setjmp): Rename to setjmp_symbol.
43937         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43938         (_setjmp): Rename to _setjmp_symbol.
43939         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43940         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43941         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43942         which setjmp to generate.
43943         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43944         "longjmp_target" static probes.
43946 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43948         * benchtests/README: Add note about output arguments.
43949         * benchtests/bench-sincos.c: Remove file.
43950         * benchtests/sincos-inputs: New file.
43951         * scripts/bench.pl: Identify output arguments and define
43952         static variables for them.
43954         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43956         [BZ #15941]
43957         * Makefile (INSTALL): Add install-plain.texi as the primary
43958         dependency.
43959         * manual/install-plain.texi: New file.
43960         * manual/install.texi: Include node directive only for
43961         non-plaintext output.
43963 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43965         * stdlib/longlong.h: Update from GCC.
43967         [BZ #6807]
43968         [BZ #15901]
43969         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43970         * math/w_j0f.c (y0f): Likewise.
43971         * math/w_j0l.c (__y0l): Likewise.
43972         * math/w_j1.c (y1): Likewise.
43973         * math/w_j1f.c (y1f): Likewise.
43974         * math/w_j1l.c (__y1l): Likewise.
43975         * math/w_jn.c (yn): Likewise.
43976         * math/w_jnf.c (ynf): Likewise.
43977         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43978         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43979         value for Bessel function domain errors outside _SVID_ mode.
43980         Adjust sign of return value for yn (negative integer, 0).
43981         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43982         by zero in return for negative x and set sign appropriately for
43983         negative n.
43984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43985         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43986         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43987         expectations in error cases.
43988         (y1_test_data): Likewise.
43989         (yn_test_data): Likewise.
43990         * sysdeps/i386/fpu/libm-test-ulps: Update.
43991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43993 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43995         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43996         "64" to "64-v1".  Add "64-v2".
43997         (abi-64-options): Rename to ...
43998         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43999         (abi-64-condition): Rename to ...
44000         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
44001         (abi-64-ld-soname): Rename to ...
44002         (abi-64-v1-ld-soname): ... this.
44003         (abi-64-v2-options): Define.
44004         (abi-64-v2-condition): Likewise.
44005         (abi-64-v2-ld-soname): Likewise.
44006         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
44007         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
44008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
44010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
44012 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44013             Alan Modra  <amodra@gmail.com>
44015         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
44016         New versions for use with the ELFv2 ABI.
44017         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
44018         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
44019         declaration.
44020         (struct La_ppc64v2_retval): Likewise.
44021         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
44022         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
44023         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
44024         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
44025         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
44026         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44027         Do not save or restore CR.
44028         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
44029         (_dl_profile_resolve): Do no save or restore CR.  Support extended
44030         return values for ELFv2 ABI.  Fix location of FPR return registers.
44031         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
44032         updated values for _CALL_ELF == 2.
44033         (La_regs, La_retval, int_retval): Likewise.
44035 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44037         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
44038         (FRAME_MIN_SIZE_PARM): Likewise.
44039         (FRAME_BACKCHAIN): Likewise.
44040         (FRAME_CR_SAVE): Likewise.
44041         (FRAME_LR_SAVE): Likewise.
44042         (FRAME_TOC_SAVE): Likewise.
44043         (FRAME_PARM_SAVE): Likewise.
44044         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
44045         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
44046         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44047         (call_mcount_parm_offset): New macro.
44048         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
44049         (PROF): Use symbolic stack frame offsets.
44050         (TAIL_CALL_SYSCALL_ERROR): Likewise.
44051         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
44052         Redefine in terms of FRAME_MIN_SIZE.
44053         (_dl_runtime_resolve): Use symbolic stack frame offsets.
44054         (_dl_profile_resolve): Likewise.  Update comment.
44055         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
44056         symbols stack frame offsets.
44057         (__sigsetjmp): Likewise.
44058         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
44059         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
44060         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
44061         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
44063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
44064         (FRAME_BACKCHAIN): Remove.
44065         (FRAME_CR_SAVE): Likewise.
44066         (FRAME_LR_SAVE): Likewise.
44067         (FRAME_COMPILER_DW): Likewise.
44068         (FRAME_LINKER_DW): Likewise.
44069         (FRAME_TOC_SAVE): Likewise.
44070         (FRAME_PARM_SAVE): Likewise.
44071         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
44072         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
44073         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
44074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
44075         (CHECK_SP): Use symbolic stack frame offsets.
44076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
44077         zone" instead of caller's parameter save area for temp storage.
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44079         Likewise.  Also, use symbolic stack frame offsets.
44080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
44081         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
44082         our own stack frame instead of the caller's.
44083         (__socket): Use symbolic stack frame offsets.
44085 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44086             Alan Modra  <amodra@gmail.com>
44088         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
44089         Define.
44090         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
44091         (PPC64_LOCAL_ENTRY_OFFSET): Define.
44092         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
44093         New function.
44094         (elf_machine_fixup_plt): Call it.
44095         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
44096         reloc arguments.
44097         (elf_machine_rela): Update call to elf_machine_plt_conflict.
44098         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44099         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
44100         r2 before calling target.
44102 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44103             Alan Modra  <amodra@gmail.com>
44105         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
44106         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
44107         versions of macros to support ELFv2 ABI.
44108         (LOCALENTRY): New macro.
44109         (ENTRY, EALIGN): Use it.
44110         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
44111         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
44112         fall through into ENTRY entry point.
44113         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
44114         Only define if _CALL_ELF != 2.
44116         (elf_machine_matches_host): Verify ABI version matches.
44117         (RTLD_START): Use LOCALENTRY.
44118         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
44119         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
44120         (PLT_ENTRY_WORDS): New macro.
44121         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
44122         (elf_machine_runtime_setup): Support ELFv2 ABI.
44123         (elf_machine_fixup_plt): Likewise.
44124         (elf_machine_plt_conflict): Likewise.
44125         (resolve_ifunc): Likewise.
44126         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44127         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44128         Likewise.
44129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
44130         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
44131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44132         (makecontext): Support ELFv2 ABI.
44133         * elf/elf.h (EF_PPC64_ABI): Define.
44135 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44137         * sysdeps/powerpc/powerpc64/sysdep.h
44138         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
44139         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
44140         (ENTRY) [ASSEMBLER]: ... but instead here ...
44141         (EALIGN) [ASSEMBLER]: ... and here.
44142         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
44143         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
44144         (ENTRY_2) [!ASSEMBLER]: Use it.
44145         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
44146         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
44147         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
44148         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
44149         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
44150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
44151         Use PPC64_LOAD_FUNCPTR.
44153         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
44155 2013-12-04  Alan Modra  <amodra@gmail.com>
44157         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
44158         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
44159         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
44160         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
44162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
44163         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
44164         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
44165         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
44166         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
44167         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
44169 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
44171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44172         (__makecontext): Fix incorrect CFI when backtracing out of
44173         context created via makecontext.
44174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
44175         (__setcontext): Fix incorrect CFI during switch to new context.
44176         (__novec_setcontext): Likewise.
44178 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44180         [BZ #4772]
44181         * time/strptime_l.c (__strptime_internal): Allow modifiers
44182         in strptime.
44183         * time/tst-strptime.c (day_tests): Add testcase.
44185 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44187         * scripts/bench.pl: Skip over blank lines.
44189 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
44191         [BZ #926]
44192         * manual/time.texi (Calendar Time): Clarify what timezone functions
44193         use.
44195 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44199 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
44201         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
44202         implementation.
44203         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
44204         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
44205         * debug/memset_chk.c (__memset_chk): Likewise.
44206         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
44207         * debug/strncpy_chk.c: Likewise.
44209 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44211         [BZ #15268]
44212         [BZ #15425]
44213         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
44214         (__ieee754_exp): For possibly underflowing results, check size of
44215         result and force underflow exception if required.
44216         * math/auto-libm-test-in: Add more tests of exp.
44217         * math/auto-libm-test-out: Regenerated.
44218         * sysdeps/i386/fpu/libm-test-ulps: Update.
44219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44221         [BZ #16283]
44222         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
44223         * math/w_exp2f.c (__exp2f): Likewise.
44224         * math/w_exp2l.c (__exp2l): Likewise.
44225         * math/auto-libm-test-in: Do not allow missing errno on exp2
44226         underflow.
44227         * math/auto-libm-test-out: Regenerated.
44229 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
44231         [BZ #16274]
44232         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
44233         handle filename validation.
44234         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
44235         (do_open): Delete.
44237 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
44239         [BZ #6786]
44240         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
44241         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
44242         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
44243         <float.h>.
44244         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
44245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
44246         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
44248         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44249         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
44250         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
44251         * math/auto-libm-test-in: Don't allow missing errno from erfc.
44252         Add more erfc tests.
44253         * math/auto-libm-test-out: Regenerated.
44254         * sysdeps/i386/fpu/libm-test-ulps: Update.
44255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44257         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
44258         exp2, expm1, j0 and j1.
44259         * math/auto-libm-test-out: Regenerated.
44260         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
44261         (erfc_test_data): Likewise.
44262         (exp_test_data): Likewise.
44263         (exp_tonearest_test_data): Likewise.
44264         (exp_towardzero_test_data): Likewise.
44265         (exp_downward_test_data): Likewise.
44266         (exp_upward_test_data): Likewise.
44267         (exp10_test_data): Likewise.
44268         (exp2_test_data): Likewise.
44269         (expm1_test_data): Likewise.
44270         (j0_test_data): Likewise.
44271         (j1_test_data): Likewise.
44272         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
44273         (input_flag_type): Add flag_xfail_rounding.
44274         (input_flags): Add xfail-rounding.
44275         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
44276         (output_for_one_input_case): Handle flag_xfail_rounding.
44277         * sysdeps/i386/fpu/libm-test-ulps: Update.
44278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44280 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
44282         [BZ #16289]
44283         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
44284         division by 0.
44286 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44288         [BZ #16195]
44289         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
44290         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
44291         (STAP_PROBE0): New macro.
44292         (STAP_PROBE1): Likewise.
44293         (STAP_PROBE2): Likewise.
44294         (STAP_PROBE3): Likewise.
44295         (STAP_PROBE4): Likewise.
44297 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
44299         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
44301 2013-12-02  Steve Ellcey  <sellcey@mips.com>
44303         * benchtests/Makefile (bench): Add sqrt.
44304         (LDLIBS-bench-sqrt): New.
44305         * benchtests/sqrt-input: New.
44307 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
44309         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
44310         (GAIH_EAI): Likewise.
44311         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
44312         (gaih_inet): Likewise.
44313         (getaddrinfo): Don't use GAIH_EAI.
44315         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
44316         (struct gaih): Remove definition.
44318 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44320         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
44321         Use HERRNOP directly.
44323 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44327 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
44329         * math/gen-auto-libm-tests.c (test_functions): Add more
44330         single-argument functions.
44331         (special_fill_pi_2): New function.
44332         (special_fill_minus_pi_2): Likewise.
44333         (special_fill_pi_6): Likewise.
44334         (special_fill_minus_pi_6): Likewise.
44335         (special_fill_pi_3): Likewise.
44336         (special_fill_2pi_3): Likewise.
44337         (special_fill_e): Likewise.
44338         (special_fill_1_e): Likewise.
44339         (special_fill_e_minus_1): Likewise.
44340         (special_real_inputs): Add more special inputs.
44341         (output_for_one_input_case): Do not require ERANGE on underflow to
44342         zero if round-to-nearest result does not underflow to zero, unless
44343         exact results required.
44344         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
44345         atan, atanh, cbrt, cos and cosh.
44346         * math/auto-libm-test-out: Regenerated.
44347         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
44348         (acos_tonearest_test_data): Likewise.
44349         (acos_towardzero_test_data): Likewise.
44350         (acos_downward_test_data): Likewise.
44351         (acos_upward_test_data): Likewise.
44352         (acosh_test_data): Likewise.
44353         (asin_test_data): Likewise.
44354         (asin_tonearest_test_data): Likewise.
44355         (asin_towardzero_test_data): Likewise.
44356         (asin_upward_test_data): Likewise.
44357         (asinh_test_data): Likewise.
44358         (atan_test_data): Likewise.
44359         (atanh_test_data): Likewise.
44360         (cbrt_test_data): Likewise.
44361         (cos_test_data): Likewise.
44362         (cos_tonearest_test_data): Likewise.
44363         (cos_towardzero_test_data): Likewise.
44364         (cos_downward_test_data): Likewise.
44365         (cos_upward_test_data): Likewise.
44366         (cosh_test_data): Likewise.
44367         (cosh_tonearest_test_data): Likewise.
44368         (cosh_towardzero_test_data): Likewise.
44369         (cosh_downward_test_data): Likewise.
44370         (cosh_upward_test_data): Likewise.
44371         * sysdeps/i386/fpu/libm-test-ulps: Update.
44372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44374 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
44376         [BZ #6787]
44377         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
44378         * math/w_exp10f.c (__exp10f): Likewise.
44379         * math/w_exp10l.c (__exp10l): Likewise.
44380         * math/libm-test.inc (exp10_test_data): Add more tests and expect
44381         errno settings in existing tests.
44383         [BZ #14032]
44384         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
44385         precision control set to double precision.
44386         * sysdeps/i386/fpu/w_sqrt.c: New file.
44387         * math/auto-libm-test-in: Add more tests.
44388         * math/auto-libm-test-out: Update.
44390         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
44391         (sqrt_test_tonearest): New function.
44392         (sqrt_towardzero_test_data): New variable.
44393         (sqrt_test_towardzero): New function.
44394         (sqrt_downward_test_data): New variable.
44395         (sqrt_test_downward): New function.
44396         (sqrt_upward_test_data): New variable.
44397         (sqrt_test_upward): New function.
44398         (main): Call the new functions.
44400         * math/gen-auto-libm-tests.c: New file.
44401         * math/auto-libm-test-in: Likewise.
44402         * math/auto-libm-test-out: New generated file.
44403         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
44404         variables.
44405         (%beautify): Add generated representations of zero.
44406         (top level): Set $auto_input and call parse_auto_input.
44407         (beautify): Remove trailing "f" from hex float constants.
44408         (parse_args): Handle XFAIL_TEST.
44409         (convert_condition): New function.
44410         (or_value): Likewise.
44411         (or_cond_value): Likewise.
44412         (generate_testfile): Handle AUTO_TESTS_* lines.
44413         (parse_auto_input): New function.
44414         * math/libm-test.inc (XFAIL_TEST): New macro.
44415         (ERRNO_UNCHANGED): Update value.
44416         (ERRNO_EDOM): Likewise.
44417         (ERRNO_ERANGE): Likewise.
44418         (IGNORE_RESULT): Likewise.
44419         (TEST_COND_flt_32): New macro.
44420         (TEST_COND_dbl_64): Likewise.
44421         (TEST_COND_ldbl_96_intel): Likewise.
44422         (TEST_COND_ldbl_96_m68k): Likewise.
44423         (TEST_COND_ldbl_128): Likewise.
44424         (TEST_COND_ldbl_128ibm): Likewise.
44425         (TEST_COND_long32): Likewise.
44426         (TEST_COND_long64): Likewise.
44427         (TEST_COND_before_rounding): Likewise.
44428         (TEST_COND_after_rounding): Likewise.
44429         (enable_test): Handle XFAIL_TEST flag.
44430         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
44431         with finite results.
44432         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
44433         auto-libm-test-out.
44435 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44436             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44438         [BZ #16214]
44439         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
44440         __tls_get_addr_internal instead of __tls_get_offset in order to
44441         avoid GOT pointer dependency.  Make rtld export
44442         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
44443         __tls_get_addr since we are a __tls_get_offset platform.
44444         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
44445         GOT pointer being set up before.
44446         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
44448 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
44450         * manual/math.texi (Errors in Math Functions): Document accuracy
44451         goals.
44453         [BZ #15004]
44454         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
44455         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
44456         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44457         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44458         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44459         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44460         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44461         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44462         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44463         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44464         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44465         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44466         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44468         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44469         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44471         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
44472         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
44473         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44474         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44475         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44476         Likewise.
44477         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44478         Likewise.
44479         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44480         Likewise.
44481         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44482         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44483         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44484         atomic-feupdateenv and flt-rounds.
44485         * sysdeps/powerpc/nofpu/Versions (libc): Add
44486         __atomic_feholdexcept, __atomic_feclearexcept,
44487         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44488         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44489         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44490         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44491         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44492         here.
44493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44494         Update.
44496         * manual/arith.texi (FP Exceptions): Document that exceptions may
44497         not be raised when matherr is used.
44498         (Math Error Reporting): Document overflow in directed rounding
44499         modes.  Document that errno may not be set when finite values are
44500         returned on overflow.  Document intent to set errno on underflow
44501         only for underflow to zero.
44503         [BZ #16271]
44504         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44505         round-to-nearest then adjust result for other rounding modes.
44506         * include/fenv.h (fegetround): Use libm_hidden_proto.
44507         * math/fegetround.c (fegetround): Use libm_hidden_def.
44508         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44509         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44510         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44512         Likewise.
44513         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44514         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44515         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44516         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44518 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44520         [BZ #16077]
44521         * nss/Versions (libnss_files): Add
44522         _nss_files_gethostbyname3_r.
44523         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44524         New function.
44525         (HOST_DB_LOOKUP): Remove macro.
44526         (_nss_files_gethostbyname_r): Implement function without the
44527         HOST_DB_LOOKUP macro.
44528         (_nss_files_gethostbyname2_r): Likewise.
44530 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44532         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44534 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44536         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44537         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44538         warning.
44540 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44542         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44543         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44544         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44545         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44546         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44547         __fe_nomask_env_priv and attribute_hidden.
44548         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44549         (libc_feupdateenv_test_ppc): Likewise.
44550         (libc_feresetround_ppc): Likewise.
44551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44552         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44553         compat_symbol macro.
44554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44555         (__fe_nomask_env): Likewise.
44556         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44558 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44560         * string/Makefile: Remove ifunc tests.
44561         * string/test-string.h: Define TEST_IFUNC.
44562         * string/test-bcopy-ifunc.c: Remove.
44563         * string/test-bzero-ifunc.c: Likewise.
44564         * string/test-memccpy-ifunc.c: Likewise.
44565         * string/test-memchr-ifunc.c: Likewise.
44566         * string/test-memcmp-ifunc.c: Likewise.
44567         * string/test-memcpy-ifunc.c: Likewise.
44568         * string/test-memmem-ifunc.c: Likewise.
44569         * string/test-memmove-ifunc.c: Likewise.
44570         * string/test-mempcpy-ifunc.c: Likewise.
44571         * string/test-memrchr-ifunc.c: Likewise.
44572         * string/test-memset-ifunc.c: Likewise.
44573         * string/test-rawmemchr-ifunc.c: Likewise.
44574         * string/test-stpcpy-ifunc.c: Likewise.
44575         * string/test-stpncpy-ifunc.c: Likewise.
44576         * string/test-strcasecmp-ifunc.c: Likewise.
44577         * string/test-strcasestr-ifunc.c: Likewise.
44578         * string/test-strcat-ifunc.c: Likewise.
44579         * string/test-strchr-ifunc.c: Likewise.
44580         * string/test-strchrnul-ifunc.c: Likewise.
44581         * string/test-strcmp-ifunc.c: Likewise.
44582         * string/test-strcpy-ifunc.c: Likewise.
44583         * string/test-strcspn-ifunc.c: Likewise.
44584         * string/test-strlen-ifunc.c: Likewise.
44585         * string/test-strncasecmp-ifunc.c: Likewise.
44586         * string/test-strncat-ifunc.c: Likewise.
44587         * string/test-strncmp-ifunc.c: Likewise.
44588         * string/test-strncpy-ifunc.c: Likewise.
44589         * string/test-strnlen-ifunc.c: Likewise.
44590         * string/test-strpbrk-ifunc.c: Likewise.
44591         * string/test-strrchr-ifunc.c: Likewise.
44592         * string/test-strspn-ifunc.c: Likewise.
44593         * string/test-strstr-ifunc.c: Likewise.
44595 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44597         * benchtests/Makefile: Remove ifunc tests.
44598         * benchtests/bench-string.h: Define TEST_IFUNC.
44599         * benchtests/bench-bcopy-ifunc.c: Remove.
44600         * benchtests/bench-bzero-ifunc.c: Likewise.
44601         * benchtests/bench-memccpy-ifunc.c: Likewise.
44602         * benchtests/bench-memchr-ifunc.c: Likewise.
44603         * benchtests/bench-memcmp-ifunc.c: Likewise.
44604         * benchtests/bench-memcpy-ifunc.c: Likewise.
44605         * benchtests/bench-memmem-ifunc.c: Likewise.
44606         * benchtests/bench-memmove-ifunc.c: Likewise.
44607         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44608         * benchtests/bench-memrchr-ifunc.c: Likewise.
44609         * benchtests/bench-memset-ifunc.c: Likewise.
44610         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44611         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44612         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44613         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44614         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44615         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44616         * benchtests/bench-strcat-ifunc.c: Likewise.
44617         * benchtests/bench-strchr-ifunc.c: Likewise.
44618         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44619         * benchtests/bench-strcmp-ifunc.c: Likewise.
44620         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44621         * benchtests/bench-strcpy-ifunc.c: Likewise.
44622         * benchtests/bench-strcspn-ifunc.c: Likewise.
44623         * benchtests/bench-strlen-ifunc.c: Likewise.
44624         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44625         * benchtests/bench-strncat-ifunc.c: Likewise.
44626         * benchtests/bench-strncmp-ifunc.c: Likewise.
44627         * benchtests/bench-strncpy-ifunc.c: Likewise.
44628         * benchtests/bench-strnlen-ifunc.c: Likewise.
44629         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44630         * benchtests/bench-strrchr-ifunc.c: Likewise.
44631         * benchtests/bench-strsep-ifunc.c: Likewise.
44632         * benchtests/bench-strspn-ifunc.c: Likewise.
44633         * benchtests/bench-strstr-ifunc.c: Likewise.
44635 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44637         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44639 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44641         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44642         * rt/aio.h: Likewise.
44643         * sysdeps/gnu/bits/utmp.h: Likewise.
44644         * sysdeps/gnu/bits/utmpx.h: Likewise.
44645         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44646         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44647         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44648         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44649         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44650         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44651         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44652         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44653         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44654         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44655         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44656         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44657         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44659         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44660         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44661         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44662         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44663         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44664         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44665         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44666         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44667         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44668         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44669         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44671         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44672         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44673         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44674         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44675         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44676         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44677         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44678         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44679         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44680         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44681         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44682         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44683         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44684         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44685         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44686         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44688 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44690         [BZ #16245]
44691         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44692         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44694 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44696         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44697         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44698         Likewise.
44700 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44702         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44703         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44704         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44705         (__fesetround): Remove define.
44706         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44707         rounding and exceptions handling.
44708         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44709         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44710         (__fe_nomask_env): Likewise.
44711         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44712         __fegetround instead of fegetround.
44713         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44714         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44716 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44718         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44719         it's there.
44721         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44723 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44725         [BZ #11157]
44726         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44727         (encrypt_r): Likewise.
44728         * malloc/obstack.h (obstack_free): Likewise.
44729         * posix/unistd.h (encrypt): Likewise.
44731 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44733         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44734         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44735         DL_CALL_DT_FINI() that call the functions directly.
44736         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44737         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44738         * elf/dl-fini.c: Likewise.
44740 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44742         * malloc/hooks.c (memalign_check): Add alignment rounding.
44743         * malloc/malloc.c (_mid_memalign): New function.
44744         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44745         Implement by calling _mid_memalign.
44746         * manual/probes.texi (Memory Allocation Probes): Remove
44747         memory_valloc_retry and memory_pvalloc_retry.
44749 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44751         * locale/programs/locarchive.c (open_archive): Add const
44752         qualifier to ARCHIVEFNAME and copy default fname to
44753         DEFAULT_FNAME.
44755         [BZ #15601]
44756         * libio/tst-widetext.input: Rename Oriya to Odia.
44757         * locale/iso-639.def: Likewise.
44759         * manual/probes.texi (Mathematical Function Probes): Add
44760         documentation for sin, cos, asin and acos probes.
44761         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44762         (__sin32): Add slowasin probe.
44763         (__cos32): Add slowacos probe.
44764         (__mpsin): Add slowsin probe.
44765         (__mpcos): Add slowcos probe.
44767 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44769         [BZ #15483]
44770         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44771         thread-local __sim_exceptions_thread and global
44772         __sim_exceptions_global.
44773         (__sim_disabled_exceptions): Change to thread-local
44774         __sim_disabled_exceptions_thread and global
44775         __sim_disabled_exceptions_global.
44776         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44777         and global __sim_round_mode_global.
44778         (__simulate_exceptions): Use thread-local floating-point state and
44779         set global state from it as needed.
44780         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44781         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44782         __sim_round_mode_thread.
44783         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44784         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44785         and global __sim_exceptions_global.
44786         (__sim_disabled_exceptions): Change to thread-local
44787         __sim_disabled_exceptions_thread and global
44788         __sim_disabled_exceptions_global.
44789         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44790         and global __sim_round_mode_global.
44791         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44792         (SIM_SET_GLOBAL): Likewise.
44793         * sysdeps/powerpc/soft-fp/sfp-machine.h
44794         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44795         __sim_round_mode_thread.
44796         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44797         __sim_disabled_exceptions_thread.
44798         (__sim_exceptions): Change to __sim_exceptions_thread.
44799         (__sim_disabled_exceptions): Change to
44800         __sim_disabled_exceptions_thread.
44801         (__sim_round_mode): Change to __sim_round_mode_thread.
44802         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44803         thread-local floating-point state and set global state from it as
44804         needed.
44805         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44806         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44807         (__sim_disabled_exceptions): Remove extern declaration.
44808         (feenableexcept): Use thread-local floating-point state and set
44809         global state from it as needed.
44810         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44811         extern declaration.
44812         (__sim_disabled_exceptions): Likewise.
44813         (__sim_round_mode): Likewise.
44814         (__fegetenv): Use thread-local floating-point state.
44815         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44816         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44817         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44818         floating-point state and set global state from it as needed.
44819         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44820         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44821         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44822         Likewise.
44823         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44824         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44825         Likewise.
44826         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44827         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44828         Use __sim_round_mode_thread.
44829         * math/test-fenv-tls.c: New file.
44830         * math/Makefile (tests): Add test-fenv-tls.
44831         ($(objpfx)test-fenv-tls): Depend on
44832         $(common-objpfx)nptl/libpthread.so.
44834 2013-11-19  Andreas Schwab  <schwab@suse.de>
44836         * locale/programs/locale.c (show_info): Decode wordarray elements.
44837         * locale/categories.def (LC_MONETARY): Add element for
44838         _NL_MONETARY_CRNCYSTR.
44839         * locale/C-monetary.c (conversion_rate): New variable.
44840         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44841         element.
44843 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44845         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44846         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44848 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44850         * elf/Makefile (tst-auxv): New test.
44851         * elf/tst-auxv.c: New
44852         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44854 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44856         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44857         (hidden_proto): Caller changed.
44858         (hidden_tls_proto): New macro.
44859         (libc_hidden_tls_proto): Likewise.
44860         (rtld_hidden_tls_proto): Likewise.
44861         (libm_hidden_tls_proto): Likewise.
44862         (libresolv_hidden_tls_proto): Likewise.
44863         (librt_hidden_tls_proto): Likewise.
44864         (libdl_hidden_tls_proto): Likewise.
44865         (libnss_files_hidden_tls_proto): Likewise.
44866         (libnsl_hidden_tls_proto): Likewise.
44867         (libnss_nisplus_hidden_tls_proto): Likewise.
44868         (libutil_hidden_tls_proto): Likewise.
44870 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44872         [BZ #10253]
44873         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44874         (decompose_rpath): Defer expansion to fillin_rpath.
44875         (_dl_init_paths): Pass linkmap to fillin_rpath.
44877 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44879         * benchtests/Makefile: Add strsep.
44880         * benchtests/bench-strsep.c: New file: strsep benchtest.
44881         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44883 2013-11-18  Andreas Schwab  <schwab@suse.de>
44885         * locale/programs/locale.c (show_info) [case byte]: Check for
44886         '\377' instead of '\177'.
44887         * locale/C-monetary.c (not_available): Always use "\377".
44888         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44889         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44890         detect unavailable sign_posn locale elements.
44891         * locale/localeconv.c (__localeconv): For grouping and
44892         mon_grouping handle "\177" and "\377" like no grouping.
44893         (INT_ELEM): New macro.  Use it to set all numeric members.
44894         * locale/programs/ld-monetary.c (monetary_read)
44895         <tok_mon_grouping>: Normalize single -1 to the empty string.
44896         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44897         Likewise.
44899 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44901         [BZ #16055]
44902         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44903         when we match (nil).
44904         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44906 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44908         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44909         (NO_TEST_INLINE): Update value.
44910         (ERRNO_UNCHANGED): Likewise.
44911         (ERRNO_EDOM): Likewise.
44912         (ERRNO_ERANGE): Likewise.
44913         (IGNORE_RESULT): Likewise.
44914         (check_float_internal): Check signs of NaN results if
44915         TEST_NAN_SIGN used.
44916         (check_complex): Pass TEST_NAN_SIGN flag through to second
44917         check_float_internal call.
44918         (copysign_test_data): Add tests with quiet NaNs as second
44919         argument.  Use TEST_NAN_SIGN.
44920         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44921         TEST_NAN_SIGN.
44922         (signbit_test_data): Add tests of quiet NaN argument.
44923         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44925         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44926         $ignore_result.
44927         (parse_args): Handle function results specified as IGNORE.
44928         * math/libm-test.inc (IGNORE_RESULT): New macro.
44929         (check_float_internal): Do not check numerical result if flag
44930         IGNORE_RESULT set.
44931         (check_complex): Pass through IGNORE_RESULT to second
44932         check_float_internal call.
44933         (check_int): Do not check numerical result if flag IGNORE_RESULT
44934         set.
44935         (check_long): Likewise.
44936         (check_bool): Likewise.
44937         (check_longlong): Likewise.
44938         (lrint_test_data): Add tests of infinite and NaN arguments.
44939         (lrint_tonearest_test_data): Likewise.
44940         (lrint_towardzero_test_data): Likewise.
44941         (lrint_downward_test_data): Likewise.
44942         (lrint_upward_test_data): Likewise.
44943         (llrint_test_data): Likewise.
44944         (llrint_tonearest_test_data): Likewise.
44945         (llrint_towardzero_test_data): Likewise.
44946         (llrint_downward_test_data): Likewise.
44947         (llrint_upward_test_data): Likewise.
44948         (lround_test_data): Likewise.
44949         (llround_test_data): Likewise.
44951         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44952         (ERRNO_UNCHANGED): Update value.
44953         (ERRNO_EDOM): Likewise.
44954         (ERRNO_ERANGE): Likewise.
44955         (NO_TEST_INLINE_FLOAT): New macro.
44956         (NO_TEST_INLINE_DOUBLE): Likewise.
44957         (enable_test): New function.
44958         (RUN_TEST_f_f): Check enable_test before running test.
44959         (RUN_TEST_2_f): Likewise.
44960         (RUN_TEST_fff_f): Likewise.
44961         (RUN_TEST_c_f): Likewise.
44962         (RUN_TEST_f_f1): Likewise.
44963         (RUN_TEST_fF_f1): Likewise.
44964         (RUN_TEST_fI_f1): Likewise.
44965         (RUN_TEST_ffI_f1): Likewise.
44966         (RUN_TEST_c_c): Likewise.
44967         (RUN_TEST_cc_c): Likewise.
44968         (RUN_TEST_f_i): Likewise.
44969         (RUN_TEST_f_i_tg): Likewise.
44970         (RUN_TEST_ff_i_tg): Likewise.
44971         (RUN_TEST_f_b): Likewise.
44972         (RUN_TEST_f_b_tg): Likewise.
44973         (RUN_TEST_f_l): Likewise.
44974         (RUN_TEST_f_L): Likewise.
44975         (RUN_TEST_fFF_11): Likewise.
44976         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44977         conditionals.
44978         (cosh_test_data): Likewise.
44979         (exp_test_data): Likewise.
44980         (expm1_test_data): Likewise.
44981         (hypot_test_data): Likewise.
44982         (pow_test_data): Likewise.
44983         (sinh_test_data): Likewise.
44984         (tanh_test_data): Likewise.
44985         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44986         flags argument.
44988         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44989         tests with quiet NaN input and output.
44990         (acosh_test_data): Likewise.
44991         (asin_test_data): Likewise.
44992         (asinh_test_data): Likewise.
44993         (atan_test_data): Likewise.
44994         (atanh_test_data): Likewise.
44995         (atan2_test_data): Likewise.
44996         (cbrt_test_data): Likewise.
44997         (cos_test_data): Likewise.
44998         (cosh_test_data): Likewise.
44999         (erf_test_data): Likewise.
45000         (erfc_test_data): Likewise.
45001         (exp_test_data): Likewise.
45002         (exp10_test_data): Likewise.
45003         (exp2_test_data): Likewise.
45004         (expm1_test_data): Likewise.
45005         (hypot_test_data): Likewise.
45006         (j0_test_data): Likewise.
45007         (j1_test_data): Likewise.
45008         (jn_test_data): Likewise.
45009         (lgamma_test_data): Likewise.
45010         (log_test_data): Likewise.
45011         (log10_test_data): Likewise.
45012         (log1p_test_data): Likewise.
45013         (log2_test_data): Likewise.
45014         (pow_test_data): Likewise.
45015         (scalb_test_data): Likewise.
45016         (sin_test_data): Likewise.
45017         (sincos_test_data): Likewise.
45018         (sinh_test_data): Likewise.
45019         (tan_test_data): Likewise.
45020         (tanh_test_data): Likewise.
45021         (tgamma_test_data): Likewise.
45022         (y0_test_data): Likewise.
45023         (y1_test_data): Likewise.
45024         (yn_test_data): Likewise.
45026         [BZ #16167]
45027         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
45028         argument being NaN and avoid computations with second argument in
45029         that case.
45030         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45031         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
45032         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45034 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
45036         * locale/iso-639.def: Add Chitwani Tharu (the).
45038 2013-11-14  Andreas Schwab  <schwab@suse.de>
45040         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
45041         word instead of empty string.
45043 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45046         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
45047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45048         (__fe_nomask_env): Likewise.
45050 2013-11-13  Steve Ellcey  <sellcey@mips.com>
45052         * benchtests/bench-timing.h: Include time.h.
45054 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
45056         [BZ #15997]
45057         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
45058         to 3.4.0 for x32.
45059         * sysdeps/unix/sysv/linux/configure: Regenerated.
45061 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
45063         [BZ #16151]
45064         * stdlib/strtod_l.c (round_and_return): Do not consider
45065         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
45066         exponent one less than half the least subnormal exponent.
45067         * stdlib/test-strtod-round-data: Add more tests.
45068         * stdlib/tst-strtod-round.c (tests): Regenerated.
45070 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45072         [BZ #14143]
45073         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
45074         (__fe_mask_env): Likewise.
45075         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
45076         libm_hidden_proto and add function prototype.
45077         (__fe_mask_env): Add function prototype.
45078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45079         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
45080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
45081         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
45082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45083         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
45085 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45087         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
45088         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
45090 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45092         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
45093         of htab_find_slot().
45095 2013-11-11  David S. Miller  <davem@davemloft.net>
45097         [BZ #16150]
45098         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
45099         symbol in the non-vis3 case in static builds.
45100         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
45101         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
45102         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
45103         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
45105 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
45107         [BZ #387]
45108         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
45109         it is empty.
45111 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45113         * benchtests/Makefile: Add bench-strtod.
45114         * benchtests/bench-strtod.c: New file: strtod benchtest
45116 2013-11-11  Andreas Schwab  <schwab@suse.de>
45118         [BZ #16153]
45119         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
45120         terminating NUL in key length.
45122 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45124         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45125         Add artificial ODP entry for vDSO symbol for PPC64.
45126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
45127         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
45129 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
45131         [BZ #15374]
45132         * nss/getent.c (services_keys): Recognize services starting with digit.
45134 2013-11-06  David S. Miller  <davem@davemloft.net>
45136         [BZ #15985]
45137         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
45138         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
45140 2013-11-06  Will Newton  <will.newton@linaro.org>
45142         * manual/memory.texi (Malloc Examples): Remove register
45143         keyword from examples.
45145 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
45147         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
45149 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
45151         [BZ #6981]
45152         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
45153         depending on [__GCC_IEC_559 > 0].
45154         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
45155         depending on [__GCC_IEC_559_COMPLEX > 0].
45157 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
45159         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
45160         to iso-639.def.
45162 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
45164         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
45166 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
45168         [BZ #16112]
45169         * malloc/malloc (malloc_info): Do not handle first bin as
45170         special case.
45172 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
45174         * locale/iso-639.def: Add Central Nahuatl (nhn).
45176 2013-11-01  Bruno Haible  <bruno@clisp.org>
45178         [BZ #7003]
45179         * manual/math.texi (BSD Random): Specify range upper bound as
45180         in POSIX.
45182 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
45184         * locale/iso-639.def: Add Meadow Mari (mhr).
45186 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
45188         [BZ #14752], [BZ #15763]
45189         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
45190         Validate name.
45191         * rt/tst_shm.c: Add test for escaping directory.
45193 2013-10-31  Andreas Schwab  <schwab@suse.de>
45195         [BZ #15917]
45196         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
45197         followed by 'x' as part of digit sequence.
45198         * stdio-common/tst-sscanf.c (double_tests2): New tests.
45200 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
45202         [BZ #16037]
45203         * configure.ac: allow GNU Make 4.0 and greater.
45204         * configure: Regenerated.
45206 2013-10-30  Will Newton  <will.newton@linaro.org>
45208         [BZ #16038]
45209         * malloc/hooks.c (memalign_check): Limit alignment to the
45210         maximum representable power of two.
45211         * malloc/malloc.c (__libc_memalign): Likewise.
45212         * malloc/tst-memalign.c (do_test): Add test for very
45213         large alignment values.
45214         * malloc/tst-posix_memalign.c (do_test): Likewise.
45216 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45218         [BZ #11087]
45219         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
45220         (munmap_chunk): Likewise.
45221         (mremap_chunk): Likewise.
45223 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
45225         [BZ #15799]
45226         * stdlib/div.c (div): Remove obsolete code.
45227         * stdlib/ldiv.c (ldiv): Likewise.
45228         * stdlib/lldiv.c (lldiv): Likewise.
45230 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45232         [BZ #16071]
45233         * nss/nss_files/files-XXX.c (get_contents_ret): New
45234         enumerator.
45235         (get_contents): New function.
45236         (internal_getent): Use it.  Expand size of LINEBUFLEN.
45238 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
45240         * configure.in: Moved to ...
45241         * configure.ac: ... here. Change reference to configure.in
45242         to configure.ac.
45243         * sysdeps/arm/preconfigure.ac: ... here.
45244         configure.in to configure.ac.
45245         * sysdeps/gnu/configure.in: Moved to ...
45246         * sysdeps/gnu/configure.ac: ... here.
45247         * sysdeps/i386/configure.in: Moved to ...
45248         * sysdeps/i386/configure.ac: ... here.
45249         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
45250         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
45251         * sysdeps/mach/configure.in: Moved to ...
45252         * sysdeps/mach/configure.ac: ... here.
45253         * sysdeps/mach/hurd/configure.in: Moved to ...
45254         * sysdeps/mach/hurd/configure.ac: ... here.
45255         * sysdeps/powerpc/configure.in: Moved to ...
45256         * sysdeps/powerpc/configure.ac: ... here.
45257         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
45258         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
45259         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
45260         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
45261         * sysdeps/s390/s390-32/configure.in: Moved to ...
45262         * sysdeps/s390/s390-32/configure.ac: ... here.
45263         * sysdeps/s390/s390-64/configure.in: Moved to ...
45264         * sysdeps/s390/s390-64/configure.ac: ... here.
45265         * sysdeps/sh/configure.in: Moved to ...
45266         * sysdeps/sh/configure.ac: ... here.
45267         * sysdeps/sparc/configure.in: Moved to ...
45268         * sysdeps/sparc/configure.ac: ... here.
45269         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
45270         * sysdeps/unix/sysv/linux/configure.ac: ... here.
45271         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
45272         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
45273         * sysdeps/x86_64/configure.in: Moved to ...
45274         * sysdeps/x86_64/configure.ac: ... here.
45275         * sysdeps/x86_64/preconfigure.in: Moved to ...
45276         * sysdeps/x86_64/preconfigure.ac: ... here.
45277         * aclocal.m4: Change reference to configure.in to configure.ac.
45278         * config.h.in: Likewise.
45279         * manual/install.texi: Likewise.
45280         * manual/maint.texi: Likewise.
45281         * Makefile: Likewise.
45282         * malloc/Makefile: Likewise.
45283         * nscd/Makefile: Likewise.
45284         * Makeconfig: Change reference to configure.in and
45285         preconfigure.in to configure.ac and preconfigure.ac
45286         respectively.
45287         * INSTALL: Regenerated.
45288         * configure: Likewise.
45289         * sysdeps/gnu/configure: Likewise.
45290         * sysdeps/i386/configure: Likewise.
45291         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
45292         * sysdeps/mach/configure: Likewise.
45293         * sysdeps/mach/hurd/configure: Likewise.
45294         * sysdeps/powerpc/configure: Likewise.
45295         * sysdeps/powerpc/powerpc32/configure: Likewise.
45296         * sysdeps/powerpc/powerpc64/configure: Likewise.
45297         * sysdeps/s390/s390-32/configure: Likewise.
45298         * sysdeps/s390/s390-64/configure: Likewise.
45299         * sysdeps/sh/configure: Likewise.
45300         * sysdeps/sparc/configure: Likewise.
45301         * sysdeps/unix/sysv/linux/configure: Likewise.
45302         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
45303         * sysdeps/x86_64/configure: Likewise.
45304         * sysdeps/x86_64/preconfigure: Likewise.
45306 2013-10-29  Andreas Schwab  <schwab@suse.de>
45308         * stdio-common/Makefile (tst-swscanf-ENV): Define.
45310 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45312         * benchtests/pow-inputs: Add new inputs.
45314         * benchtests/exp-inputs: Add new inputs.
45316         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
45317         conditional check for return value.
45318         (__cos32): Likewise.
45320 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45322         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
45323         to provide a boost for large inputs with word alignment.
45324         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
45325         implementation based on optimized PPC64 strcpy.
45326         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
45327         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
45328         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
45329         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
45331 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45333         [BZ #2801]
45334         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
45336 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45338         [BZ #14876]
45339         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
45340         * time/tst-strptime.c (day_tests): Add testcase.
45342 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
45344         [BZ #14029]
45345         * manual/pattern.texi: Acknowledge that fnmatch can fail.
45347 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
45349         [BZ #16074]
45350         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
45351         MAP_FAILED on error.
45353 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45355         [BZ #16072]
45356         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
45357         heap for large requests.
45359 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
45361         [BZ #9954]
45362         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
45363         result if the result has no associated interface.
45364         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
45365         interface for all 127.X.Y.Z addresses.
45367 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
45369         * locale/iso-639.def: Add Ligurian (lij)
45371 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
45373         [BZ #15825]
45374         * sunrpc/rpc_main.c: Document rpcgen -5.
45376 2013-10-19  Michael Stahl  <mstahl@redhat.com>
45378         * elf/rtld.c (do_preload): Print the reason why preloading failed.
45380 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45382         [BZ #10278]
45383         * posix/glob.c: Match only directories when trailing slash is present.
45384         * posix/tst-gnuglob.c (my_opendir): Do not open files.
45385         (main): Add testcase.
45387 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
45389         [BZ #15670]
45390         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
45392 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
45394         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
45395         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
45396         AUTH_DES and cindex for FIPS 140-2.
45397         (DES Encryption): Add cindex FIPS 46-3.
45399         * locale/locarchive.h (struct locarhandle): Add fname.
45400         * locale/programs/localedef.c (main): Pass ARGV[remaining]
45401         if an optional argument was specified to --list-archive,
45402         otherwise NULL.
45403         * locale/programs/locarchive.c (show_archive_content): Take new
45404         argument fname and pass it via ah.fname to open_archive.
45405         * locale/programs/localedef.h: Update decl.
45406         (open_archive): If AH->fname is non-null, open that file
45407         rather than the default file name, and don't ignore ENOENT.
45408         (create_archive): Set AH.fname to NULL.
45409         (delete_locales_from_archive): Likewise.
45410         (add_locales_to_archive): Likewise.
45411         * locale/programs/locfile.c (write_all_categories): Likewise.
45413 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
45414             Aldy Hernandez  <aldyh@redhat.com>
45416         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
45417         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
45418         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
45419         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
45420         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
45421         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
45422         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
45423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
45424         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
45425         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
45426         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
45427         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
45428         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
45429         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
45430         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
45431         Likewise.
45432         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
45433         Likewise.
45434         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
45435         Likewise.
45436         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
45437         Likewise.
45438         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
45439         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
45440         Likewise.
45441         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
45442         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
45443         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
45444         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
45445         Likewise.
45446         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
45447         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
45448         * sysdeps/powerpc/preconfigure: Likewise.
45449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
45450         Likewise.
45451         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
45452         Replace contents of file by #include of <fenv_libc.h>.
45453         * sysdeps/powerpc/soft-fp/sfp-machine.h
45454         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
45455         and <sys/prctl.h>.
45456         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
45457         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
45458         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
45459         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
45460         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
45461         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
45462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
45463         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
45464         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
45465         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
45466         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
45467         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
45468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45469         Allow copysignl PLT reference to be missing.
45471 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
45472             Joseph Myers  <joseph@codesourcery.com
45474         [BZ #15948]
45475         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45476         single character.
45477         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45479 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45481         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45482         * elf/tst-tls1.c: Likewise.
45483         * elf/tst-tls10.h: Likewise.
45484         * elf/tst-tls14.c: Likewise.
45485         * elf/tst-tls2.c: Likewise.
45486         * elf/tst-tls3.c: Likewise.
45487         * elf/tst-tls4.c: Likewise.
45488         * elf/tst-tls5.c: Likewise.
45489         * elf/tst-tls6.c: Likewise.
45490         * elf/tst-tls7.c: Likewise.
45491         * elf/tst-tls8.c: Likewise.
45492         * elf/tst-tls9.c: Likewise.
45493         * elf/tst-tlsmod1.c: Likewise.
45494         * elf/tst-tlsmod13.c: Likewise.
45495         * elf/tst-tlsmod13a.c: Likewise.
45496         * elf/tst-tlsmod14a.c: Likewise.
45497         * elf/tst-tlsmod16a.c: Likewise.
45498         * elf/tst-tlsmod16b.c: Likewise.
45499         * elf/tst-tlsmod2.c: Likewise.
45500         * elf/tst-tlsmod3.c: Likewise.
45501         * elf/tst-tlsmod4.c: Likewise.
45502         * elf/tst-tlsmod5.c: Likewise.
45503         * elf/tst-tlsmod6.c: Likewise.
45505 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45507         [BZ #12486]
45508         * malloc/malloc.c: remove checks for statistics.
45510 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45512         [BZ #15277]
45513         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45514         * inet/tst-network.c: Add testcase.
45516 2013-10-17  Andreas Schwab  <schwab@suse.de>
45518         [BZ #15218]
45519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45520         to determine canonical name.
45522 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45524         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45525         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45526         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45527         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45528         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45529         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45530         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45531         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45532         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45533         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45534         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45535         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45536         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45537         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45538         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45539         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45540         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45541         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45542         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45543         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45544         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45546         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45547         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45548         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45549         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45550         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45551         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45552         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45553         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45554         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45555         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45556         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45557         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45558         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45559         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45560         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45561         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45562         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45563         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45564         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45565         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45566         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45567         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45568         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45569         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45570         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45571         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45572         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45573         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45574         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45575         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45576         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45577         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45578         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45579         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45580         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45581         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45583 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45585         [BZ #16041]
45586         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45587         make result into a quiet NaN.
45589 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45591         * soft-fp/adddf3.c: Fix horizontal whitespace.
45592         * soft-fp/addsf3.c: Likewise.
45593         * soft-fp/addtf3.c: Likewise.
45594         * soft-fp/divdf3.c: Likewise.
45595         * soft-fp/divsf3.c: Likewise.
45596         * soft-fp/divtf3.c: Likewise.
45597         * soft-fp/double.h: Likewise.
45598         * soft-fp/eqdf2.c: Likewise.
45599         * soft-fp/eqsf2.c: Likewise.
45600         * soft-fp/eqtf2.c: Likewise.
45601         * soft-fp/extenddftf2.c: Likewise.
45602         * soft-fp/extended.h: Likewise.
45603         * soft-fp/extendsfdf2.c: Likewise.
45604         * soft-fp/extendsftf2.c: Likewise.
45605         * soft-fp/extendxftf2.c: Likewise.
45606         * soft-fp/fixdfdi.c: Likewise.
45607         * soft-fp/fixdfsi.c: Likewise.
45608         * soft-fp/fixdfti.c: Likewise.
45609         * soft-fp/fixsfdi.c: Likewise.
45610         * soft-fp/fixsfsi.c: Likewise.
45611         * soft-fp/fixsfti.c: Likewise.
45612         * soft-fp/fixtfdi.c: Likewise.
45613         * soft-fp/fixtfsi.c: Likewise.
45614         * soft-fp/fixtfti.c: Likewise.
45615         * soft-fp/fixunsdfdi.c: Likewise.
45616         * soft-fp/fixunsdfsi.c: Likewise.
45617         * soft-fp/fixunsdfti.c: Likewise.
45618         * soft-fp/fixunssfdi.c: Likewise.
45619         * soft-fp/fixunssfsi.c: Likewise.
45620         * soft-fp/fixunssfti.c: Likewise.
45621         * soft-fp/fixunstfdi.c: Likewise.
45622         * soft-fp/fixunstfsi.c: Likewise.
45623         * soft-fp/fixunstfti.c: Likewise.
45624         * soft-fp/floatdidf.c: Likewise.
45625         * soft-fp/floatdisf.c: Likewise.
45626         * soft-fp/floatditf.c: Likewise.
45627         * soft-fp/floatsidf.c: Likewise.
45628         * soft-fp/floatsisf.c: Likewise.
45629         * soft-fp/floatsitf.c: Likewise.
45630         * soft-fp/floattidf.c: Likewise.
45631         * soft-fp/floattisf.c: Likewise.
45632         * soft-fp/floattitf.c: Likewise.
45633         * soft-fp/floatundidf.c: Likewise.
45634         * soft-fp/floatundisf.c: Likewise.
45635         * soft-fp/floatunditf.c: Likewise.
45636         * soft-fp/floatunsidf.c: Likewise.
45637         * soft-fp/floatunsisf.c: Likewise.
45638         * soft-fp/floatunsitf.c: Likewise.
45639         * soft-fp/floatuntidf.c: Likewise.
45640         * soft-fp/floatuntisf.c: Likewise.
45641         * soft-fp/floatuntitf.c: Likewise.
45642         * soft-fp/fmadf4.c: Likewise.
45643         * soft-fp/fmasf4.c: Likewise.
45644         * soft-fp/fmatf4.c: Likewise.
45645         * soft-fp/gedf2.c: Likewise.
45646         * soft-fp/gesf2.c: Likewise.
45647         * soft-fp/getf2.c: Likewise.
45648         * soft-fp/ledf2.c: Likewise.
45649         * soft-fp/lesf2.c: Likewise.
45650         * soft-fp/letf2.c: Likewise.
45651         * soft-fp/muldf3.c: Likewise.
45652         * soft-fp/mulsf3.c: Likewise.
45653         * soft-fp/multf3.c: Likewise.
45654         * soft-fp/negdf2.c: Likewise.
45655         * soft-fp/negsf2.c: Likewise.
45656         * soft-fp/negtf2.c: Likewise.
45657         * soft-fp/op-1.h: Likewise.
45658         * soft-fp/op-2.h: Likewise.
45659         * soft-fp/op-4.h: Likewise.
45660         * soft-fp/op-8.h: Likewise.
45661         * soft-fp/op-common.h: Likewise.
45662         * soft-fp/quad.h: Likewise.
45663         * soft-fp/single.h: Likewise.
45664         * soft-fp/soft-fp.h: Likewise.
45665         * soft-fp/sqrtdf2.c: Likewise.
45666         * soft-fp/sqrtsf2.c: Likewise.
45667         * soft-fp/sqrttf2.c: Likewise.
45668         * soft-fp/subdf3.c: Likewise.
45669         * soft-fp/subsf3.c: Likewise.
45670         * soft-fp/subtf3.c: Likewise.
45671         * soft-fp/truncdfsf2.c: Likewise.
45672         * soft-fp/trunctfdf2.c: Likewise.
45673         * soft-fp/trunctfsf2.c: Likewise.
45674         * soft-fp/trunctfxf2.c: Likewise.
45675         * soft-fp/unorddf2.c: Likewise.
45676         * soft-fp/unordsf2.c: Likewise.
45677         * soft-fp/unordtf2.c: Likewise.
45679 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45681         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45682         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45684 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45686         * elf/dl-libc.c: Clear initfini list after freeing.
45688 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45690         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45691         * soft-fp/addsf3.c: Likewise.
45692         * soft-fp/addtf3.c: Likewise.
45693         * soft-fp/divdf3.c: Likewise.
45694         * soft-fp/divsf3.c: Likewise.
45695         * soft-fp/divtf3.c: Likewise.
45696         * soft-fp/double.h: Likewise.
45697         * soft-fp/eqdf2.c: Likewise.
45698         * soft-fp/eqsf2.c: Likewise.
45699         * soft-fp/eqtf2.c: Likewise.
45700         * soft-fp/extenddftf2.c: Likewise.
45701         * soft-fp/extended.h: Likewise.
45702         * soft-fp/extendsfdf2.c: Likewise.
45703         * soft-fp/extendsftf2.c: Likewise.
45704         * soft-fp/extendxftf2.c: Likewise.
45705         * soft-fp/fixdfdi.c: Likewise.
45706         * soft-fp/fixdfsi.c: Likewise.
45707         * soft-fp/fixdfti.c: Likewise.
45708         * soft-fp/fixsfdi.c: Likewise.
45709         * soft-fp/fixsfsi.c: Likewise.
45710         * soft-fp/fixsfti.c: Likewise.
45711         * soft-fp/fixtfdi.c: Likewise.
45712         * soft-fp/fixtfsi.c: Likewise.
45713         * soft-fp/fixtfti.c: Likewise.
45714         * soft-fp/fixunsdfdi.c: Likewise.
45715         * soft-fp/fixunsdfsi.c: Likewise.
45716         * soft-fp/fixunsdfti.c: Likewise.
45717         * soft-fp/fixunssfdi.c: Likewise.
45718         * soft-fp/fixunssfsi.c: Likewise.
45719         * soft-fp/fixunssfti.c: Likewise.
45720         * soft-fp/fixunstfdi.c: Likewise.
45721         * soft-fp/fixunstfsi.c: Likewise.
45722         * soft-fp/fixunstfti.c: Likewise.
45723         * soft-fp/floatdidf.c: Likewise.
45724         * soft-fp/floatdisf.c: Likewise.
45725         * soft-fp/floatditf.c: Likewise.
45726         * soft-fp/floatsidf.c: Likewise.
45727         * soft-fp/floatsisf.c: Likewise.
45728         * soft-fp/floatsitf.c: Likewise.
45729         * soft-fp/floattidf.c: Likewise.
45730         * soft-fp/floattisf.c: Likewise.
45731         * soft-fp/floattitf.c: Likewise.
45732         * soft-fp/floatundidf.c: Likewise.
45733         * soft-fp/floatundisf.c: Likewise.
45734         * soft-fp/floatunsidf.c: Likewise.
45735         * soft-fp/floatunsisf.c: Likewise.
45736         * soft-fp/floatuntidf.c: Likewise.
45737         * soft-fp/floatuntisf.c: Likewise.
45738         * soft-fp/floatuntitf.c: Likewise.
45739         * soft-fp/fmadf4.c: Likewise.
45740         * soft-fp/fmasf4.c: Likewise.
45741         * soft-fp/fmatf4.c: Likewise.
45742         * soft-fp/gedf2.c: Likewise.
45743         * soft-fp/gesf2.c: Likewise.
45744         * soft-fp/getf2.c: Likewise.
45745         * soft-fp/ledf2.c: Likewise.
45746         * soft-fp/lesf2.c: Likewise.
45747         * soft-fp/letf2.c: Likewise.
45748         * soft-fp/muldf3.c: Likewise.
45749         * soft-fp/mulsf3.c: Likewise.
45750         * soft-fp/multf3.c: Likewise.
45751         * soft-fp/negdf2.c: Likewise.
45752         * soft-fp/negsf2.c: Likewise.
45753         * soft-fp/negtf2.c: Likewise.
45754         * soft-fp/op-1.h: Likewise.
45755         * soft-fp/op-2.h: Likewise.
45756         * soft-fp/op-4.h: Likewise.
45757         * soft-fp/op-8.h: Likewise.
45758         * soft-fp/op-common.h: Likewise.
45759         * soft-fp/quad.h: Likewise.
45760         * soft-fp/single.h: Likewise.
45761         * soft-fp/soft-fp.h: Likewise.
45762         * soft-fp/sqrtdf2.c: Likewise.
45763         * soft-fp/sqrtsf2.c: Likewise.
45764         * soft-fp/sqrttf2.c: Likewise.
45765         * soft-fp/subdf3.c: Likewise.
45766         * soft-fp/subsf3.c: Likewise.
45767         * soft-fp/subtf3.c: Likewise.
45768         * soft-fp/truncdfsf2.c: Likewise.
45769         * soft-fp/trunctfdf2.c: Likewise.
45770         * soft-fp/trunctfsf2.c: Likewise.
45771         * soft-fp/trunctfxf2.c: Likewise.
45772         * soft-fp/unorddf2.c: Likewise.
45773         * soft-fp/unordsf2.c: Likewise.
45774         * soft-fp/unordtf2.c: Likewise.
45776 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45778         [BZ #15672]
45779         * misc/error.c (error_tail): Fix possible buffer overflow.
45781 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45783         [BZ #13028]
45784         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45785         address.
45787 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45789         [BZ #832]
45790         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45791         testing pipefail option.
45793 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45795         * soft-fp/double.h: Indent preprocessor directives inside #if.
45796         * soft-fp/extended.h: Likewise.
45797         * soft-fp/op-2.h: Likewise.
45798         * soft-fp/op-4.h: Likewise.
45799         * soft-fp/op-common.h: Likewise.
45800         * soft-fp/quad.h: Likewise.
45801         * soft-fp/single.h: Likewise.
45802         * soft-fp/soft-fp.h: Likewise.
45804 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45806         * iconv/iconv_prog.c: Fix typos.
45807         * stdio-common/psiginfo-data.h: Likewise.
45809 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45811         [BZ #15764]
45812         * locale/setlocale.c: Fix typo.
45814 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45816         [BZ #16036]
45817         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45818         signaling NaN arguments.
45819         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45820         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45822         [BZ #14910]
45823         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45824         unordered operands.
45825         * soft-fp/gesf2.c (__gesf2): Likewise.
45826         * soft-fp/getf2.c (__getf2): Likewise.
45827         * soft-fp/ledf2.c (__ledf2): Likewise.
45828         * soft-fp/lesf2.c (__lesf2): Likewise.
45829         * soft-fp/letf2.c (__letf2): Likewise.
45831         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45832         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45833         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45834         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45835         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45836         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45837         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45838         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45839         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45840         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45841         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45842         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45843         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45844         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45845         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45846         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45847         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45848         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45849         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45850         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45851         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45852         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45853         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45854         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45855         * soft-fp/floattidf.c (__floattidf): Likewise.
45856         * soft-fp/floattisf.c (__floattisf): Likewise.
45857         * soft-fp/floattitf.c (__floattitf): Likewise.
45858         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45859         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45860         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45861         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45862         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45863         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45864         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45865         * soft-fp/gesf2.c (__gesf2): Likewise.
45866         * soft-fp/getf2.c (__getf2): Likewise.
45867         * soft-fp/ledf2.c (__ledf2): Likewise.
45868         * soft-fp/lesf2.c (__lesf2): Likewise.
45869         * soft-fp/letf2.c (__letf2): Likewise.
45871         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45872         Undefine and redefine.
45873         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45874         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45875         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45876         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45877         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45878         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45879         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45880         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45881         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45882         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45883         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45884         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45885         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45886         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45887         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45889         [BZ #16032]
45890         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45891         without decrementing exponent if mantissa >= that for the
45892         denominator, not >.
45893         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45894         denominator, not >.  Decrement exponent in < case instead of
45895         incrementing in >= case.
45896         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45897         without decrementing exponent if mantissa >= that for the
45898         denominator, not >.
45900         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45901         computing saturated result for unsigned overflow.
45903 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45904             Jeff Law  <law@redhat.com>
45906         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45907         (atan2Mp): Add systemtap probe marker.
45908         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45909         (__ieee754_log): Add systemtap probe marker.
45910         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45911         (atanMp): Add systemtap probe marker.
45912         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45913         (tanMp): Add systemtap probe marker.
45914         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45915         (__slowexp): Add systemtap probe marker.
45916         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45917         (__slowpow): Add systemtap probe marker.
45918         * manual/probes.texi: Document probes.
45920 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45922         [BZ #15362]
45923         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45924         written.
45925         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45926         written.
45927         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45928         written to buffer but not flushed.
45929         * libio/iofwrite_u.c:  Likewise.
45930         * libio/iopadn.c:  Return bytes returned even if EOF was
45931         encountered.
45932         * libio/iowpadn.c:  Likewise.
45933         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45934         if _IO_padn does not write the whole buffer.
45935         [!COMPILE_WPRINTF] (PAD): Likewise.
45937 2013-10-10  David S. Miller  <davem@davemloft.net>
45939         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45940         directory block.
45942 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45944         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45945         instead of FSF address.
45946         * soft-fp/fixdfti.c: Likewise.
45947         * soft-fp/fixsfti.c: Likewise.
45948         * soft-fp/fixtfti.c: Likewise.
45949         * soft-fp/fixunsdfti.c: Likewise.
45950         * soft-fp/fixunssfti.c: Likewise.
45951         * soft-fp/fixunstfti.c: Likewise.
45952         * soft-fp/floattidf.c: Likewise.
45953         * soft-fp/floattisf.c: Likewise.
45954         * soft-fp/floattitf.c: Likewise.
45955         * soft-fp/floatuntidf.c: Likewise.
45956         * soft-fp/floatuntisf.c: Likewise.
45957         * soft-fp/floatuntitf.c: Likewise.
45958         * soft-fp/trunctfxf2.c: Likewise.
45960         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45961         * soft-fp/fixdfti.c: Likewise.
45962         * soft-fp/fixsfti.c: Likewise.
45963         * soft-fp/fixtfti.c: Likewise.
45964         * soft-fp/fixunsdfti.c: Likewise.
45965         * soft-fp/fixunssfti.c: Likewise.
45966         * soft-fp/fixunstfti.c: Likewise.
45967         * soft-fp/floattidf.c: Likewise.
45968         * soft-fp/floattisf.c: Likewise.
45969         * soft-fp/floattitf.c: Likewise.
45970         * soft-fp/floatuntidf.c: Likewise.
45971         * soft-fp/floatuntisf.c: Likewise.
45972         * soft-fp/floatuntitf.c: Likewise.
45973         * soft-fp/trunctfxf2.c: Likewise.
45975 2013-10-10  David S. Miller  <davem@davemloft.net>
45977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45979 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45981         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45982         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45983         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45984         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45985         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45986         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45987         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45989         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45990         for NaNs before doing comparisons on argument.
45991         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45992         Likewise.
45994 2013-10-10  Will Newton  <will.newton@linaro.org>
45996         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45997         passed to _int_memalign does not overflow.
45999 2013-10-10  Torvald Riegel  <triegel@redhat.com>
46001         * scripts/bench.pl: Add include-sources directive.
46002         * benchtests/README: Update documentation.
46004 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
46006         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
46007         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
46008         instead of FP_INIT_ROUNDMODE.
46009         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
46010         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
46012         [BZ #16034]
46013         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
46014         copy class of input value.
46015         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
46016         not handle exceptions.
46017         * soft-fp/negsf2.c (__negsf2): Likewise.
46018         * soft-fp/negtf2.c (__negtf2): Likewise.
46019         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
46021 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
46023         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
46024         semicolon.  From Linux kernel.
46026 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
46028         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
46030 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
46032         [BZ #156]
46033         * manual/socket.texi: Added statement about buffer
46034         for gethostbyname2_r.
46036 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
46038         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
46039         Use .p2align directive instead, throughout.
46040         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
46041         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
46042         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
46043         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
46044         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
46045         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
46046         * sysdeps/x86_64/strchr.S: Likewise.
46047         * sysdeps/x86_64/strrchr.S: Likewise.
46049 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46051         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
46053         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
46055         * sysdeps/generic/math_private.h (__mpsin1): Remove
46056         declaration.
46057         (__mpcos1): Likewise.
46058         (__mpsin): New argument __range_reduce.
46059         (__mpcos): Likewise.
46060         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46061         (slow): Use __mpsin and __mpcos.
46062         (slow1): Likewise.
46063         (slow2): Likewise.
46064         (sloww): Likewise.
46065         (sloww1): Likewise.
46066         (sloww2): Likewise.
46067         (bsloww): Likewise.
46068         (bsloww1): Likewise.
46069         (bsloww2): Likewise.
46070         (cslow2): Likewise.
46071         (csloww): Likewise.
46072         (csloww1): Likewise.
46073         (csloww2): Likewise.
46074         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
46075         range_reduce.  Merge in __mpsin1.
46076         (__mpcos): Likewise.
46077         (__mpsin1): Remove.
46078         (__mpcos1): Likewise.
46080 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
46082         * locale/loadlocale.c (_nl_intern_locale_data): Use
46083         LOCFILE_ALIGNED_P.
46084         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
46085         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
46086         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
46087         obstack data is appropriately aligned.
46088         (obstack_int32_grow_fast): Likewise.
46089         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
46090         * locale/programs/locfile.c (add_locale_uint32): Likewise.
46091         (add_locale_uint32_array): Likewise.
46093 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46095         * benchtests/Makefile: Remove ARGLIST and RET variables.
46096         ($(objpfx)bench-%.c): Pass only function name to the script.
46097         * benchtests/README: Update documentation.
46098         * benchtests/acos-inputs: Add new directives.
46099         * benchtests/acosh-inputs: Likewise.
46100         * benchtests/asin-inputs: Likewise.
46101         * benchtests/asinh-inputs: Likewise.
46102         * benchtests/atan-inputs: Likewise.
46103         * benchtests/atanh-inputs: Likewise.
46104         * benchtests/cos-inputs: Likewise.
46105         * benchtests/cosh-inputs: Likewise.
46106         * benchtests/exp-inputs: Likewise.
46107         * benchtests/log-inputs: Likewise.
46108         * benchtests/pow-inputs: Likewise.
46109         * benchtests/rint-inputs: Likewise.
46110         * benchtests/sin-inputs: Likewise.
46111         * benchtests/sinh-inputs: Likewise.
46112         * benchtests/tan-inputs: Likewise.
46113         * benchtests/tanh-inputs: Likewise.
46114         * scripts/bench.pl: Add support for new directives.
46116 2013-10-07  Alan Modra  <amodra@gmail.com>
46118         * README: Fix careless merge.
46120 2013-10-05  Alan Modra  <amodra@gmail.com>
46122         * NEWS: Mention powerpc64le support and bugs fixed.
46123         * README: Both big-endian and little-endian powerpc64 supported.
46125 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46127         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
46128         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
46129         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
46130         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
46132 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
46134         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
46135         match prototype.
46137 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
46139         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
46140         Move -mhard-float appending from
46141         ports/sysdeps/powerpc/powerpc32/Makefile.
46142         [$(with-fp) = yes] (ASFLAGS): Likewise.
46143         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
46144         * sysdeps/powerpc/nofpu: Move directory from
46145         ports/sysdeps/powerpc/nofpu.
46146         * sysdeps/powerpc/soft-fp: Move directory from
46147         ports/sysdeps/powerpc/soft-fp.
46148         * sysdeps/powerpc/powerpc32/405: Move directory from
46149         ports/sysdeps/powerpc/powerpc32/405.
46150         * sysdeps/powerpc/powerpc32/440: Move directory from
46151         ports/sysdeps/powerpc/powerpc32/440.
46152         * sysdeps/powerpc/powerpc32/464: Move directory from
46153         ports/sysdeps/powerpc/powerpc32/464.
46154         * sysdeps/powerpc/powerpc32/476: Move directory from
46155         ports/sysdeps/powerpc/powerpc32/476.
46156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
46157         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
46158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
46159         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
46160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
46161         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
46162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
46163         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
46164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
46165         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
46166         * README: Update for powerpc-*-linux-gnu software floating point
46167         support in libc.
46169         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
46170         case to powerpc/powerpc32*.
46171         * sysdeps/unix/sysv/linux/configure: Regenerated.
46173         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
46174         (_FPU_MASK_OM): Define as 0x04.
46175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
46176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
46177         0x00c10080.
46178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
46179         0x0000003c.
46180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
46183         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46184         getcontext_e500.
46185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
46186         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
46187         setcontext_e500.
46188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
46189         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
46190         and setcontext_e500.
46192 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
46194         * locale/iso-3166.def: Update iso-1366.def and related occurrences
46196 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46198         * manual/threads.texi (Default Thread Attributes): Fix typo.
46200 2013-10-04  Will Newton  <will.newton@linaro.org>
46202         * malloc/Makefile: Add tst-memalign.
46203         * malloc/tst-memalign.c: New file.
46205         * malloc/tst-posix_memalign.c: Add comments.
46206         (do_test): Add comments and call free on all potentially
46207         allocated pointers. Add space after cast.
46209         * malloc/tst-pvalloc.c: Add comments.
46210         (do_test): Add comments and call free on all potentially
46211         allocated pointers. Remove duplicate check for NULL pointer.
46212         Add space after cast.
46214         * malloc/tst-valloc.c: Add comments.
46215         (do_test): Add comments and call free on all potentially
46216         allocated pointers. Remove duplicate check for NULL pointer.
46217         Add space after cast.
46219 2013-10-04  Alan Modra  <amodra@gmail.com>
46221         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46222         Use stdint types in rather than __attribute__((mode())).
46223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46225 2013-10-04  Alan Modra  <amodra@gmail.com>
46227         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46228         Correct handling of unaligned relocs for little-endian.
46229         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46231 2013-10-04  Alan Modra  <amodra@gmail.com>
46233         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
46234         * configure: Regenerate.
46235         * nptl/shlib-versions: Powerpc*le starts at 2.18.
46236         * shlib-versions: Likewise.
46238 2013-10-04  Alan Modra  <amodra@gmail.com>
46240         * string/tester.c (test_memrchr): Increment reported test cycle.
46242 2013-10-04  Alan Modra  <amodra@gmail.com>
46244         * string/test-memcpy.c (do_one_test): When reporting errors, print
46245         string address and don't overrun end of string.
46247 2013-10-04  Alan Modra  <amodra@gmail.com>
46249         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
46250         insrdi.  Make better use of reg selection to speed exit slightly.
46251         Schedule entry path a little better.  Remove useless "are we done"
46252         checks on entry to main loop.  Handle wrapping around zero address.
46253         Correct main loop count.  Handle single left-over word from main
46254         loop inline rather than by using loop_small.  Remove extra word
46255         case in loop_small caused by wrong loop count.  Add little-endian
46256         support.
46257         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
46258         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
46259         cache hint.
46260         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
46261         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
46262         support.  Avoid rlwimi.
46263         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
46265 2013-10-04  Alan Modra  <amodra@gmail.com>
46267         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
46268         insrdi.  Formatting.
46269         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
46270         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46271         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46272         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
46273         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46274         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
46276 2013-10-04  Alan Modra  <amodra@gmail.com>
46278         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
46279         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46280         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46281         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
46282         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
46283         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
46284         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46285         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
46286         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
46287         use of regs.  Use power7 mtocrf.  Tidy function tails.
46289 2013-10-04  Alan Modra  <amodra@gmail.com>
46291         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
46292         Formatting.  Consistently use rXXX register defines or rN defines.
46293         Use early exit labels that avoid restoring unused non-volatile regs.
46294         Make cr field use more consistent with rWORDn compares.  Rename
46295         regs used as shift registers for unaligned loop, using rN defines
46296         for short lifetime/multiple use regs.
46297         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
46298         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
46299         addi 1,1,64 to pop stack frame.  Simplify return value code.
46300         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46302 2013-10-04  Alan Modra  <amodra@gmail.com>
46304         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
46305         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
46306         rather than rlwimi.
46307         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
46308         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
46309         little-endian support.  Correct typos.
46310         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
46311         rather than rlwimi.
46312         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
46313         in loop and entry code to keep "and." results.
46314         (strchr): Add little-endian support.  Comment.  Move cntlzd
46315         earlier in tail.
46316         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
46318 2013-10-04  Alan Modra  <amodra@gmail.com>
46320         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46321         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
46322         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
46323         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
46325 2013-10-04  Alan Modra  <amodra@gmail.com>
46327         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
46328         (rTMP): Define as r11.
46329         (strcmp): Add little-endian support.  Optimise tail.
46330         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
46331         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
46332         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
46333         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
46334         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
46335         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
46336         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
46338 2013-10-04  Alan Modra  <amodra@gmail.com>
46340         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
46341         little-endian support.  Remove unnecessary "are we done" tests.
46342         Handle "s" wrapping around zero and extremely large "size".
46343         Correct main loop count.  Handle single left-over word from main
46344         loop inline rather than by using small_loop.  Correct comments.
46345         Delete "zero" tail, use "end_max" instead.
46346         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46348 2013-10-04  Alan Modra  <amodra@gmail.com>
46350         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
46351         support.  Don't branch over align.
46352         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
46353         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
46354         support.  Rearrange tmp reg use to suit.  Comment.
46355         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
46357 2013-10-04  Alan Modra  <amodra@gmail.com>
46359         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
46361 2013-10-04  Alan Modra  <amodra@gmail.com>
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
46364         conditional form of branch and link when obtaining pc.
46365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
46367 2013-10-04  Alan Modra  <amodra@gmail.com>
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
46370         HIWORD/LOWORD.
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
46372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
46374 2013-10-04  Alan Modra  <amodra@gmail.com>
46376         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
46377         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
46378         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
46379         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
46380         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46381         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46382         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
46383         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46384         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
46385         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
46387 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46388             Alistair Popple <alistair@ozlabs.au.ibm.com>
46389             Alan Modra <amodra@gmail.com>
46391         [BZ #15723]
46392         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
46393         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
46394         _dl_hwcap access for little-endian.
46395         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
46396         destroy vmx regs when saving unaligned.
46397         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
46398         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
46399         destroy vmx regs when saving unaligned.
46401 2013-10-04  Alan Modra  <amodra@gmail.com>
46403         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
46404         Don't use a union to pack hi/low value.
46406 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46408         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
46409         for little-endian.
46410         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
46411         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
46412         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
46413         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
46414         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
46416 2013-10-04  Alan Modra  <amodra@gmail.com>
46418         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46419         constants to usual value for .cst8 section, and remove redundant
46420         high address load.
46421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
46422         constant for 0x1p52.  Load little-endian words of double from
46423         correct stack offsets.
46425 2013-10-04  Alan Modra  <amodra@gmail.com>
46427         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
46428         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
46429         words of double from correct stack offsets.
46430         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
46431         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
46432         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
46433         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
46434         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
46435         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
46436         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
46437         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
46438         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
46439         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
46440         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
46441         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
46442         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46443         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46444         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46445         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
46446         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
46448 2013-10-04  Alan Modra  <amodra@gmail.com>
46450         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
46451         64-bit int/double union.
46452         (_FPU_SETCW): Likewise.
46453         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
46454         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
46456 2013-10-04  Alan Modra  <amodra@gmail.com>
46458         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
46459         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
46461 2013-10-04  Alan Modra  <amodra@gmail.com>
46463         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
46464         use vector int constants.
46465         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
46467 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46469         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
46470         array with long long.
46471         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
46472         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
46473         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46474         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46475         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46476         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46477         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46478         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46479         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46480         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46481         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46482         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46483         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46485 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46487         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46488         (__signbit): Likewise.  Correct for little-endian.
46489         (__signbitl): Call __signbit.
46490         (lrint): Correct for little-endian.
46491         (lrintf): Call lrint.
46493 2013-10-04  Alan Modra  <amodra@gmail.com>
46495         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46496         union 32-bit int array member with 64-bit int array.
46497         (t515, tm256): Double rather than long double.
46498         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46500 2013-10-04  Alan Modra  <amodra@gmail.com>
46502         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46503         Delete.
46504         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46505         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46506         version of math_ldbl.h.
46508 2013-10-04  Alan Modra  <amodra@gmail.com>
46510         [BZ #15734], [BZ #15735]
46511         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46512         all uses of ieee875 long double macros and unions.  Simplify test
46513         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46514         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46515         normalize after ldbl_extract_mantissa, and don't add hidden bit
46516         already handled.  Don't treat low word of ieee854 mantissa like
46517         low word of IBM long double and mask off bit when testing for
46518         zero.
46519         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46520         all uses of ieee875 long double macros and unions.  Simplify tests
46521         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46522         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46523         two1022, instead use their values.  Recognise that tests for large
46524         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46525         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46526         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46527         test for 0.0L and nan.  Correct negation.
46528         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46529         ieee875 long double macros and unions.  Correct output for large
46530         magnitude x.  Correct absolute value calculation.
46531         (__erfcl): Likewise.
46532         * math/libm-test.inc: Add tests for errors discovered in IBM long
46533         double versions of fmodl, remainderl, erfl and erfcl.
46535 2013-10-04  Alan Modra  <amodra@gmail.com>
46537         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46538         all uses of ieee854 long double macros and unions.  Simplify tests
46539         for long doubles that are fully specified by the high double.
46540         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46541         Likewise.
46542         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46543         Remove dead code too.
46544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46545         (__ieee754_ynl): Likewise.
46546         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46547         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46548         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46549         Remove dead code too.
46550         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46551         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46552         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46553         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46554         Simplify.
46555         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46556         Simplify.
46557         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46558         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46559         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46560         Comment on variable precision.
46561         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46562         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46563         Likewise.
46564         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46565         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46566         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46567         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46568         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46570 2013-10-04  Alan Modra  <amodra@gmail.com>
46572         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46573         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46574         all uses of ieee854 long double macros and unions.
46575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46577         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46578         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46579         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46580         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46581         Likewise.
46582         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46583         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46584         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46585         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46586         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46587         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46588         Simplify sign and nan test too.
46589         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46590         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46591         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46592         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46593         Likewise.
46594         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46595         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46596         Likewise.
46597         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46598         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46599         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46600         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46601         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46604 2013-10-04  Alan Modra  <amodra@gmail.com>
46606         * stdio-common/printf_size.c (__printf_size): Don't use
46607         union ieee854_long_double in fpnum union.
46608         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46609         signbit macro to retrieve sign from long double.
46610         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46611         retrieve sign from long double.
46612         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46613         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46614         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46615         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46616         * math/test-misc.c (main): Don't use union ieee854_long_double.
46618 2013-10-04  Alan Modra  <amodra@gmail.com>
46620         [BZ #15680]
46621         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46622         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46623         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46624         calculation.  Remove unnecessary test for denormal exponent.
46625         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46626         Correct handling of denormals.  Avoid undefined shift behaviour.
46627         Correct normalisation of low mantissa when low double is denormal.
46628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46629         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46630         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46631         Correct normalisation of low mantissa.  Test for overflow of high
46632         mantissa and normalise.
46633         (ldbl_nearbyint): Use more readable constant for two52.
46634         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46635         (__mpn_construct_long_double): Fix test for overflow of high
46636         mantissa and correct normalisation.  Avoid undefined shift.
46638 2013-10-04  Alan Modra  <amodra@gmail.com>
46640         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46641         (union ibm_extended_long_double): Define as an array of ieee754_double.
46642         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46643         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46644         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46645         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46646         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46647         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46648         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46649         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46650         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46651         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46652         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46654 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46656         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46657         page size instead of calling getpagesize.
46659         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46660         (LOCFILE_ALIGN_MASK): Likewise.
46661         (LOCFILE_ALIGN_UP): Likewise.
46662         (LOCFILE_ALIGNED_P): Likewise.
46663         * locale/programs/ld-collate.c (collate_output): Use the new
46664         macros instead of __alignof__ (int32_t).
46665         * locale/weight.h (findidx): Likewise.
46667 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46669         [BZ #431]
46670         * manual/string.texi: Fix strncat and wcsncat.
46672 2013-10-03  Brooks Moses  <bmoses@google.com>
46674         [BZ #15915]
46675         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46676         * Makerules: ...here, and adjust associated comments.
46678 2013-10-02  Will Newton  <will.newton@linaro.org>
46680         * malloc/Makefile: Add tst-pvalloc.
46681         * malloc/tst-pvalloc.c: New file.
46683 2013-10-02  Will Newton  <will.newton@linaro.org>
46685         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46686         improve test coverage.
46688 2013-10-02  Will Newton  <will.newton@linaro.org>
46690         * malloc/Makefile: Add tst-posix_memalign.
46691         * malloc/tst-posix_memalign.c: New file.
46693 2013-10-01  Eric Blake  <eblake@redhat.com>
46695         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46696         Use __THROWNL rather than __THROW on static functions.
46698 2013-09-30  Petr Machata  <pmachata@redhat.com>
46700         * elf/elf.h (R_AARCH64_ABS16): New macro.
46701         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46702         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46703         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46704         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46705         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46706         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46707         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46708         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46709         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46710         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46711         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46712         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46713         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46714         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46715         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46716         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46717         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46718         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46719         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46720         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46721         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46722         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46723         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46724         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46725         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46726         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46727         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46728         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46729         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46730         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46731         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46732         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46733         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46734         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46735         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46736         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46737         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46738         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46739         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46740         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46741         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46742         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46743         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46744         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46745         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46746         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46747         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46748         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46749         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46750         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46751         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46752         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46753         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46754         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46755         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46756         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46757         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46758         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46759         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46760         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46761         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46762         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46763         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46764         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46765         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46766         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46767         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46768         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46769         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46770         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46771         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46772         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46773         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46774         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46775         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46776         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46777         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46778         (R_AARCH64_TLSDESC_LDR): Likewise.
46779         (R_AARCH64_TLSDESC_ADD): Likewise.
46780         (R_AARCH64_TLSDESC_CALL): Likewise.
46782 2013-09-30  Andreas Schwab  <schwab@suse.de>
46784         [BZ #15048]
46785         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46786         the nss database lookup.
46787         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46790 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46792         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46794 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46796         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46797         ${Bash-specific parameter/pattern/string} parameter expansion.
46798         * sysdeps/unix/make-syscalls.sh: Likewise.
46800 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46802         * sysdeps/sh/stackguard-macros.h: New file.
46804 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46808         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46809         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46810         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46811         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46813 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46815         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46816         Fix thread ID register.
46818 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46820         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46821         [POSIX || UNIX98]: Require rather than permitting all symbols from
46822         <time.h>.
46823         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46824         element of struct sched_param.
46825         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46826         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46827         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46828         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46829         constant.
46831 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46833         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46834         argument calculation.
46836 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46838         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46839         Expect macro.
46840         [POSIX] (pthread_attr_t): Do not require type.
46841         [POSIX] (pthread_cond_t): Likewise.
46842         [POSIX] (pthread_condattr_t): Likewise.
46843         [POSIX] (pthread_key_t): Likewise.
46844         [POSIX] (pthread_mutex_t): Likewise.
46845         [POSIX] (pthread_mutexattr_t): Likewise.
46846         [POSIX] (pthread_once_t): Likewise.
46847         [POSIX] (pthread_t): Likewise.
46848         [POSIX-based standards] (pthread_atfork): Expect function.
46850 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46851             Richard Sandiford  <richard@codesourcery.com>
46853         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46854         (swap_endianness_p): New extern variable.
46855         (set_big_endian): New inline function.
46856         (maybe_swap_uint32): Likewise.
46857         (maybe_swap_uint32_array): Likewise.
46858         (maybe_swap_uint32_obstack): Likewise.
46859         * locale/programs/locfile.c: Include <stdbool.h>.
46860         (swap_endianness_p): New variable.
46861         (add_locale_uint32): Call maybe_swap_uint32.
46862         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46863         (write_locale_data): Call maybe_swap_uint32_array.
46864         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46865         maybe_swap_uint32.
46866         (obstack_int32_grow_fast): Likewise.
46867         (output_weightwc): Call maybe_swap_uint32_obstack.
46868         (collate_output): Likewise.
46869         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46870         (OPT_LITTLE_ENDIAN): Likewise.
46871         (options): Add --little-endian and --big-endian options.
46872         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46873         * locale/programs/locarchive.c: Include "locfile.h".
46874         (GET): New macro.
46875         (SET): Likewise.
46876         (INC): Likewise.
46877         (create_archive): Use the new macros to access fields of
46878         structures directly mapped from or written to locale archives.
46879         (oldlocrecentcmp): Likewise.
46880         (enlarge_archive): Likewise.
46881         (insert_name): Likewise.
46882         (add_alias): Likewise.
46883         (add_locale): Likewise.
46884         (delete_locales_from_archive): Likewise.
46885         (show_archive_content): Likewise.
46886         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46887         locale data.
46889 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46891         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46892         http://www.gnu.org/doc/freemanuals.texi.
46893         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46895 2013-09-24  Will Newton  <will.newton@linaro.org>
46897         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46898         macro.
46900 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46902         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46903         unsigned char.
46905 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46907         * manual/threads.texi (POSIX Threads): Fix a typo.
46909 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46911         [BZ #14547]
46912         * string/tst-strcoll-overflow.c: New test case.
46913         * string/Makefile (xtests): Add tst-strcoll-overflow.
46914         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46915         cache if string sizes may cause integer overflow.
46917         [BZ #14547]
46918         * string/strcoll_l.c (coll_seq): New members rule, idx,
46919         save_idx and back_us.
46920         (get_next_seq_nocache): New function.
46921         (do_compare_nocache): New function.
46922         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46923         when malloc fails.
46925 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46927         [BZ #15754]
46928         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46929         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46930         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46932         [BZ #15754]
46933         * elf/Makefile (tests): Add tst-ptrguard1.
46934         (tests-static): Add tst-ptrguard1-static.
46935         (tst-ptrguard1-ARGS): Define.
46936         (tst-ptrguard1-static-ARGS): Define.
46937         * elf/tst-ptrguard1.c: New file.
46938         * elf/tst-ptrguard1-static.c: New file.
46939         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46940         * sysdeps/i386/stackguard-macros.h: Likewise.
46941         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46942         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46943         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46944         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46945         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46946         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46948 2013-09-23  Hector Marco  <hecmargi@upv.es>
46949             Ismael Ripoll  <iripoll@disca.upv.es>
46950             Carlos O'Donell  <carlos@redhat.com>
46952         [BZ #15754]
46953         * sysdeps/generic/stackguard-macros.h: Define
46954         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46955         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46956         Define __pointer_chk_guard_local.
46957         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46958         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46960 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46962         [BZ #15859]
46963         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46965 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46967         * include/string.h (__ffs): Declare as hidden.
46968         * string/ffs.c (__ffs): Define as hidden.
46969         * sysdeps/i386/ffs.c (__ffs): Likewise.
46970         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46971         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46972         * sysdeps/s390/ffs.c (__ffs): Likewise.
46973         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46975 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46977         * NEWS: Mention malloc probes.
46979         * malloc/arena.c (new_heap): New memory_heap_new probe.
46980         (grow_heap): New memory_heap_more probe.
46981         (shrink_heap): New memory_heap_less probe.
46982         (heap_trim): New memory_heap_free probe.
46983         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46984         (systrim): New memory_sbrk_less probe.
46985         * manual/probes.texi: Document them.
46987         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46988         * manual/probes.texi: Document it.
46990         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46991         (__libc_realloc): Add memory_realloc_retry probe.
46992         (__libc_memalign): Add memory_memalign_retry probe.
46993         (__libc_valloc): Add memory_valloc_retry probe.
46994         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46995         (__libc_calloc): Add memory_calloc_retry probe.
46996         * manual/probes.texi: Document them.
46998         * malloc/arena.c (get_free_list): Add probe
46999         memory_arena_reuse_free_list.
47000         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
47001         and memory_arena_reuse.
47002         (arena_get2) [!PER_THREAD]: Likewise.
47003         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
47004         memory_arena_reuse_realloc.
47005         * manual/probes.texi: Document them.
47007         * malloc/malloc.c (__libc_free): Add
47008         memory_mallopt_free_dyn_thresholds probe.
47009         (__libc_mallopt): Add multiple memory_mallopt probes.
47010         * manual/probes.texi: Document them.
47012         * malloc/malloc.c: Include stap-probe.h.
47013         (__libc_mallopt): Add memory_mallopt probe.
47014         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
47015         * manual/probes.texi: New.
47016         * manual/Makefile (chapters): Add probes.
47017         * manual/threads.texi: Set next node.
47019 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
47021         [BZ #15963, #13985]
47022         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
47023         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
47024         Add `Chinese' to `nan' entry name.
47026 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47028         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
47029         (POLYNOMIAL): Likewise.
47030         (TAYLOR_SINCOS): Likewise.
47031         (TAYLOR_SLOW): Likewise.
47032         (__sin): Use TAYLOR_SINCOS.
47033         (__cos): Likewise.
47034         (slow): Use TAYLOR_SLOW.
47035         (sloww): Likewise.
47036         (bsloww): Likewise.
47037         (csloww): Likewise.
47039 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47041         * stdlib/strtod_l.c: Fix buffer overrun.
47043 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47045         * benchtests/Makefile (bench): Add sincos.
47046         * benchtests/bench-sincos.c: New file.
47048         * math/libm-test.inc (cos_test_data): New test inputs.
47049         (sin_test_data): Likewise.
47051         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
47052         macro.
47053         (__sin): Use it.
47054         (__cos): Likewise.
47055         (slow1): Likewise.
47056         (slow2): Likewise.
47057         (sloww1): Likewise.
47058         (sloww2): Likewise.
47059         (bsloww1): Likewise.
47060         (bsloww2): Likewise.
47061         (cslow2): Likewise.
47062         (csloww1): Likewise.
47063         (csloww2): Likewise.
47065         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
47066         function.
47067         (__sin): Use it.
47068         (__cos): Likewise.
47070         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
47071         gotos.
47072         (__cos): Likewise.
47074 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
47076         * config.h.in (HAVE_MIPS_NAN2008): New macro.
47077         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
47078         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
47079         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
47080         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
47081         * elf/cache.c (print_entry): Handle the new cache flags.
47083 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47084             Aldy Hernandez  <aldyh@redhat.com>
47086         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
47087         Change condition to [_SOFT_FLOAT].
47088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
47089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
47090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
47091         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
47092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
47093         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
47094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
47095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
47096         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
47097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
47098         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
47099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
47100         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
47101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
47102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
47103         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
47104         declaration.
47106 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
47108         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
47109         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47110         (__longjmp): Use LOAD_GP to load saved GPRs.
47111         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
47112         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
47113         (__sigsetjmp): Use SAVE_GP to save GPRs.
47115         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
47116         Do not append -msoft-float.
47117         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
47119 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47121         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
47123 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
47125         [BZ #15966]
47126         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
47127         (_FPU_GETCW): Use initial "__" on variable and field names but not
47128         on macro parameter name.
47129         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
47130         parentheses around reference to macro parameter.
47132 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
47134         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
47135         prototype.
47136         (ctype_startup): Use uint32_t in cast and sizeof for
47137         ctype->charnames.
47139 2013-09-11  Jia Liu  <proljc@gmail.com>
47141         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
47142         __daddr_t_defined.
47143         [__FreeBSD__]: Likewise.
47145 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
47147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
47148         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
47149         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
47150         (strchr): Remove __strchr_sse42 ifunc selection.
47151         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
47152         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
47154 2013-09-11  Will Newton  <will.newton@linaro.org>
47156         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
47157         parameter to RES. Remove hardcoded 1000 value.
47158         * benchtests/bench-skeleton.c (main): Pass RES parameter
47159         to TIMING_INIT and multiply result by 1000.
47161 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47165 2013-09-11  Andreas Schwab  <schwab@suse.de>
47167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
47168         if not defined.
47169         (O_TMPFILE) [__USE_GNU]: Define.
47170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
47171         Define.
47173 2013-09-11  Will Newton  <will.newton@linaro.org>
47175         [BZ #15857]
47176         * malloc/malloc.c (__libc_memalign): Check the value of bytes
47177         does not overflow.
47179 2013-09-11  Will Newton  <will.newton@linaro.org>
47181         [BZ #15856]
47182         * malloc/malloc.c (__libc_valloc): Check the value of bytes
47183         does not overflow.
47185 2013-09-11  Will Newton  <will.newton@linaro.org>
47187         [BZ #15855]
47188         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
47189         does not overflow.
47191 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
47193         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
47194         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47195         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47196         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47197         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47199 2013-09-10  Allan McRae  <allan@archlinux.org>
47201         [BZ #15748]
47202         * manual/arith.texi (Parsing of Floats): Clarify
47203         cross-reference.
47205         [BZ #15849]
47206         * manual/install.texi (Running make install): Mention
47207         --enable-pt-chown.
47208         * INSTALL: Regenerated.
47210 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
47212         * csu/init-first.c (_init): Remove the !SHARED condition around
47213         FPU control word initialization.
47214         * elf/dl-support.c (_dl_fpu_control): New variable.
47215         (_dl_aux_init) <AT_FPUCW>: Initialize it.
47216         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
47217         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
47218         * math/test-fpucw-static.c: New file.
47219         * math/test-fpucw-ieee.c: New file.
47220         * math/test-fpucw-ieee-static.c: New file.
47221         * math/Makefile (tests): Add `test-fpucw-ieee' and
47222         `$(tests-static)'.
47223         (tests-static): New variable.
47224         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
47225         dependency to...
47226         [($(build-shared),yes)]
47227         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
47228         ... this.
47229         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
47230         New dependency.
47232 2013-09-09  Allan McRae  <allan@archlinux.org>
47234         [BZ #15939]
47235         * manual/string.texi (Collation Functions): Fix typo in
47236         strcoll example.
47237         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
47239         [BZ #15893]
47240         * stdlib/isomac.c (get_null_defines): Fix memory leak.
47242         [BZ #15892]
47243         * libio/memstream.c (open_memstream): Fix memory leak.
47244         * libio/wmemstream.c (open_wmemstream): Likewise.
47246         [BZ #15895]
47247         * nscd/netgroupcache.c: Fix nesting of ifdefs.
47249 2013-09-09  Will Newton  <will.newton@linaro.org>
47251         * malloc/Makefile: Add tst-realloc to tests.
47252         * malloc/tst-realloc.c: New file.
47254 2013-09-09  Allan McRae  <allan@archlinux.org>
47256         [BZ #15844]
47257         * COPYING: Update from GNU website to fix FSF address.
47258         * COPYING.LIB: Likewise.
47260 2013-09-06  David S. Miller  <davem@davemloft.net>
47262         * po/zh_TW.po: Update Chinese (traditional) translation from
47263         translation project.
47265 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
47266             Joseph Myers  <joseph@codesourcery.com>
47268         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
47269         "localeinfo.h".
47270         (obstack_chunk_alloc): New macro.
47271         (obstack_chunk_free): Likewise.
47272         (record_offset): New function.
47273         (init_locale_data): Likewise.
47274         (align_locale_data): Likewise.
47275         (add_locale_empty): Likewise.
47276         (add_locale_raw_data): Likewise.
47277         (add_locale_raw_obstack): Likewise.
47278         (add_locale_string): Likewise.
47279         (add_locale_wstring): Likewise.
47280         (add_locale_uint32): Likewise.
47281         (add_locale_uint32_array): Likewise.
47282         (add_locale_char): Likewise.
47283         (start_locale_structure): Likewise.
47284         (end_locale_structure): Likewise.
47285         (start_locale_prelude): Likewise.
47286         (end_locale_prelude): Likewise.
47287         (write_locale_data): Take locale_file structure rather than an
47288         iovec.
47289         * locale/programs/locfile.h: Include "obstack.h".
47290         (struct locale_file): Change to store locale file contents instead
47291         of header.
47292         (init_locale_data): New prototype.
47293         (align_locale_data): Likewise.
47294         (add_locale_empty): Likewise.
47295         (add_locale_raw_data): Likewise.
47296         (add_locale_raw_obstack): Likewise.
47297         (add_locale_string): Likewise.
47298         (add_locale_wstring): Likewise.
47299         (add_locale_uint32): Likewise.
47300         (add_locale_uint32_array): Likewise.
47301         (add_locale_char): Likewise.
47302         (start_locale_structure): Likewise.
47303         (end_locale_structure): Likewise.
47304         (start_locale_prelude): Likewise.
47305         (end_locale_prelude): Likewise.
47306         (write_locale_data): Update prototype.
47307         * locale/programs/3level.h (struct TABLE): Remove result field.
47308         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
47309         Use new locale_file interface.
47310         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
47311         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
47312         * locale/programs/ld-address.c (address_output): Use new
47313         locale_file interface.
47314         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
47315         NO_ADD_LOCALE.
47316         (collate_finish): Don't call collseq_table_finalize.
47317         (collate_output): Use new locale_file interface.
47318         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
47319         in file.
47320         (NO_FINALIZE): Change to NO_ADD_LOCALE.
47321         (TABLE): Move defines earlier in file.
47322         (ELEMENT): Likewise.
47323         (DEFAULT): Likewise.
47324         (wctrans_table_add): Move macro and inline function earlier in
47325         file.
47326         (struct wctype_table): Move type earlier in file.
47327         (add_locale_wctype_table): New static prototype.
47328         (struct locale_ctype_t): Use logical types instead of struct iovec
47329         pointers for members.
47330         (ctype_output): Use new locale_file interface.
47331         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
47332         new locale_file interface.
47333         (allocate_arrays): Update for use of new locale_file interface.
47334         * locale/programs/ld-identification.c (identification_output): Use
47335         new locale_file interface.
47336         * locale/programs/ld-measurement.c (measurement_output): Likewise.
47337         * locale/programs/ld-messages.c (messages_output): Likewise.
47338         * locale/programs/ld-monetary.c (monetary_output): Likewise.
47339         * locale/programs/ld-name.c (name_output): Likewise.
47340         * locale/programs/ld-numeric.c (numeric_output): Likewise.
47341         * locale/programs/ld-paper.c (paper_output): Likewise.
47342         * locale/programs/ld-telephone.c (telephone_output): Likewise.
47343         * locale/programs/ld-time.c (time_output): Likewise.
47345 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47347         * benchtests/Makefile: Add memrchr benchmark.
47348         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
47349         benchmark as memrchr.
47350         * benchtests/bench-memrchr-ifunc.c: New file.
47351         * benchtests/bench-memrchr.c: New file.
47353 2013-09-06   Will Newton  <will.newton@linaro.org>
47355         * benchtests/Makefile (string-bench): Add memcpy.
47357 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
47358             Cong Wang  <amwang@redhat.com>
47360         [BZ #15850]
47361         * sysdeps/unix/sysv/linux/bits/in.h
47362         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
47363         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
47364         before __USE_KERNEL_IPV6_DEFS uses.
47365         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
47366         IPPROTO_BEETPH.
47367         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
47368         sockaddr_in6, or ipv6_mreq.
47370 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47372         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
47373         memory access for final bytes in some large inputs.
47374         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
47376 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47378         * string/test-memrchr.c: New file.
47379         * string/test-memrchr-ifunc.c: New file.
47380         * string/Makefile: Add new memrchr testcase.
47382 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
47384         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
47385         fanotify_init returns EPERM.
47387 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47389         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
47390         errors.
47391         (top level): Treat second token from macro or constant entries for
47392         allowed headers as allowed.
47393         * include/complex.h: Condition internal declarations on
47394         [!_ISOMAC].
47395         * include/fenv.h: Condition include of <stdbool.h> and internal
47396         declarations on [!_ISOMAC].
47398 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
47400         [BZ #15923]
47401         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
47403 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
47405         * configure.in (--enable-versioning): Remove configure option.
47406         (libc_cv_asm_symver_directive): Remove configure test.
47407         (libc_cv_ld_version_script_option): Likewise.
47408         (VERSIONING): Remove variable and AC_SUBST.
47409         (DO_VERSIONING): Remove AC_DEFINE.
47410         * configure: Regenerated.
47411         * config.h.in (DO_VERSIONING): Remove macro.
47412         * Makerules [$(versioning) = yes]: Change conditionals to
47413         [$(build-shared) = yes].
47414         * config.make.in (versioning): Remove variable.
47415         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
47416         [$(build-shared) = yes].
47417         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
47418         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
47419         * elf/Makefile [$(versioning) = yes]: Change conditionals to
47420         [$(build-shared) = yes].
47421         * extra-lib.mk [$(versioning) = yes]: Likewise.
47422         * hurd/Makefile [$(versioning) = yes]: Likewise.
47423         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
47424         [SHARED].
47425         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
47426         [SHARED].
47427         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47428         [SHARED && !NO_HIDDEN].
47429         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
47430         [SHARED].
47431         [SHARED && DO_VERSIONING]: Likewise..
47432         * libio/Makefile [$(versioning) = yes]: Change conditionals to
47433         [$(build-shared) = yes].
47434         * manual/install.texi (--disable-versioning): Remove
47435         documentation.
47436         * INSTALL: Regenerated.
47437         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
47438         to [SHARED].
47439         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
47440         [$(build-shared) = yes].
47441         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
47442         * sysdeps/i386/i686/multiarch/strstr-c.c
47443         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
47444         [SHARED && !NO_HIDDEN].
47445         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
47446         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
47447         * sysdeps/powerpc/powerpc32/dl-machine.c
47448         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
47449         * sysdeps/powerpc/powerpc32/sysdep.h
47450         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
47451         to [SHARED && PIC && !NO_HIDDEN].
47452         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
47453         conditional to [SHARED].
47455 2013-09-04   Will Newton  <will.newton@linaro.org>
47457         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
47458         * benchtests/bench-string.h: Include bench-timing.h instead
47459         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
47460         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
47461         call to HP_TIMING_DIFF_INIT.
47462         * benchtests/bench-memccpy.c: Use bench-timing.h macros
47463         instead of hp-timing.h macros.
47464         * benchtests/bench-memchr.c: Likewise.
47465         * benchtests/bench-memcmp.c: Likewise.
47466         * benchtests/bench-memcpy.c: Likewise.
47467         * benchtests/bench-memmem.c: Likewise.
47468         * benchtests/bench-memmove.c: Likewise.
47469         * benchtests/bench-memset.c: Likewise.
47470         * benchtests/bench-rawmemchr.c: Likewise.
47471         * benchtests/bench-strcasecmp.c: Likewise.
47472         * benchtests/bench-strcasestr.c: Likewise.
47473         * benchtests/bench-strcat.c: Likewise.
47474         * benchtests/bench-strchr.c: Likewise.
47475         * benchtests/bench-strcmp.c: Likewise.
47476         * benchtests/bench-strcpy.c: Likewise.
47477         * benchtests/bench-strcpy_chk.c: Likewise.
47478         * benchtests/bench-strlen.c: Likewise.
47479         * benchtests/bench-strncasecmp.c: Likewise.
47480         * benchtests/bench-strncat.c: Likewise.
47481         * benchtests/bench-strncmp.c: Likewise.
47482         * benchtests/bench-strncpy.c: Likewise.
47483         * benchtests/bench-strnlen.c: Likewise.
47484         * benchtests/bench-strpbrk.c: Likewise.
47485         * benchtests/bench-strrchr.c: Likewise.
47486         * benchtests/bench-strspn.c: Likewise.
47487         * benchtests/bench-strstr.c: Likewise.
47489 2013-09-04  Will Newton  <will.newton@linaro.org>
47491         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47493 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47495         [BZ #15427]
47496         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47497         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47498         * math/libm-test.inc (lgamma_test_data): Add more tests.
47499         * sysdeps/i386/fpu/libm-test-ulps: Update.
47500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47502 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47504         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47506         Add ifunc.
47507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47508         Add strcmp-sse2-unaligned
47509         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47511 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47513         * Versions.def (libc): Add GLIBC_2.19.
47515 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47517         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47518         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47520 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47522         [BZ #14155]
47523         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47524         intermediate calculations in recurrence.
47525         (__ieee754_ynf): Likewise.
47526         * math/libm-test.inc (jn_test_data): Do not allow spurious
47527         underflow exception.  Add more tests.
47528         (yn_test_data): Add more tests.
47529         * sysdeps/i386/fpu/libm-test-ulps: Update.
47530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47532 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47534         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47536 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47538         * csu/init-first.c: Fix then/than typos.
47539         * locale/programs/ld-collate.c: Likewise.
47540         * locale/programs/linereader.h: Likewise.
47541         * manual/charset.texi: Likewise.
47542         * manual/filesys.texi: Likewise.
47543         * manual/stdio.texi: Likewise.
47544         * manual/string.texi: Likewise.
47545         * stdlib/fmtmsg.c: Likewise.
47546         * sysdeps/i386/stpncpy.S: Likewise.
47547         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47548         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47549         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47550         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47552 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47554         * elf/dl-open.c: Fix typos.
47555         * iconvdata/gbbig5.c: Likewise.
47556         * iconvdata/iso-2022-jp.c: Likewise.
47557         * iconv/gconv_int.h: Likewise.
47558         * iconv/loop.c: Likewise.
47559         * nis/rpcsvc/nis.h: Likewise.
47560         * resolv/ns_name.c: Likewise.
47561         * stdio-common/vfscanf.c: Likewise.
47562         * streams/stropts.h: Likewise.
47563         * sunrpc/rpc_thread.c: Likewise.
47564         * sysdeps/i386/strpbrk.S: Likewise.
47565         * sysdeps/ieee754/k_standard.c: Likewise.
47566         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47567         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47568         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47569         * sysdeps/mach/hurd/profil.c: Likewise.
47570         * sysdeps/s390/dl-procinfo.h: Likewise.
47571         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47573         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47574         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47575         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47577 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47579         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47582 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47584         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47585         aix specific files.
47586         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47587         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47588         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47589         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47590         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47591         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47592         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47593         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47595 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47596             Roland McGrath  <roland@hack.frob.com>
47598         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47599         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47601 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47603         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47604         __executable_start symbol instead of _start.
47606 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47608         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47609         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47610         Move macros to...
47611         * sysdeps/gnu/ldsodefs.h: ... this new file.
47613         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47614         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47615         instead of ELFOSABI_LINUX.
47617         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47618         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47619         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47620         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47621         Likewise.
47622         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47623         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47624         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47625         Likewise.
47626         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47627         (ibm_extended_long_double): Add ieee_nan member.
47628         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47629         (do_test): New function.
47631         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47632         TEST_TRUNC.
47633         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47634         functions, renamed from truncdfsf_test, trunctfsf_test,
47635         trunctfdf_test.
47636         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47637         functions.
47638         (do_test): Run all these.
47640 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47642         * argp/argp-help.c: Fix typos.
47643         * argp/argp-parse.c: Likewise.
47644         * debug/backtracesyms.c: Likewise.
47645         * elf/elf.h: Likewise.
47646         * malloc/malloc.c: Likewise.
47647         * nis/nis_print.c: Likewise.
47648         * resolv/res_comp.c: Likewise.
47649         * stdlib/stdlib.h: Likewise.
47650         * sunrpc/clnt_tcp.c: Likewise.
47651         * sunrpc/clnt_udp.c: Likewise.
47652         * sunrpc/clnt_unix.c: Likewise.
47653         * sysdeps/unix/bsd/ptsname.c: Likewise.
47654         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47655         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47657         Likewise.
47658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47659         Likewise.
47660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47661         Likewise.
47662         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47664 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47666         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47669 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47671         [BZ #15897]
47672         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47673         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47674         ($(objpfx)bug-dl-leaf): New rule.
47675         ($(objpfx)bug-dl-leaf.so): Likewise.
47676         ($(objpfx)bug-dl-leaf.out): Likewise.
47677         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47678         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47679         * dlfcn/bug-dl-leaf.c: New test.
47680         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47681         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47682         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47683         (dlclose): Likewise.
47684         (dlmopen): Likewise.
47686 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47688         * include/netdb.h [!_ISOMAC]:
47689         Don't include <tls.h>.
47690         (h_errno, __libc_h_errno): Move declaration and macros out of
47691         [_LIBC_REENTRANT].
47693         * include/resolv.h [_RESOLV_H_]:
47694         Don't include <tls.h>.
47695         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47696         * resolv/res_libc.c: Don't include <tls.h>.
47697         (_res): Use __attribute__ ((nocommon)) in place of
47698         __attribute__ ((section (".bss"))).
47700         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47701         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47703         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47705         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47706         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47708         * resolv/res_mkquery.c: Include <sys/time.h>.
47710         * inet/ifreq.c: Moved to ...
47711         * sysdeps/unix/ifreq.c: ... here.
47712         * inet/ifreq.c: New file, true stub version.
47714         * socket/sa_len.c: New file.
47715         * socket/Makefile (aux): Add it.
47716         * sysdeps/unix/sysv/linux/Makefile
47717         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47718         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47719         and #include <socket/sa_len.c>.
47720         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47721         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47723         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47724         * bits/socket.h: ... here.
47726         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47727         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47728         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47730 2013-08-27  Andreas Schwab  <schwab@suse.de>
47732         [BZ #15736]
47733         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47734         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47735         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47736         * string/test-strcasecmp.c (test_main): Run tests in several
47737         locales.
47738         * string/test-strncasecmp.c (test_main): Likewise.
47740         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47741         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47742         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47743         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47744         (__strncasecmp_ssse3) [PIC]: Likewise.
47746 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47748         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47750         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47751         instead of explicitly declaring xdecrypt.
47752         * nis/nss_nis/nis-publickey.c: Likewise.
47754 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47756         [BZ #15890]
47757         * nscd/aicache.c: Include res_hconf.h.
47758         (addhstaiX): Initialize res_hconf.
47760 2013-08-26  Andreas Schwab  <schwab@suse.de>
47762         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47763         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47765 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47767         * nscd/aicache.c (addhstaiX): Fix indentation.
47769 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47771         * configure.ac: Quote $build_pt_chown test.
47772         * configure: Regenerated.
47774 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47776         [BZ #15532]
47777         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47778         * math/s_cexpf.c (__cexpf): Likewise.
47779         * math/s_cexpl.c (__cexpl): Likewise.
47780         * math/libm-test.inc (cexp_test_data): Correct expected return
47781         value for NaN + i0.  Add another test.
47783 2013-08-22  David S. Miller  <davem@davemloft.net>
47785         * po/ca.po: Update Catalan translation from translation project.
47786         * po/uk.po: Add Ukrainian translations from translation project.
47788 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47790         [BZ #15797]
47791         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47792         is infinite, not alongside NaN test.
47793         * math/s_fdimf.c (__fdimf): Likewise.
47794         * math/s_fdiml.c (__fdiml): Likewise.
47795         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47796         errno is unchanged.
47798 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47800         * argp/argp-help.c: Fix typos.
47801         * crypt/speeds.c: Likewise.
47802         * csu/check_fds.c: Likewise.
47803         * elf/dl-load.c: Likewise.
47804         * elf/dl-open.c: Likewise.
47805         * elf/reldep3.c: Likewise.
47806         * elf/reldep.c: Likewise.
47807         * elf/sprof.c: Likewise.
47808         * iconv/iconv_charmap.c: Likewise.
47809         * iconv/skeleton.c: Likewise.
47810         * iconv/strtab.c: Likewise.
47811         * io/lockf64.c: Likewise.
47812         * libio/libioP.h: Likewise.
47813         * resolv/gai_notify.c: Likewise.
47814         * resolv/ns_name.c: Likewise.
47815         * resolv/ns_samedomain.c: Likewise.
47816         * resolv/res_send.c: Likewise.
47817         * stdlib/random.c: Likewise.
47818         * sunrpc/rpc/xdr.h: Likewise.
47819         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47820         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47821         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47822         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47823         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47824         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47825         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47826         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47827         * sysdeps/mach/hurd/check_fds.c: Likewise.
47828         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47829         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47830         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47831         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47832         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47833         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47834         * sysdeps/pthread/aio_notify.c: Likewise.
47835         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47836         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47837         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47838         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47839         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47841 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47843         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47844         version if bit_Slow_SSE4_2 is set.
47845         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47846         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47848 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47850         [BZ #15867]
47851         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47852         trampoline stack frame information.
47853         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47854         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47855         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47856         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47857         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47858         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47859         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47860         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47861         sa_flags value.
47862         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47863         interrupting a syscall and set with option SA_SIGINFO.
47865 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47867         [BZ #15531]
47868         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47869         argument is infinite.
47870         * math/s_cprojf.c (__cprojf): Likewise.
47871         * math/s_cprojl.c (__cprojl): Likewise.
47872         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47873         * math/libm-test.inc (cproj_test_data): Add more tests.
47875         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47877         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47878         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47879         size.  Use __ffs to determine corresponding shift.
47881 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47882             Roland McGrath  <roland@hack.frob.com>
47884         * Makefile (INSTALL): Remove trailing blank lines from output of
47885         makeinfo.
47887 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47889         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47890         Align 32 bit compat elf_greg to 8 bytes.
47892 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47894         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47896 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47898         * string/strcoll_l.c (coll_seq): New structure.
47899         (get_next_seq_cached): New function.
47900         (get_next_seq): New function.
47901         (do_compare): New function.
47902         (STRCOLL): Use GNU style definition.  Simplify implementation
47903         by using get_next_seq, get_next_seq_cached and do_compare.
47905 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47907         [BZ #14699]
47908         CVE-2013-4237
47909         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47910         member.
47911         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47912         member.
47913         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47914         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47915         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47916         conditional.
47917         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47918         GETDENTS_64BIT_ALIGNED.
47919         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47920         * manual/filesys.texi (Reading/Closing Directory): Document
47921         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47922         strongly.
47923         * manual/conf.texi (Limits for Files): Add portability note to
47924         NAME_MAX, PATH_MAX.
47925         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47927 2013-08-13  Andreas Schwab  <schwab@suse.de>
47929         [BZ #15749]
47930         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47931         of fabs.
47932         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47933         LDBL_MAX_EXP >= 16384]: Add tests for it.
47935 2013-08-12  David S. Miller  <davem@davemloft.net>
47937         * version.h (RELEASE): Set to "development".
47938         (VERSION): Set to "2.18.90".
47939         * NEWS: Add 2.19 section.
47941 2013-08-03  David S. Miller  <davem@davemloft.net>
47943         * po/ko.po: Update Korean translation from translation project.
47945 2013-08-01  David S. Miller  <davem@davemloft.net>
47947         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47948         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47949         Bilka.
47951 2013-07-30  David S. Miller  <davem@davemloft.net>
47953         * po/fr.po: Update French translation from translation project.
47955 2013-07-28  David S. Miller  <davem@davemloft.net>
47957         * po/cs.po: Update Czech translation from translation project.
47959         * po/sv.po: Update Swedish translation from translation project.
47961 2013-07-27  David S. Miller  <davem@davemloft.net>
47963         * po/eo.po: Update Esperanto translation from translation project.
47965         * po/vi.po: Update Vietnamese translation from translation project.
47967         * po/de.po: Update German translation from translation project.
47969 2013-07-26  David S. Miller  <davem@davemloft.net>
47971         * po/bg.po: Update Bulgarian translation from translation project.
47973         * po/nl.po: Update Dutch translation from translation project.
47974         * po/pl.po: Update Polish translation from translation project.
47975         * po/ru.po: Update Russian translation from translation project.
47977 2013-07-24  David S. Miller  <davem@davemloft.net>
47979         * po/libc.pot: Update.
47981 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47983         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47984         variable page size.
47985         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47986         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47987         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47989 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47991         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47993 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47994             Andreas Schwab  <schwab@suse.de>
47995             Roland McGrath  <roland@hack.frob.com>
47996             Joseph Myers  <joseph@codesourcery.com>
47997             Carlos O'Donell  <carlos@redhat.com>
47999         [BZ #15755]
48000         * config.h.in: Define HAVE_PT_CHOWN.
48001         * config.make.in (build-pt-chown): New variable.
48002         * configure.in (--enable-pt_chown): New configure option.
48003         * configure: Regenerate.
48004         * login/Makefile: Include Makeconfig.  Build pt_chown only if
48005         build-pt-chown is enabled.
48006         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
48007         pt_chown to fix pty ownership.
48008         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
48009         CLOSE_ALL_FDS.
48010         * manual/install.texi (Configuring and compiling): Mention
48011         --enable-pt_chown. Add @findex for grantpt.
48012         * INSTALL: Regenerate.
48014 2013-07-20  David S. Miller  <davem@davemloft.net>
48016         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
48017         difference between 32-bit and 64-bit.
48019 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
48021         [BZ #15711]
48022         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
48023         Avoid system header dependency with -ffreestanding.
48024         ($(objpfx)bits/syscall%d): Likewise.
48026 2013-07-13  David S. Miller  <davem@davemloft.net>
48028         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
48029         underflows from atanl/atan2l due to bug 15319.
48030         (casinh_test_data): Likewise.
48032 2013-07-07  David S. Miller  <davem@davemloft.net>
48034         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
48036 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
48038         * sysdeps/i386/fpu/libm-test-ulps: Update.
48039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48041 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48043         * configure.in (--enable-lock-elision): Fix message text.
48044         * INSTALL: Regenerate.
48045         * configure: Regenerate.
48047 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48049         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48051 2013-07-03  Andreas Jaeger  <aj@suse.de>
48053         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
48054         define.
48055         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
48056         (ptrace_peeksiginfo_args): Add.
48057         (__ptrace_peeksiginfo_flags): Add.
48058         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48059         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48060         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48062 2013-07-03  Allan McRae  <allan@archlinux.org>
48064         * sysdeps/i386/fpu/libm-test-ulps: Update.
48066 2013-07-02  David S. Miller  <davem@davemloft.net>
48068         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48070 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
48072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48074 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48076         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48079 2013-07-02  Andi Kleen <ak@linux.intel.com>
48081         * config.h.in (ENABLE_LOCK_ELISION): Add.
48082         * configure.in (--enable-lock-elision): Add option.
48083         * manual/install.texi: Document --enable lock elision.
48084         * configure: Regenerate
48085         * INSTALL: Regenerate.
48087 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
48089         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
48090         SSE4.2 strcasecmp for libc.a.
48091         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
48093 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
48095         [BZ #13304]
48096         * soft-fp/op-common.h (_FP_FMA): New macro.
48097         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
48098         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
48099         (_FP_MUL_MEAT_1_imm): ... here.
48100         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
48101         (_FP_MUL_MEAT_1_wide): ... here.
48102         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
48103         (_FP_MUL_MEAT_1_hard): ... here.
48104         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
48105         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
48106         (_FP_MUL_MEAT_2_wide): ... here.
48107         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
48108         (_FP_MUL_MEAT_2_wide_3mul): ... here.
48109         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
48110         (_FP_MUL_MEAT_2_gmp): ... here.
48111         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
48112         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
48113         (_FP_MUL_MEAT_4_wide): ... here.
48114         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
48115         (_FP_MUL_MEAT_4_gmp): ... here.
48116         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
48117         (_FP_WFRACBITS_DW_S): Likewise.
48118         (_FP_WFRACXBITS_DW_S): Likewise.
48119         (_FP_HIGHBIT_DW_S): Likewise.
48120         (FP_FMA_S): Likewise.
48121         (_FP_FRAC_HIGH_DW_S): Likewise.
48122         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
48123         (_FP_WFRACBITS_DW_D): Likewise.
48124         (_FP_WFRACXBITS_DW_D): Likewise.
48125         (_FP_HIGHBIT_DW_D): Likewise.
48126         (FP_FMA_D): Likewise.
48127         (_FP_FRAC_HIGH_DW_D): Likewise.
48128         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
48129         (_FP_WFRACBITS_DW_E): Likewise.
48130         (_FP_WFRACXBITS_DW_E): Likewise.
48131         (_FP_HIGHBIT_DW_E): Likewise.
48132         (FP_FMA_E): Likewise.
48133         (_FP_FRAC_HIGH_DW_E): Likewise.
48134         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
48135         (_FP_WFRACBITS_DW_Q): Likewise.
48136         (_FP_WFRACXBITS_DW_Q): Likewise.
48137         (_FP_HIGHBIT_DW_Q): Likewise.
48138         (FP_FMA_Q): Likewise.
48139         (_FP_FRAC_HIGH_DW_Q): Likewise.
48140         * soft-fp/fmasf4.c: New file.
48141         * soft-fp/fmadf4.c: Likewise.
48142         * soft-fp/fmatf4.c: Likewise.
48144 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48146         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
48147         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
48148         Silvermont.
48149         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
48150         macro.
48151         (index_Slow_SSE4_2): Likewise.
48152         (index_Prefer_PMINUB_for_stringop): Likewise.
48153         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
48154         bit_Slow_SSE4_2 is set.
48155         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
48156         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48158 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48160         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
48161         rtld_global._dl_hwcap2.
48162         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
48163         POWER8.
48164         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
48165         POWER8 feature descriptions defined in _dl_hwcap2.
48166         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
48167         string handling for POWER8 feature bits.
48168         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
48169         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
48170         _dl_powerpc_cap_flags.
48171         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
48172         * sysdeps/powerpc/rtld-global-offsets.sym
48173         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
48174         _dl_hwcap2 in the rtld_global_ro structure.
48176 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48178         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
48179         hardware capabilities in support of AT_HWCAP2.
48180         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
48181         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
48182         GLRO(dl_hwcap2).
48183         (_dl_show_auxv): Add support for calling _dl_procinfo to display
48184         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
48185         explicitly the unknown a_type display mechanism is used.
48186         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
48187         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
48188         struct member.
48189         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
48190         to macro prototype for AT_HWCAP2 support.
48191         * sysdeps/i386/dl-procinfo.h: Likewise.
48192         * sysdeps/s390/dl-procinfo.h: Likewise.
48193         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
48194         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
48195         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
48196         return -1 for unknown a_type display fallback.
48197         * sysdeps/sparc/dl-procinfo.h: Likewise.
48198         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
48199         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
48201 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
48203         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
48204         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
48206 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
48208         [BZ #12492]
48209         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
48210         mprotect making __stack_prot writable.
48212 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
48213             Joseph Myers  <joseph@codesourcery.com>
48215         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
48216         as being properly aligned.
48218 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
48220         * dlfcn/modstatic5.c: New file.
48221         * dlfcn/tststatic5.c: New file.
48222         * dlfcn/Makefile (tests): Add tststatic5.
48223         (tests-static): Likewise.
48224         (modules-names): Add modstatic5.
48225         (tststatic5-ENV): New variable.
48226         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
48228         [BZ #15022]
48229         * elf/dl-support.c (_dl_main_map): New variable.
48230         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
48231         (_dl_nns, _dl_load_adds): Set to 1.
48232         (_dl_initial_searchlist): Refer to _dl_main_map.
48233         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
48234         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
48235         call to _dl_get_origin.
48236         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
48237         around call_map.
48238         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
48239         * dlfcn/modstatic3.c: New file.
48240         * dlfcn/tststatic3.c: New file.
48241         * dlfcn/tststatic4.c: New file.
48242         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
48243         (tests-static): Likewise.
48244         (modules-names): Add modstatic3.
48245         (tststatic3-ENV, tststatic4-ENV): New variables.
48246         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
48247         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
48249 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
48251         * configure.in (CC): Require GCC version 4.4 or later.
48252         * configure: Regenerated.
48253         * manual/install.texi (Tools for Compilation): Update GCC version
48254         requirement.
48255         * INSTALL: Regenerated.
48257 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48259         [BZ #15674]
48260         * string/test-memcmp.c (check2): New.
48261         (main): Call check2.
48263         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
48265 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
48267         [BZ #15022]
48268         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
48269         over to...
48270         (dl_open_worker) [!SHARED]: ... here.
48272 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48274         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
48276 2013-06-25  Richard Henderson  <rth@redhat.com>
48278         * locale/programs/locarchive.c: Include <libc-internal.h>
48280 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
48282         * manual/texinfo.tex: Update to version 2013-06-21.17, with
48283         trailing whitespace removed.
48285 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48287         [BZ #10283]
48288         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
48289         * locale/programs/locarchive.c: Include libc-mmap.h.
48290         (prepare_address_space): Take two new outputs (the mmap base and len).
48291         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
48292         values.
48293         (create_archive): Declare new mmap base and len values for
48294         prepare_address_space, and store the result in ah.
48295         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
48296         (enlarge_archive): If ah->mmap_base is not NULL, use that and
48297         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48298         Declare new mmap base and len values for
48299         prepare_address_space, and store the result in new_ah.
48300         (open_archive): Declare new mmap base and len values for
48301         prepare_address_space, and store the result in ah.
48302         (close_archive): If ah->mmap_base is not NULL, use that and
48303         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48304         * sysdeps/generic/libc-mmap.h: New file.
48306 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
48308         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
48309         (ALIGN_UP): Likewise.
48310         (PTR_ALIGN_DOWN): Likewise.
48311         (PTR_ALIGN_UP): Likewise.
48313 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
48316         entry mapped to PPC_PLATFORM_POWER8.
48317         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
48318         POWER8.
48319         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
48320         (_dl_string_platform): Add case for exporting platform position for
48321         POWER8.
48322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
48323         search path to sysdeps/powerpc/powerpc32/power8 directory.
48324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
48325         search path to sysdeps/powerpc/powerpc64/power8 directory.
48326         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
48327         power7 directories.
48328         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
48329         power7 directories.
48331 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48333         * INSTALL: Regenerate.
48335         * nscd/connections.c (nscd_init): Fix comment.
48337 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
48339         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
48341         [BZ #15667]
48342         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
48343         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
48345 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48347         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
48348         DL_DST_REQ_STATIC.
48349         (DL_DST_REQ_STATIC): Remove macro.
48351 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
48353         [BZ #7006]
48354         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
48355         with a shift of 0 bits.
48357 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
48359         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
48360         $(tststatic-ENV).
48362 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48364         [BZ #15655]
48365         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
48367 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48369         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
48370         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
48371         accepts -fno-tree-loop-distribute-patterns.
48372         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
48373         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
48374         recursive call.
48375         * string/memset.c (memset): Likewise.
48376         * string/test-memmove.c (simple_memmove): Disable loop transformation
48377         to library calls.
48378         * string/test-memset.c (simple_memset): Likewise.
48379         * benchtests/bench-memmove.c (simple_memmove): Likewise.
48380         * benchtests/bench-memset.c (simple_memset): Likewise.
48381         * configure: Regenerated.
48383 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
48385         * math/test-misc.c (main): Ignore fesetround failure when failures
48386         of subsequent rounding tests would be ignored.
48388         [BZ #15654]
48389         * math/fedisblxcpt.c (fedisableexcept): Return 0.
48390         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
48391         * math/fegetenv.c (__fegetenv): Return 0.
48392         * math/fegetexcept.c (fegetexcept): Return 0.
48393         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
48394         FE_TONEAREST.
48395         * math/feholdexcpt.c (feholdexcept): Return 0.
48396         * math/fesetenv.c (__fesetenv): Return 0.
48397         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
48398         argument FE_TONEAREST.
48399         * math/feupdateenv.c (__feupdateenv): Return 0.
48400         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
48402 2013-06-18  Roland McGrath  <roland@hack.frob.com>
48404         * elf/rtld-Rules (rtld-compile-command.S): New variable.
48405         (rtld-compile-command.s, rtld-compile-command.c): New variables.
48406         ($(objpfx)rtld-%.os rules): Use them.
48408 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48410         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
48411         fields.
48413 2013-06-17  Roland McGrath  <roland@hack.frob.com>
48415         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
48416         length of target pattern, then descending length of dependency pattern.
48417         * configure.in (AWK): Require gawk 3.1.2 or newer.
48418         * manual/install.texi (Tools for Compilation): Say that we do.
48419         * configure: Regenerated.
48421         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
48422         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
48423         * scripts/sysd-rules.awk: ... this new script.
48424         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
48425         than a glob-style pattern.
48427 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
48429         * math/test-misc.c (main): Do not treat incorrectly rounded
48430         conversions as failure unless ROUNDING_TESTS passes.
48432 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
48434         [BZ #15631]
48435         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
48436         restore exception state around main square root computation, then
48437         check for inexactness explicitly.
48439         * math/libm-test.inc (fma_test_data): Add another test.
48441 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48443         * manual/threads.texi (Non-POSIX Extensions): New document
48444         node.  Document pthread_getattr_default_np and
48445         pthread_setattr_default_np.
48447         * Versions.def (libpthread): Add GLIBC_2.18.
48448         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48450         Likewise.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48452         Likewise.
48453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48454         Likewise.
48455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48456         Likewise.
48457         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
48458         Likewise.
48459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48460         Likewise.
48461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48462         Likewise.
48463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48464         Likewise.
48465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
48466         Likewise.
48468 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48471         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
48473 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48474             H.J. Lu  <hjl.tools@gmail.com>
48476         [BZ #15627]
48477         * sysdeps/x86_64/rtld-memset.c: Remove file.
48478         * sysdeps/x86_64/rtld-memset.S: New file.
48480 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48482         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48483         (test_in_one_mode): Take arguments for whether the rounding mode
48484         is supported for each floating-point type.
48485         (do_test): Pass new arguments to test_in_one_mode using
48486         ROUNDING_TESTS.
48488 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48490         * posix/tst-waitid.c (do_test): Distinguish different instances of
48491         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48492         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48493         before entering the kernel for waitpid.
48495 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48497         * NEWS: Fix note on clock function precision.  Text by Roland
48498         McGrath.
48500 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48502         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48503         it into place only when and if the sanity check passes.
48505 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48507         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48508         output for whether conversion result is exact.  Take argument
48509         indicating whether type is IBM long double.
48510         (round_for_all): Change need_exact field to ibm_ld.
48511         * stdlib/tst-strtod-round.c (struct exactness): New type.
48512         (struct test): Change bool ld_ok field to struct exactness exact.
48513         (TEST): Update all definitions for change to field.
48514         (tests): Regenerate array contents.
48515         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48516         field value.  Check for IBM long double here.
48517         (do_test): Update calls to test_in_one_mode.
48519 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48521         [BZ #12515]
48522         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48523         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48525 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48527         [BZ #15605]
48528         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48529         generated by the compiler on loop optimizations.
48530         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48531         general definitions.
48533 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48535         * math/bug-nextafter.c: Include <math-tests.h>.
48536         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48537         the relevant type.
48538         * math/bug-nexttoward.c: Include <math-tests.h>.
48539         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48540         the relevant type.
48541         * math/test-misc.c: Include <math-tests.h>.
48542         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48543         the relevant type.
48545 2013-06-12  Andreas Jaeger  <aj@suse.de>
48547         * po/ia.po: Update Interlingua translation from translation
48548         project.
48550 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48552         * include/fenv.h: Include stdbool.h.
48553         (struct rm_ctx): New structure.
48554         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48555         Define macro.
48556         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48557         (SET_RESTORE_ROUNDF): Likewise.
48558         (SET_RESTORE_ROUNDL): Likewise.
48559         (SET_RESTORE_ROUND_NOEX): Likewise.
48560         (SET_RESTORE_ROUND_NOEXF): Likewise.
48561         (SET_RESTORE_ROUND_NOEXL): Likewise.
48562         (SET_RESTORE_ROUND_53BIT): Likewise.
48563         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48564         (libc_feresetround_noexf_ctx): Likewise.
48565         (libc_feresetround_noexl_ctx): Likewise.
48566         (libc_feholdsetround_53bit_ctx): Likewise.
48567         (libc_feresetround_53bit_ctx): Likewise.
48568         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48569         (libc_feholdexcept_setround_sse_ctx): New function.
48570         (libc_fesetenv_sse_ctx): Likewise.
48571         (libc_feupdateenv_sse_ctx): Likewise.
48572         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48573         (libc_feholdexcept_setround_387_ctx): Likewise.
48574         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48575         (libc_feholdsetround_387_prec_ctx): Likewise.
48576         (libc_feholdsetround_387_ctx): Likewise.
48577         (libc_feholdsetround_387_53bit_ctx): Likewise.
48578         (libc_feholdsetround_sse_ctx): Likewise.
48579         (libc_feresetround_sse_ctx): Likewise.
48580         (libc_feresetround_387_ctx): Likewise.
48581         (libc_feupdateenv_387_ctx): Likewise.
48582         (libc_feholdexcept_setroundf_ctx): Define macro.
48583         (libc_fesetenvf_ctx): Likewise.
48584         (libc_feupdateenvf_ctx): Likewise.
48585         (libc_feholdsetroundf_ctx): Likewise.
48586         (libc_feresetroundf_ctx): Likewise.
48587         (libc_feholdexcept_setround_ctx): Likewise.
48588         (libc_fesetenv_ctx): Likewise.
48589         (libc_feupdateenv_ctx): Likewise.
48590         (libc_feholdsetround_ctx): Likewise.
48591         (libc_feresetround_ctx): Likewise.
48592         (libc_feholdexcept_setroundl_ctx): Likewise.
48593         (libc_feupdateenvl_ctx): Likewise.
48594         (libc_feholdsetroundl_ctx): Likewise.
48595         (libc_feresetroundl_ctx): Likewise.
48596         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48597         (libc_feresetround_53bit_ctx): Likewise.
48599 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48601         * locale/iso-639.def: Convert to UTF-8.
48603 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48605         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48606         (EXCEPTION_TESTS_double): Likewise.
48607         (EXCEPTION_TESTS_long_double): Likewise.
48608         (EXCEPTION_TESTS): Likewise.
48609         * math/libm-test.inc (test_exceptions): Only test exceptions if
48610         EXCEPTION_TESTS (FLOAT).
48612 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48614         * benchtests/Makefile (string-bench): Add strcpy_chk and
48615         stpcpy_chk.
48616         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48617         * benchtests/bench-stpcpy_chk.c: New file.
48618         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48619         * benchtests/bench-strcpy_chk.c: New file.
48620         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48621         code.
48622         (do_test): Likewise.
48624 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48626         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48627         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48628         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48629         with tabs where appropriate.
48630         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48631         dl-procinfo.h.
48632         [PPC_PLATFORM_PPC440]: Likewise.
48633         [PPC_PLATFORM_PPC464]: Likewise.
48634         [PPC_PLATFORM_PPC476]: Likewise.
48635         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48636         ppc464, and ppc476 platform strings merging from ports/
48637         dl-procinfo.h.
48639 2013-06-11  Andreas Schwab  <schwab@suse.de>
48641         [BZ #14991]
48642         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48643         (from_ucs4_idx): Regenerate.
48644         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48645         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48646         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48647         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48648         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48649         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48650         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48651         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48652         from FROM_LOOP and TO_LOOP specific macros.
48653         (BODY): Handle combining characters.
48654         * iconvdata/BIG5HKSCS.irreversible: Update.
48655         * iconvdata/BIG5HKSCS.precomposed: New file.
48656         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48657         characters.
48658         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48660 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48662         * include/sys/time.h: Fix indentation and add copyright header.
48664         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48665         (do_test): Likewise.
48666         * string/test-memchr.c (do_one_test): Likewise.
48667         (do_test): Likewise.
48668         * string/test-memcmp.c (do_one_test): Likewise.
48669         (do_test): Likewise.
48670         * string/test-memcpy.c (do_one_test): Likewise.
48671         (do_test): Likewise.
48672         * string/test-memmem.c (do_one_test): Likewise.
48673         (do_test): Likewise.
48674         (do_random_tests): Likewise.
48675         * string/test-memmove.c (do_one_test): Likewise.
48676         (do_test): Likewise.
48677         * string/test-memset.c (do_one_test): Likewise.
48678         (do_test): Likewise.
48679         * string/test-rawmemchr.c (do_one_test): Likewise.
48680         (do_test): Likewise.
48681         * string/test-strcasecmp.c (do_one_test): Likewise.
48682         (do_test): Likewise.
48683         * string/test-strcasestr.c (do_one_test): Likewise.
48684         (do_test): Likewise.
48685         * string/test-strcat.c (do_one_test): Likewise.
48686         (do_test): Likewise.
48687         * string/test-strchr.c (do_one_test): Likewise.
48688         (do_test): Likewise.
48689         * string/test-strcmp.c (do_one_test): Likewise.
48690         (do_test): Likewise.
48691         * string/test-strcpy.c (do_one_test): Likewise.
48692         (do_test): Likewise.
48693         * string/test-string.h: Likewise.
48694         (test_init): Likewise.
48695         * string/test-strlen.c (do_one_test): Likewise.
48696         (do_test): Likewise.
48697         * string/test-strncasecmp.c (do_one_test): Likewise.
48698         (do_test): Likewise.
48699         * string/test-strncat.c (do_one_test): Likewise.
48700         (do_test): Likewise.
48701         * string/test-strncmp.c (do_one_test): Likewise.
48702         (do_test_limit): Likewise.
48703         (do_test): Likewise.
48704         * string/test-strncpy.c (do_one_test): Likewise.
48705         (do_test): Likewise.
48706         * string/test-strnlen.c (do_one_test): Likewise.
48707         (do_test): Likewise.
48708         * string/test-strpbrk.c (do_one_test): Likewise.
48709         (do_test): Likewise.
48710         * string/test-strrchr.c (do_one_test): Likewise.
48711         (do_test): Likewise.
48712         * string/test-strspn.c (do_one_test): Likewise.
48713         (do_test): Likewise.
48714         * string/test-strstr.c (do_one_test): Likewise.
48715         (do_test): Likewise.
48717         * benchtests/Makefile (string-bench): Add string benchmarks.
48718         * benchtests/bench-bcopy-ifunc.c: New file.
48719         * benchtests/bench-bcopy.c: New file.
48720         * benchtests/bench-bzero-ifunc.c: New file.
48721         * benchtests/bench-bzero.c: New file.
48722         * benchtests/bench-memccpy-ifunc.c: New file.
48723         * benchtests/bench-memccpy.c: New file.
48724         * benchtests/bench-memchr-ifunc.c: New file.
48725         * benchtests/bench-memchr.c: New file.
48726         * benchtests/bench-memcmp-ifunc.c: New file.
48727         * benchtests/bench-memcmp.c: New file.
48728         * benchtests/bench-memmem-ifunc.c: New file.
48729         * benchtests/bench-memmem.c: New file.
48730         * benchtests/bench-memmove-ifunc.c: New file.
48731         * benchtests/bench-memmove.c: New file.
48732         * benchtests/bench-mempcpy-ifunc.c: New file.
48733         * benchtests/bench-mempcpy.c: New file.
48734         * benchtests/bench-memset-ifunc.c: New file.
48735         * benchtests/bench-memset.c: New file.
48736         * benchtests/bench-rawmemchr-ifunc.c: New file.
48737         * benchtests/bench-rawmemchr.c: New file.
48738         * benchtests/bench-stpcpy-ifunc.c: New file.
48739         * benchtests/bench-stpcpy.c: New file.
48740         * benchtests/bench-stpncpy-ifunc.c: New file.
48741         * benchtests/bench-stpncpy.c: New file.
48742         * benchtests/bench-strcasecmp-ifunc.c: New file.
48743         * benchtests/bench-strcasecmp.c: New file.
48744         * benchtests/bench-strcasestr-ifunc.c: New file.
48745         * benchtests/bench-strcasestr.c: New file.
48746         * benchtests/bench-strcat-ifunc.c: New file.
48747         * benchtests/bench-strcat.c: New file.
48748         * benchtests/bench-strchr-ifunc.c: New file.
48749         * benchtests/bench-strchr.c: New file.
48750         * benchtests/bench-strchrnul-ifunc.c: New file.
48751         * benchtests/bench-strchrnul.c: New file.
48752         * benchtests/bench-strcmp-ifunc.c: New file.
48753         * benchtests/bench-strcmp.c: New file.
48754         * benchtests/bench-strcpy-ifunc.c: New file.
48755         * benchtests/bench-strcpy.c: New file.
48756         * benchtests/bench-strcspn-ifunc.c: New file.
48757         * benchtests/bench-strcspn.c: New file.
48758         * benchtests/bench-strlen-ifunc.c: New file.
48759         * benchtests/bench-strlen.c: New file.
48760         * benchtests/bench-strncasecmp-ifunc.c: New file.
48761         * benchtests/bench-strncasecmp.c: New file.
48762         * benchtests/bench-strncat-ifunc.c: New file.
48763         * benchtests/bench-strncat.c: New file.
48764         * benchtests/bench-strncmp-ifunc.c: New file.
48765         * benchtests/bench-strncmp.c: New file.
48766         * benchtests/bench-strncpy-ifunc.c: New file.
48767         * benchtests/bench-strncpy.c: New file.
48768         * benchtests/bench-strnlen-ifunc.c: New file.
48769         * benchtests/bench-strnlen.c: New file.
48770         * benchtests/bench-strpbrk-ifunc.c: New file.
48771         * benchtests/bench-strpbrk.c: New file.
48772         * benchtests/bench-strrchr-ifunc.c: New file.
48773         * benchtests/bench-strrchr.c: New file.
48774         * benchtests/bench-strspn-ifunc.c: New file.
48775         * benchtests/bench-strspn.c: New file.
48776         * benchtests/bench-strstr-ifunc.c: New file.
48777         * benchtests/bench-strstr.c: New file.
48779         * benchtests/Makefile: Disable parallel execution of targets.
48780         (string-bench): Add memcpy.
48781         (benchset): New variable to store a list of benchmark sets.
48782         (bench-func): Renamed from bench.
48783         (bench-set): New target.
48784         (bench): Depend on bench-func and bench-set.
48785         * benchtests/README: Add section on benchmark sets.
48786         * benchtests/bench-memcpy-ifunc.c: New file.
48787         * benchtests/bench-memcpy.c: New file.
48788         * benchtests/bench-string.h: New file.
48790 2013-06-11  Andreas Schwab  <schwab@suse.de>
48792         [BZ #15577]
48793         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48794         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48795         values in the triple.
48796         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48797         terminator in the group key.
48799 2013-06-11  Andreas Jaeger  <aj@suse.de>
48801         * po/zh_TW.po: Update Chinese (traditional) translation from
48802         translation project.
48804 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48806         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48807         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48808         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48809         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48810         (clock_getcpuclockid): Likewise.
48811         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48812         Add weak_alias and libc_hidden_def.
48813         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48814         * rt/clock_gettime.c (clock_gettime): Rename to
48815         __clock_gettime.  Add weak_alias and libc_hidden_def.
48816         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48817         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48818         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48819         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48820         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48821         Likewise.
48822         * rt/clock_settime.c (clock_settime): Rename to
48823         __clock_settime.  Add weak_alias and libc_hidden_def.
48824         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48826 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48828         * mach/err_boot.sub: Remove trailing whitespace.
48829         * mach/err_ipc.sub: Likewise.
48830         * mach/err_mach.sub: Likewise.
48832         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48833         (ROUNDING_TESTS_double): Likewise.
48834         (ROUNDING_TESTS_long_double): Likewise.
48835         (ROUNDING_TESTS): Likewise.
48836         * math/libm-test.inc: Include <math-tests.h>.
48837         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48838         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48839         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48840         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48842 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48845         of assigning.
48847 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48849         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48850         otherwise empty TRANS lines.
48851         * sysdeps/gnu/errlist.c: Regenerated.
48853         * catgets/gencat.c (error_print): Use (void) in function
48854         definition.
48855         * crypt/crypt_util.c (__init_des): Likewise.
48856         * crypt/speeds.c (Stop): Likewise.
48857         (main): Likewise.
48858         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48859         * inet/ruserpass.c (token): Likewise.
48860         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48861         * intl/localealias.c (extend_alias_table): Likewise.
48862         * intl/plural-exp.c (init_germanic_plural): Likewise.
48863         * libio/fcloseall.c (__fcloseall): Likewise.
48864         * libio/genops.c (_IO_flush_all): Likewise.
48865         (_IO_flush_all_linebuffered): Likewise.
48866         (_IO_cleanup): Likewise.
48867         (_IO_iter_begin): Likewise.
48868         (_IO_iter_end): Likewise.
48869         (_IO_list_lock): Likewise.
48870         (_IO_list_unlock): Likewise.
48871         (_IO_list_resetlock): Likewise.
48872         * libio/getchar.c (getchar): Likewise.
48873         * libio/getchar_u.c (getchar_unlocked): Likewise.
48874         * libio/getwchar.c (getwchar): Likewise.
48875         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48876         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48877         * login/getpt.c (__getpt): Likewise.
48878         * login/tst-utmp.c (main): Likewise.
48879         * malloc/hooks.c (__malloc_check_init): Likewise.
48880         * malloc/malloc.c (__malloc_stats): Likewise.
48881         * malloc/mtrace.c (tr_break): Likewise.
48882         (mtrace): Likewise.
48883         (muntrace): Likewise.
48884         * misc/fstab.c (endfsent): Likewise.
48885         * misc/getclktck.c (__getclktck): Likewise.
48886         * misc/getdtsz.c (__getdtablesize): Likewise.
48887         * misc/gethostid.c (gethostid): Likewise.
48888         * misc/getpagesize.c (__getpagesize): Likewise.
48889         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48890         (__get_nprocs): Likewise.
48891         (__get_phys_pages): Likewise.
48892         (__get_avphys_pages): Likewise.
48893         * misc/getttyent.c (getttyent): Likewise.
48894         (setttyent): Likewise.
48895         (endttyent): Likewise.
48896         * misc/getusershell.c (getusershell): Likewise.
48897         (endusershell): Likewise.
48898         (setusershell): Likewise.
48899         (initshells): Likewise.
48900         * misc/hsearch.c (__hdestroy): Likewise.
48901         * misc/sync.c (sync): Likewise.
48902         * misc/syslog.c (closelog_internal): Likewise.
48903         (closelog): Likewise.
48904         * misc/ttyslot.c (ttyslot): Likewise.
48905         * misc/vhangup.c (vhangup): Likewise.
48906         * posix/fork.c (__fork): Likewise.
48907         * posix/getegid.c (__getegid): Likewise.
48908         * posix/geteuid.c (__geteuid): Likewise.
48909         * posix/getgid.c (__getgid): Likewise.
48910         * posix/getpid.c (__getpid): Likewise.
48911         * posix/getppid.c (__getppid): Likewise.
48912         * posix/getuid.c (__getuid): Likewise.
48913         * posix/pause.c (pause): Likewise.
48914         * posix/setpgrp.c (setpgrp): Likewise.
48915         * posix/setsid.c (__setsid): Likewise.
48916         * posix/test-vfork.c (noop): Likewise.
48917         * resolv/gethnamaddr.c (_endhtent): Likewise.
48918         (_gethtent): Likewise.
48919         (ht_endhostent): Likewise.
48920         (gethostent): Likewise.
48921         (dns_service): Likewise.
48922         * stdlib/drand48.c (drand48): Likewise.
48923         * stdlib/lrand48.c (lrand48): Likewise.
48924         * stdlib/mrand48.c (mrand48): Likewise.
48925         * stdlib/rand.c (rand): Likewise.
48926         * stdlib/random.c (__random): Likewise.
48927         * stdlib/setenv.c (clearenv): Likewise.
48928         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48929         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48930         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48931         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48932         (__get_nprocs): Likewise.
48933         (__get_phys_pages): Likewise.
48934         (__get_avphys_pages): Likewise.
48935         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48936         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48937         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48938         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48939         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48940         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48941         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48942         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48943         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48944         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48945         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48946         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48947         * sysdeps/posix/clock.c (clock): Likewise.
48948         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48949         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48950         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48951         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48952         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48953         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48954         (__get_nprocs_conf): Likewise.
48955         (__get_phys_pages): Likewise.
48956         (__get_avphys_pages): Likewise.
48957         * time/clock.c (clock): Likewise.
48958         * time/tzset.c (__tzname_max): Likewise.
48960 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48962         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48963         (__bswap_32): Do not use "register".
48964         * crypt/crypt.c (_ufc_doit_r): Likewise.
48965         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48966         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48967         * gmon/gmon.c (__monstartup): Likewise.
48968         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48969         * hurd/hurdmalloc.c (more_memory): Likewise.
48970         (malloc): Likewise.
48971         (free): Likewise.
48972         (realloc): Likewise.
48973         (malloc_fork_prepare): Likewise.
48974         (malloc_fork_parent): Likewise.
48975         (malloc_fork_child): Likewise.
48976         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48977         (_svcauth_des): Likewise.
48978         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48979         * inet/inet_net.c (inet_network): Likewise.
48980         * inet/inet_netof.c (inet_netof): Likewise.
48981         * inet/rcmd.c (__validuser2_sa): Likewise.
48982         * io/fts.c (fts_open): Likewise.
48983         (fts_load): Likewise.
48984         (fts_close): Likewise.
48985         (fts_read): Likewise.
48986         (fts_children): Likewise.
48987         (fts_build): Likewise.
48988         (fts_stat): Likewise.
48989         (fts_sort): Likewise.
48990         (fts_alloc): Likewise.
48991         (fts_lfree): Likewise.
48992         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48993         (_IO_file_xsgetn): Likewise.
48994         (_IO_file_xsgetn_mmap): Likewise.
48995         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48996         (_IO_cookie_write): Likewise.
48997         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48998         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48999         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
49000         * malloc/obstack.c (_obstack_begin): Likewise.
49001         (_obstack_begin_1): Likewise.
49002         (_obstack_newchunk): Likewise.
49003         (_obstack_allocated_p): Likewise.
49004         (obstack_free): Likewise.
49005         (_obstack_memory_used): Likewise.
49006         * misc/getttyent.c (getttynam): Likewise.
49007         (getttyent): Likewise.
49008         (skip): Likewise.
49009         (value): Likewise.
49010         * misc/getusershell.c (initshells): Likewise.
49011         * misc/syslog.c (__vsyslog_chk): Likewise.
49012         * misc/ttyslot.c (ttyslot): Likewise.
49013         * nis/nis_hash.c (__nis_hash): Likewise.
49014         * posix/fnmatch_loop.c (FCT): Likewise.
49015         * posix/getconf.c (print_all): Likewise.
49016         (main): Likewise.
49017         * posix/getopt.c (exchange): Likewise.
49018         * posix/glob.c (globfree): Likewise.
49019         (prefix_array): Likewise.
49020         (__glob_pattern_type): Likewise.
49021         * resolv/arpa/nameser.h (NS_GET16): Likewise.
49022         (NS_GET32): Likewise.
49023         (NS_PUT16): Likewise.
49024         (NS_PUT32): Likewise.
49025         * resolv/gethnamaddr.c (getanswer): Likewise.
49026         (gethostbyname2): Likewise.
49027         (gethostbyaddr): Likewise.
49028         (_gethtent): Likewise.
49029         (_gethtbyname2): Likewise.
49030         (_gethtbyaddr): Likewise.
49031         * resolv/ns_print.c (dst_s_get_int16): Likewise.
49032         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
49033         * resolv/res_init.c (__res_vinit): Likewise.
49034         (net_mask): Likewise.
49035         * resolv/res_mkquery.c (outchar): Likewise.
49036         (PRINT): Likewise.
49037         * stdio-common/printf_fp.c (outchar): Likewise.
49038         (PRINT): Likewise.
49039         * stdio-common/printf_fphex.c (outchar): Likewise.
49040         (PRINT): Likewise.
49041         * stdio-common/printf_size.c (outchar): Likewise.
49042         (PRINT): Likewise.
49043         * stdio-common/test_rdwr.c (main): Likewise.
49044         * stdio-common/tfformat.c (matches): Likewise.
49045         * stdio-common/vfprintf.c (outchar): Likewise.
49046         (printf_unknown): Likewise.
49047         (buffered_vfprintf): Likewise.
49048         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
49049         * stdio-common/xbug.c (AppendToBuffer): Likewise.
49050         (ReadFile): Likewise.
49051         * stdlib/qsort.c (SWAP): Likewise.
49052         (_quicksort): Likewise.
49053         * stdlib/setenv.c (__add_to_environ): Likewise.
49054         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
49055         * stdlib/strtol_l.c (__strtol_l): Likewise.
49056         * stdlib/tst-strtod.c (main): Likewise.
49057         * stdlib/tst-strtol.c (main): Likewise.
49058         * stdlib/tst-strtoll.c (main): Likewise.
49059         * string/bits/string2.h (__strcmp_cc): Likewise.
49060         (__strcmp_cg): Likewise.
49061         (__strcspn_c1): Likewise.
49062         (__strcspn_c2): Likewise.
49063         (__strcspn_c3): Likewise.
49064         (__strspn_c1): Likewise.
49065         (__strspn_c2): Likewise.
49066         (__strspn_c3): Likewise.
49067         (__strsep_1c): Likewise.
49068         (__strsep_2c): Likewise.
49069         (__strsep_3c): Likewise.
49070         * string/memccpy.c (__memccpy): Likewise.
49071         * string/stpcpy.c (__stpcpy): Likewise.
49072         * string/strcmp.c (strcmp): Likewise.
49073         * string/strrchr.c (strrchr): Likewise.
49074         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
49075         Likewise.
49076         * sysdeps/mach/hurd/getcwd.c
49077         (_hurd_canonicalize_directory_name_internal): Likewise.
49078         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
49079         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
49080         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
49081         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
49082         Likewise, in both definitions.
49083         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
49084         definitions.
49085         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
49086         64] (__bswap_64): Likewise.
49087         * time/test_time.c (main): Likewise.
49088         * time/tzfile.c (__tzfile_read): Likewise.
49089         (__tzfile_compute): Likewise.
49090         * time/tzset.c (__tzset_parse_tz): Likewise.
49091         (tzset_internal): Likewise.
49092         (compute_change): Likewise.
49093         * wcsmbs/wcscat.c (__wcscat): Likewise.
49094         * wcsmbs/wcschr.c (wcschr): Likewise.
49095         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
49096         * wcsmbs/wcscspn.c (wcscspn): Likewise.
49097         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
49098         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
49099         * wcsmbs/wcsspn.c (wcsspn): Likewise.
49100         * wcsmbs/wcsstr.c (wcsstr): Likewise.
49101         * wcsmbs/wmemchr.c (wmemchr): Likewise.
49102         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49103         * wcsmbs/wmemset.c (wmemset): Likewise.
49105 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
49107         * scripts/config.guess: Update to version 2013-05-16.
49108         * scripts/config.sub: Update to version 2013-04-24.
49109         * scripts/install-sh: Update to version 2011-11-20.07.
49110         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
49111         * scripts/move-if-change: Update to version 2012-01-06 07:23.
49113 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
49115         * debug/fgetws_u_chk.c: Fix leading whitespaces.
49116         * elf/sln.c: Likewise.
49117         * hurd/hurd/ioctl.h: Likewise.
49118         * hurd/hurdmalloc.c: Likewise.
49119         * hurd/xattr.c: Likewise.
49120         * include/shlib-compat.h: Likewise.
49121         * inet/ruserpass.c: Likewise.
49122         * libio/iofgets_u.c: Likewise.
49123         * libio/iofgetws_u.c: Likewise.
49124         * locale/programs/ld-identification.c: Likewise.
49125         * locale/programs/ld-time.c: Likewise.
49126         * mach/msg-destroy.c: Likewise.
49127         * nss/nss_files/files-netgrp.c: Likewise.
49128         * resolv/res_data.c: Likewise.
49129         * soft-fp/op-1.h: Likewise.
49130         * soft-fp/op-2.h: Likewise.
49131         * soft-fp/op-4.h: Likewise.
49132         * soft-fp/op-common.h: Likewise.
49133         * stdio-common/printf_fphex.c: Likewise.
49134         * stdlib/strtod_l.c: Likewise.
49135         * sunrpc/rpc/clnt.h: Likewise.
49136         * sysdeps/generic/framestate.c: Likewise.
49137         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49138         * sysdeps/i386/bsd-setjmp.S: Likewise.
49139         * sysdeps/i386/__longjmp.S: Likewise.
49140         * sysdeps/i386/setjmp.S: Likewise.
49141         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49142         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49143         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49144         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49145         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49146         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49147         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49148         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49149         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49150         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49151         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49152         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49153         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49154         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49155         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49156         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49157         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49158         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
49159         * sysdeps/ieee754/support.c: Likewise.
49160         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49161         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
49162         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
49163         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
49164         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
49165         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
49166         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
49167         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
49168         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
49169         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
49170         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
49171         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
49172         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
49173         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
49174         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
49175         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
49176         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49179 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
49181         * posix/transbug.c: Remove executable mode.
49183 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
49185         * crypt/speeds.c: Remove trailing whitespace.
49186         * dlfcn/default.c: Likewise.
49187         * elf/ifuncdep2.c: Likewise.
49188         * elf/ifuncmain1.c: Likewise.
49189         * elf/ifuncmain1vis.c: Likewise.
49190         * elf/testobj.h: Likewise.
49191         * elf/tst-stackguard1.c: Likewise.
49192         * gmon/sys/gmon.h: Likewise.
49193         * hurd/hurdmsg.c: Likewise.
49194         * hurd/new-fd.c: Likewise.
49195         * hurd/ports-get.c: Likewise.
49196         * iconvdata/ibm1008_420.c: Likewise.
49197         * inet/tst-getni1.c: Likewise.
49198         * inet/tst-getni2.c: Likewise.
49199         * libio/ioungetc.c: Likewise.
49200         * libio/wfiledoalloc.c: Likewise.
49201         * manual/libm-err-tab.pl: Likewise.
49202         * math/w_dremf.c: Likewise.
49203         * misc/ftruncate.c: Likewise.
49204         * posix/bug-glob2.c: Likewise.
49205         * posix/tst-pcre.c: Likewise.
49206         * posix/wait4.c: Likewise.
49207         * resolv/README: Likewise.
49208         * resolv/res_debug.h: Likewise.
49209         * resolv/tst-inet_ntop.c: Likewise.
49210         * setjmp/bug269-setjmp.c: Likewise.
49211         * soft-fp/extended.h: Likewise.
49212         * soft-fp/op-1.h: Likewise.
49213         * soft-fp/op-2.h: Likewise.
49214         * soft-fp/op-4.h: Likewise.
49215         * soft-fp/op-8.h: Likewise.
49216         * soft-fp/testit.c: Likewise.
49217         * stdio-common/bug16.c: Likewise.
49218         * stdlib/random.c: Likewise.
49219         * sunrpc/rpcsvc/rquota.x: Likewise.
49220         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
49221         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49222         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49223         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49224         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49225         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49226         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49227         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49228         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49229         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49230         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49247         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49248         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49249         * sysdeps/ieee754/s_lib_version.c: Likewise.
49250         * sysdeps/mach/hurd/check_fds.c: Likewise.
49251         * sysdeps/mach/hurd/getsockname.c: Likewise.
49252         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
49253         * sysdeps/mach/hurd/recvfrom.c: Likewise.
49254         * sysdeps/powerpc/bits/link.h: Likewise.
49255         * sysdeps/powerpc/dl-procinfo.c: Likewise.
49256         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
49257         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
49258         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
49259         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49260         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49261         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
49262         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49263         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
49264         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49265         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
49266         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49267         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
49268         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49269         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49270         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49271         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49272         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49273         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49274         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49275         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49276         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
49277         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49278         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49279         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
49280         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49281         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49282         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49283         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49284         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49285         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49286         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49287         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49288         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49289         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
49290         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49291         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
49292         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49293         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
49294         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
49295         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
49296         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
49297         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
49298         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
49299         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49300         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
49301         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
49302         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49303         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
49304         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
49305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49306         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49307         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49308         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49309         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
49310         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
49311         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
49312         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49313         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
49314         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
49315         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
49316         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
49317         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
49318         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49319         * sysdeps/powerpc/sysdep.h: Likewise.
49320         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49321         * sysdeps/s390/s390-64/sub_n.S: Likewise.
49322         * sysdeps/sh/dl-trampoline.S: Likewise.
49323         * sysdeps/sh/memset.S: Likewise.
49324         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
49325         * sysdeps/sh/strlen.S: Likewise.
49326         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
49327         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
49328         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
49329         * sysdeps/sparc/sparc32/rem.S: Likewise.
49330         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
49331         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
49332         * sysdeps/sparc/sparc32/strchr.S: Likewise.
49333         * sysdeps/sparc/sparc32/udiv.S: Likewise.
49334         * sysdeps/sparc/sparc32/urem.S: Likewise.
49335         * sysdeps/sparc/sparc64/add_n.S: Likewise.
49336         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49337         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
49338         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
49339         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
49340         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
49341         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
49342         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
49343         * sysdeps/unix/bsd/times.c: Likewise.
49344         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
49345         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
49346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
49349         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
49350         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49351         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
49352         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
49353         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
49354         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
49355         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49356         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
49357         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49358         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49359         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
49360         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49361         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
49362         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
49363         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
49364         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
49365         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
49366         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49367         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
49368         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
49369         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
49370         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
49371         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49372         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
49373         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
49374         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
49375         * sysdeps/x86_64/strcspn.S: Likewise.
49377 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49379         * locale/C-translit.h: Revert #include <stdint.h> because this is a
49380         generated file.  Regenerate properly from gen-translit.pl.
49381         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
49382         locale/C-translit.h.
49384 2013-06-05  Andreas Schwab  <schwab@suse.de>
49386         [BZ #15100]
49387         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
49388         week as 6 instead of -1.
49389         * time/tst-strptime.c (day_tests): Add test case.
49391 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49393         * sysdeps/generic/math_private.h
49394         (libc_feholdexcept_setround_53bit): Replace with
49395         libc_feholdsetround_53bit.
49396         (libc_feupdateenv_53bit): Replace with
49397         libc_feresetround_53bit.
49398         (SET_RESTORE_ROUND_53BIT): Adjust.
49400 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49402         * string/test-strchrnul.c: Add copyright header.
49404         * posix/tst-getaddrinfo4.c: Increase test timeout.
49406 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
49408         [BZ #15536]
49409         * math/libm-test.inc (MAX_EXP): Remove
49410         (MIN_EXP): Define.
49411         (ulp): Use MIN_EXP - MANT_DIG.
49412         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
49414 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
49416         * po/be.po: Revert last change.
49417         * po/zh_CN.po: Likewise.
49418         * po/header.pot: Likewise.
49420 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
49422         * Makefile ($(common-objpfx)linkobj/libc.so): Define
49423         link-libc-deps to empty as target-specific variable.
49424         * Makerules (link-libc-args): New variable.
49425         (libc-for-link): Likewise.
49426         (link-libc-deps): Likewise.
49427         (lib%.so): Depend on $(link-libc-deps).  Link with
49428         $(link-libc-args).
49429         (build-module): Link with $(link-libc-args).
49430         (build-module-asneeded): Likewise.
49431         (build-module-helper-objlist): Filter out $(link-libc-deps) from
49432         list of objects.
49433         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
49434         target-specific variable.
49435         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
49436         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
49437         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
49438         libc.
49439         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
49440         libc and ld.so.
49441         ($(objpfx)libpcprofile.so): Likewise.
49442         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
49443         libc_nonshared.a.
49444         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
49445         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
49446         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
49447         $(link-libc-deps).
49448         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
49449         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
49450         * login/Makefile ($(objpfx)libutil.so): Likewise.
49451         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
49452         * math/Makefile ($(objpfx)libm.so): Likewise.
49453         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
49454         $(objpfx)libnsl.so): Define libc-for-link as target-specific
49455         variable instead of depending directly on libc.
49456         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
49457         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
49458         $(link-libc-deps).
49459         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
49460         libc.
49461         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
49462         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
49463         ($(objpfx)libanl.so): Likewise.
49464         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
49465         ld.so.
49466         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
49467         $(link-libc-deps).
49468         * sysdeps/i386/fpu/Makefile: Remove file.
49469         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
49470         ($(objpfx)libm.so): Remove dependency on ld.so.
49472 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49474         [BZ # 15553]
49475         * nis/yp_xdr.c (XDRMAXNAME): Define.
49476         (XDRMAXRECORD): Define.
49477         (xdr_domainname): Use XDRMAXNAME.
49478         (xdr_mapname): Likewise.
49479         (xdr_peername): Likewise.
49480         (xdr_keydat): Use XDRMAXRECORD.
49481         (xdr_valdat): Likewise.
49483 2013-05-30  Jeff Law  <law@redhat.com>
49485         [BZ #14256]
49486         * manual/errno.texi (ESTALE): Update to account for more than
49487         just NFS file systems.
49488         * sysdeps/gnu/errlist.c: Regenerated.
49490 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49492         [BZ #15465]
49493         * elf/Makefile (tests): Add tst-null-argv.
49494         (modules-names):  Add tst-null-argv-lib.
49495         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49496         (tst-null-argv-ENV): Set environment for tst-null-argv.
49497         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49498         (RTLD_PROGNAME): New macro.
49499         * elf/tst-null-argv.c: New test case.
49500         * elf/tst-null-argv-lib.c: Library for test case.
49501         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49502         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49503         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49504         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49505         * elf/dl-init.c (call_init): Likewise.
49506         (_dl_init): Likewise.
49507         * elf/dl-load.c (print_search_path): Likewise.
49508         (_dl_map_object): Likewise.
49509         * elf/dl-lookup.c (do_lookup_x): Likewise.
49510         (add_dependency): Likewise.
49511         (_dl_lookup_symbol_x): Likewise.
49512         (_dl_debug_bindings): Likewise.
49513         * elf/dl-open.c (_dl_show_scope): Likewise.
49514         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49515         * elf/dl-version.c (match_symbol): Likewise.
49516         (_dl_check_map_versions): Likewise.
49517         * elf/rtld.c (dl_main): Likewise.
49518         (print_unresolved): Use RTLD_PROGNAME.
49519         (print_missing_version): Likewise.
49520         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49521         (elf_machine_rela): Likewise.
49522         * sysdeps/powerpc/powerpc32/dl-machine.c
49523         (__process_machine_rela): Likewise.
49524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49525         Likewise.
49526         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49527         Likewise.
49528         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49529         Likewise.
49530         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49531         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49532         Likewise.
49533         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49534         Likewise.
49535         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49537 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49539         * po/be.po: Add descriptive title.
49540         * po/zh_CN.po: Likewise.
49541         * po/header.pot: Likewise.
49543 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49545         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49546         error message.
49547         (enlarge_archive): Likewise.
49549 2013-05-28  Ben North  <ben@redfrontdoor.org>
49551         * manual/arith.texi (frexp): It is the magnitude of the return
49552         value which lies in [0.5, 1), not the return value itself.
49554 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49556         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49558 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49560         * stdio-common/bug26.c (main): Correct fscanf template.
49562         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49563         declare _dl_skip_args.
49565         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49566         Don't declare.
49568         * manual/platform.texi: Add missing @end deftypefun.
49570 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49572         [BZ #15529]
49573         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49574         bit of mantissa of 2^16382.
49575         * math/libm-test.inc (hypot_test_data): Add more tests.
49577         * math/libm-test.inc: Add drem and pow10 to list of tested
49578         functions.
49579         (pow10_test): New function.
49580         (drem_test): Likewise.
49581         (drem_test_tonearest): Likewise.
49582         (drem_test_towardzero): Likewise.
49583         (drem_test_downward): Likewise.
49584         (drem_test_upward): Likewise.
49585         (main): Call the new functions.
49587         * math/libm-test.inc (finite_test_data): Remove.
49588         (finite_test): Run tests from isfinite_test_data.
49589         (gamma_test_data): Remove.
49590         (gamma_test): Run tests from lgamma_test_data.
49591         * sysdeps/i386/fpu/libm-test-ulps: Update.
49592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49594 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49596         * manual/platform.texi: Add PowerPC PPR function set documentation.
49597         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49598         implementation.
49600 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49602         * math/libm-test.inc (MAX_EXP): Define.
49603         (ULPDIFF): Define.
49604         (ulp): New function.
49605         (check_float_internal): Use ULPDIFF.
49606         (cpow_test): Disable failing test.
49607         (check_ulp): Test ulp() implemetnation.
49608         (main): Call check_ulp before starting tests.
49610 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49612         * math/gen-libm-test.pl (generate_testfile): Do not handle
49613         START_DATA and END_DATA.
49614         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49615         END_DATA.
49616         (acos_tonearest_test_data): Likewise.
49617         (acos_towardzero_test_data): Likewise.
49618         (acos_downward_test_data): Likewise.
49619         (acos_upward_test_data): Likewise.
49620         (acosh_test_data): Likewise.
49621         (asin_test_data): Likewise.
49622         (asin_tonearest_test_data): Likewise.
49623         (asin_towardzero_test_data): Likewise.
49624         (asin_downward_test_data): Likewise.
49625         (asin_upward_test_data): Likewise.
49626         (asinh_test_data): Likewise.
49627         (atan_test_data): Likewise.
49628         (atanh_test_data): Likewise.
49629         (atan2_test_data): Likewise.
49630         (cabs_test_data): Likewise.
49631         (cacos_test_data): Likewise.
49632         (cacosh_test_data): Likewise.
49633         (carg_test_data): Likewise.
49634         (casin_test_data): Likewise.
49635         (casinh_test_data): Likewise.
49636         (catan_test_data): Likewise.
49637         (catanh_test_data): Likewise.
49638         (cbrt_test_data): Likewise.
49639         (ccos_test_data): Likewise.
49640         (ccosh_test_data): Likewise.
49641         (ceil_test_data): Likewise.
49642         (cexp_test_data): Likewise.
49643         (cimag_test_data): Likewise.
49644         (clog_test_data): Likewise.
49645         (clog10_test_data): Likewise.
49646         (conj_test_data): Likewise.
49647         (copysign_test_data): Likewise.
49648         (cos_test_data): Likewise.
49649         (cos_tonearest_test_data): Likewise.
49650         (cos_towardzero_test_data): Likewise.
49651         (cos_downward_test_data): Likewise.
49652         (cos_upward_test_data): Likewise.
49653         (cosh_test_data): Likewise.
49654         (cosh_tonearest_test_data): Likewise.
49655         (cosh_towardzero_test_data): Likewise.
49656         (cosh_downward_test_data): Likewise.
49657         (cosh_upward_test_data): Likewise.
49658         (cpow_test_data): Likewise.
49659         (cproj_test_data): Likewise.
49660         (creal_test_data): Likewise.
49661         (csin_test_data): Likewise.
49662         (csinh_test_data): Likewise.
49663         (csqrt_test_data): Likewise.
49664         (ctan_test_data): Likewise.
49665         (ctan_tonearest_test_data): Likewise.
49666         (ctan_towardzero_test_data): Likewise.
49667         (ctan_downward_test_data): Likewise.
49668         (ctan_upward_test_data): Likewise.
49669         (ctanh_test_data): Likewise.
49670         (ctanh_tonearest_test_data): Likewise.
49671         (ctanh_towardzero_test_data): Likewise.
49672         (ctanh_downward_test_data): Likewise.
49673         (ctanh_upward_test_data): Likewise.
49674         (erf_test_data): Likewise.
49675         (erfc_test_data): Likewise.
49676         (exp_test_data): Likewise.
49677         (exp_tonearest_test_data): Likewise.
49678         (exp_towardzero_test_data): Likewise.
49679         (exp_downward_test_data): Likewise.
49680         (exp_upward_test_data): Likewise.
49681         (exp10_test_data): Likewise.
49682         (exp2_test_data): Likewise.
49683         (expm1_test_data): Likewise.
49684         (fabs_test_data): Likewise.
49685         (fdim_test_data): Likewise.
49686         (finite_test_data): Likewise.
49687         (floor_test_data): Likewise.
49688         (fma_test_data): Likewise.
49689         (fma_towardzero_test_data): Likewise.
49690         (fma_downward_test_data): Likewise.
49691         (fma_upward_test_data): Likewise.
49692         (fmax_test_data): Likewise.
49693         (fmin_test_data): Likewise.
49694         (fmod_test_data): Likewise.
49695         (fpclassify_test_data): Likewise.
49696         (frexp_test_data): Likewise.
49697         (gamma_test_data): Likewise.
49698         (hypot_test_data): Likewise.
49699         (ilogb_test_data): Likewise.
49700         (isfinite_test_data): Likewise.
49701         (isgreater_test_data): Likewise.
49702         (isgreaterequal_test_data): Likewise.
49703         (isinf_test_data): Likewise.
49704         (isless_test_data): Likewise.
49705         (islessequal_test_data): Likewise.
49706         (islessgreater_test_data): Likewise.
49707         (isnan_test_data): Likewise.
49708         (isnormal_test_data): Likewise.
49709         (issignaling_test_data): Likewise.
49710         (isunordered_test_data): Likewise.
49711         (j0_test_data): Likewise.
49712         (j1_test_data): Likewise.
49713         (jn_test_data): Likewise.
49714         (ldexp_test_data): Likewise.
49715         (lgamma_test_data): Likewise.
49716         (lrint_test_data): Likewise.
49717         (lrint_tonearest_test_data): Likewise.
49718         (lrint_towardzero_test_data): Likewise.
49719         (lrint_downward_test_data): Likewise.
49720         (lrint_upward_test_data): Likewise.
49721         (llrint_test_data): Likewise.
49722         (llrint_tonearest_test_data): Likewise.
49723         (llrint_towardzero_test_data): Likewise.
49724         (llrint_downward_test_data): Likewise.
49725         (llrint_upward_test_data): Likewise.
49726         (log_test_data): Likewise.
49727         (log10_test_data): Likewise.
49728         (log1p_test_data): Likewise.
49729         (log2_test_data): Likewise.
49730         (logb_test_data): Likewise.
49731         (logb_downward_test_data): Likewise.
49732         (lround_test_data): Likewise.
49733         (llround_test_data): Likewise.
49734         (modf_test_data): Likewise.
49735         (nearbyint_test_data): Likewise.
49736         (nextafter_test_data): Likewise.
49737         (nexttoward_test_data): Likewise.
49738         (pow_test_data): Likewise.
49739         (pow_tonearest_test_data): Likewise.
49740         (pow_towardzero_test_data): Likewise.
49741         (pow_downward_test_data): Likewise.
49742         (pow_upward_test_data): Likewise.
49743         (remainder_test_data): Likewise.
49744         (remainder_tonearest_test_data): Likewise.
49745         (remainder_towardzero_test_data): Likewise.
49746         (remainder_downward_test_data): Likewise.
49747         (remainder_upward_test_data): Likewise.
49748         (remquo_test_data): Likewise.
49749         (rint_test_data): Likewise.
49750         (rint_tonearest_test_data): Likewise.
49751         (rint_towardzero_test_data): Likewise.
49752         (rint_downward_test_data): Likewise.
49753         (rint_upward_test_data): Likewise.
49754         (round_test_data): Likewise.
49755         (scalb_test_data): Likewise.
49756         (scalbn_test_data): Likewise.
49757         (scalbln_test_data): Likewise.
49758         (signbit_test_data): Likewise.
49759         (sin_test_data): Likewise.
49760         (sin_tonearest_test_data): Likewise.
49761         (sin_towardzero_test_data): Likewise.
49762         (sin_downward_test_data): Likewise.
49763         (sin_upward_test_data): Likewise.
49764         (sincos_test_data): Likewise.
49765         (sinh_test_data): Likewise.
49766         (sinh_tonearest_test_data): Likewise.
49767         (sinh_towardzero_test_data): Likewise.
49768         (sinh_downward_test_data): Likewise.
49769         (sinh_upward_test_data): Likewise.
49770         (sqrt_test_data): Likewise.
49771         (tan_test_data): Likewise.
49772         (tan_tonearest_test_data): Likewise.
49773         (tan_towardzero_test_data): Likewise.
49774         (tan_downward_test_data): Likewise.
49775         (tan_upward_test_data): Likewise.
49776         (tanh_test_data): Likewise.
49777         (tgamma_test_data): Likewise.
49778         (trunc_test_data): Likewise.
49779         (y0_test_data): Likewise.
49780         (y1_test_data): Likewise.
49781         (yn_test_data): Likewise.
49782         (significand_test_data): Likewise.
49784         * math/gen-libm-test.pl (@functions): Remove variable.
49785         (generate_testfile): Don't handle START and END lines.
49786         * math/libm-test.inc (START): New macro.
49787         (END): Likewise.
49788         (END_COMPLEX): Likewise.
49789         (acos_test): Use END macro without arguments.
49790         (acos_test_tonearest): Likewise.
49791         (acos_test_towardzero): Likewise.
49792         (acos_test_downward): Likewise.
49793         (acos_test_upward): Likewise.
49794         (acosh_test): Likewise.
49795         (asin_test): Likewise.
49796         (asin_test_tonearest): Likewise.
49797         (asin_test_towardzero): Likewise.
49798         (asin_test_downward): Likewise.
49799         (asin_test_upward): Likewise.
49800         (asinh_test): Likewise.
49801         (atan_test): Likewise.
49802         (atanh_test): Likewise.
49803         (atan2_test): Likewise.
49804         (cabs_test): Likewise.
49805         (cacos_test): Use END_COMPLEX macro without arguments.
49806         (cacosh_test): Likewise.
49807         (carg_test): Use END macro without arguments.
49808         (casin_test): Use END_COMPLEX macro without arguments.
49809         (casinh_test): Likewise.
49810         (catan_test): Likewise.
49811         (catanh_test): Likewise.
49812         (cbrt_test): Use END macro without arguments.
49813         (ccos_test): Use END_COMPLEX macro without arguments.
49814         (ccosh_test): Likewise.
49815         (ceil_test): Use END macro without arguments.
49816         (cexp_test): Use END_COMPLEX macro without arguments.
49817         (cimag_test): Use END macro without arguments.
49818         (clog_test): Use END_COMPLEX macro without arguments.
49819         (clog10_test): Likewise.
49820         (conj_test): Likewise.
49821         (copysign_test): Use END macro without arguments.
49822         (cos_test): Likewise.
49823         (cos_test_tonearest): Likewise.
49824         (cos_test_towardzero): Likewise.
49825         (cos_test_downward): Likewise.
49826         (cos_test_upward): Likewise.
49827         (cosh_test): Likewise.
49828         (cosh_test_tonearest): Likewise.
49829         (cosh_test_towardzero): Likewise.
49830         (cosh_test_downward): Likewise.
49831         (cosh_test_upward): Likewise.
49832         (cpow_test): Use END_COMPLEX macro without arguments.
49833         (cproj_test): Likewise.
49834         (creal_test): Use END macro without arguments.
49835         (csin_test): Use END_COMPLEX macro without arguments.
49836         (csinh_test): Likewise.
49837         (csqrt_test): Likewise.
49838         (ctan_test): Likewise.
49839         (ctan_test_tonearest): Likewise.
49840         (ctan_test_towardzero): Likewise.
49841         (ctan_test_downward): Likewise.
49842         (ctan_test_upward): Likewise.
49843         (ctanh_test): Likewise.
49844         (ctanh_test_tonearest): Likewise.
49845         (ctanh_test_towardzero): Likewise.
49846         (ctanh_test_downward): Likewise.
49847         (ctanh_test_upward): Likewise.
49848         (erf_test): Use END macro without arguments.
49849         (erfc_test): Likewise.
49850         (exp_test): Likewise.
49851         (exp_test_tonearest): Likewise.
49852         (exp_test_towardzero): Likewise.
49853         (exp_test_downward): Likewise.
49854         (exp_test_upward): Likewise.
49855         (exp10_test): Likewise.
49856         (exp2_test): Likewise.
49857         (expm1_test): Likewise.
49858         (fabs_test): Likewise.
49859         (fdim_test): Likewise.
49860         (finite_test): Likewise.
49861         (floor_test): Likewise.
49862         (fma_test): Likewise.
49863         (fma_test_towardzero): Likewise.
49864         (fma_test_downward): Likewise.
49865         (fma_test_upward): Likewise.
49866         (fmax_test): Likewise.
49867         (fmin_test): Likewise.
49868         (fmod_test): Likewise.
49869         (fpclassify_test): Likewise.
49870         (frexp_test): Likewise.
49871         (gamma_test): Likewise.
49872         (hypot_test): Likewise.
49873         (ilogb_test): Likewise.
49874         (isfinite_test): Likewise.
49875         (isgreater_test): Likewise.
49876         (isgreaterequal_test): Likewise.
49877         (isinf_test): Likewise.
49878         (isless_test): Likewise.
49879         (islessequal_test): Likewise.
49880         (islessgreater_test): Likewise.
49881         (isnan_test): Likewise.
49882         (isnormal_test): Likewise.
49883         (issignaling_test): Likewise.
49884         (isunordered_test): Likewise.
49885         (j0_test): Likewise.
49886         (j1_test): Likewise.
49887         (jn_test): Likewise.
49888         (ldexp_test): Likewise.
49889         (lgamma_test): Likewise.
49890         (lrint_test): Likewise.
49891         (lrint_test_tonearest): Likewise.
49892         (lrint_test_towardzero): Likewise.
49893         (lrint_test_downward): Likewise.
49894         (lrint_test_upward): Likewise.
49895         (llrint_test): Likewise.
49896         (llrint_test_tonearest): Likewise.
49897         (llrint_test_towardzero): Likewise.
49898         (llrint_test_downward): Likewise.
49899         (llrint_test_upward): Likewise.
49900         (log_test): Likewise.
49901         (log10_test): Likewise.
49902         (log1p_test): Likewise.
49903         (log2_test): Likewise.
49904         (logb_test): Likewise.
49905         (logb_test_downward): Likewise.
49906         (lround_test): Likewise.
49907         (llround_test): Likewise.
49908         (modf_test): Likewise.
49909         (nearbyint_test): Likewise.
49910         (nextafter_test): Likewise.
49911         (nexttoward_test): Likewise.
49912         (pow_test): Likewise.
49913         (pow_test_tonearest): Likewise.
49914         (pow_test_towardzero): Likewise.
49915         (pow_test_downward): Likewise.
49916         (pow_test_upward): Likewise.
49917         (remainder_test): Likewise.
49918         (remainder_test_tonearest): Likewise.
49919         (remainder_test_towardzero): Likewise.
49920         (remainder_test_downward): Likewise.
49921         (remainder_test_upward): Likewise.
49922         (remquo_test): Likewise.
49923         (rint_test): Likewise.
49924         (rint_test_tonearest): Likewise.
49925         (rint_test_towardzero): Likewise.
49926         (rint_test_downward): Likewise.
49927         (rint_test_upward): Likewise.
49928         (round_test): Likewise.
49929         (scalb_test): Likewise.
49930         (scalbn_test): Likewise.
49931         (scalbln_test): Likewise.
49932         (signbit_test): Likewise.
49933         (sin_test): Likewise.
49934         (sin_test_tonearest): Likewise.
49935         (sin_test_towardzero): Likewise.
49936         (sin_test_downward): Likewise.
49937         (sin_test_upward): Likewise.
49938         (sincos_test): Likewise.
49939         (sinh_test): Likewise.
49940         (sinh_test_tonearest): Likewise.
49941         (sinh_test_towardzero): Likewise.
49942         (sinh_test_downward): Likewise.
49943         (sinh_test_upward): Likewise.
49944         (sqrt_test): Likewise.
49945         (tan_test): Likewise.
49946         (tan_test_tonearest): Likewise.
49947         (tan_test_towardzero): Likewise.
49948         (tan_test_downward): Likewise.
49949         (tan_test_upward): Likewise.
49950         (tanh_test): Likewise.
49951         (tgamma_test): Likewise.
49952         (trunc_test): Likewise.
49953         (y0_test): Likewise.
49954         (y1_test): Likewise.
49955         (yn_test): Likewise.
49956         (significand_test): Likewise.
49958 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49960         [BZ #15381]
49961         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49963 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49965         [BZ #14894]
49966         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49967         __ppc_mdoio and __ppc_mdoom.
49968         * manual/platform.texi: Document new functions __ppc_yield,
49969         __ppc_mdoio and __ppc_mdoom.
49971 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49973         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49974         (main): Mention "tls" pseudo-hwcap is legacy.
49975         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49977 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49979         * math/gen-libm-test.pl (parse_args): Output only string of
49980         arguments as text for test name, not full call or descriptions of
49981         tests for extra outputs.
49982         (generate_testfile): Do not pass function name to parse_args.
49983         Generate this_func variable from START.
49984         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49985         field to arg_str.
49986         (struct test_ff_f_data): Likewise.
49987         (test_ff_f_data_nexttoward): Likewise.
49988         (struct test_fi_f_data): Likewise.
49989         (struct test_fl_f_data): Likewise.
49990         (struct test_if_f_data): Likewise.
49991         (struct test_fff_f_data): Likewise.
49992         (struct test_c_f_data): Likewise.
49993         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49994         (struct test_fF_f1_data): Likewise.
49995         (struct test_ffI_f1_data): Likewise.
49996         (struct test_c_c_data): Rename test_name field to arg_str.
49997         (struct test_cc_c_data): Likewise.
49998         (struct test_f_i_data): Likewise.
49999         (struct test_ff_i_data): Likewise.
50000         (struct test_f_l_data): Likewise.
50001         (struct test_f_L_data): Likewise.
50002         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
50003         and extra2_name.
50004         (COMMON_TEST_SETUP): New macro.
50005         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
50006         (COMMON_TEST_CLEANUP): Likewise.
50007         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
50008         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
50009         macros.
50010         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
50011         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
50012         macros.
50013         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
50014         (RUN_TEST_fff_f): Take argument string.  Call new setup and
50015         cleanup macros.
50016         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
50017         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
50018         macros.
50019         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
50020         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
50021         macros.
50022         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50023         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
50024         cleanup macros.
50025         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50026         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
50027         cleanup macros.
50028         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50029         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
50030         cleanup macros.
50031         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50032         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
50033         macros.
50034         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
50035         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
50036         macros.
50037         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
50038         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
50039         macros.
50040         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
50041         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
50042         cleanup macros.
50043         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
50044         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
50045         cleanup macros.
50046         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
50047         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
50048         macros.
50049         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
50050         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
50051         cleanup macros.
50052         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
50053         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
50054         macros.
50055         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
50056         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
50057         macros.
50058         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
50059         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
50060         cleanup macros.
50061         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
50063 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
50065         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
50066         to _sifields.sigfault.
50067         (si_addr_lsb): Define new macro.
50068         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50070         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
50072 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
50074         [BZ #15441]
50075         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
50076         returns -1.
50077         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
50078         null return -1.
50079         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
50080         loading the domain.
50082 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
50084         * math/gen-libm-test.pl (parse_args): Do not include expected
50085         result in test name.
50086         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
50087         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50088         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50089         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50090         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50093 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50095         * benchtests/Makefile: Sort function entries.
50097         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
50098         tanh, asinh, acosh, atanh.
50099         * benchtests/acos-inputs: New file.
50100         * benchtests/acosh-inputs: New file.
50101         * benchtests/asin-inputs: New file.
50102         * benchtests/asinh-inputs: New file.
50103         * benchtests/atanh-inputs: New file.
50104         * benchtests/cosh-inputs: New file.
50105         * benchtests/log-inputs: New file.
50106         * benchtests/sinh-inputs: New file.
50107         * benchtests/tanh-inputs: New file.
50109 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
50111         [BZ #15339]
50112         * posix/tst-getaddrinfo4.c: New test.
50113         * posix/Makefile (tests): Add it.
50115 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50117         [BZ #15339]
50118         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
50119         when no services were used.
50120         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
50121         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
50123 2013-05-21  Andreas Schwab  <schwab@suse.de>
50125         [BZ #15014]
50126         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
50127         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
50128         successful.
50129         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
50130         redundant variable declarations and reallocation of buffer when
50131         parsing as IPv6 address.  Always set NSS status when called from
50132         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
50133         buffer too small.  Correct computation of needed size.
50134         * nss/Makefile (tests): Add test-digits-dots.
50135         * nss/test-digits-dots.c: New test.
50137 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50139         * benchtests/Makefile: Remove instructions for adding
50140         benchmark tests.
50141         * benchtests/README: New file to explain how to execute and
50142         enhance the benchmark tests.
50144 2013-05-21  Andreas Schwab  <schwab@suse.de>
50146         [BZ #15493]
50147         * setjmp/Makefile (tests): Add tst-sigsetjmp.
50148         * setjmp/tst-sigsetjmp.c: New test.
50150 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50152         * sysdeps/x86_64/memset.S (memset): New implementation.
50153         (__bzero): Likewise.
50154         (__memset_tail): New function.
50156 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
50158         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
50159         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
50160         __memcpy_sse2_unaligned ifunc selection.
50161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50162         Add memcpy-sse2-unaligned.S.
50163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50164         Add: __memcpy_sse2_unaligned.
50166 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
50168         [BZ #15490]
50169         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50170         math_force_eval before restoring floating-point envrionment.
50171         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
50172         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
50173         Likewise.
50174         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
50175         <math_private.h>.
50176         (__nearbyintl): Use math_force_eval before restoring
50177         floating-point environment.
50178         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
50180         * math/gen-libm-test.pl (special_functions): Remove.
50181         (parse_args): Don't handle TEST_extra.  Handle functions with no
50182         return value.
50183         * math/libm-test.inc (struct test_sincos_data): Replace with
50184         struct test_fFF_11_data.
50185         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
50186         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
50187         (sincos_test_data): Change element type to struct
50188         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
50189         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
50190         RUN_TEST_LOOP_sincos.
50191         * math/README.libm-test: Don't mention special handling of
50192         individual functions.
50193         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
50194         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50195         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50196         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50197         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50200         * math/gen-libm-test.pl (get_variable): Remove function.
50201         (parse_args): Don't show pointer parameters to call in test
50202         names.  Use "extra output N" in test names for extra outputs
50203         rather than naming variables.
50205 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
50207         [BZ #15488]
50208         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
50209         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
50210         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
50211         double tests.
50212         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
50213         disable.
50214         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
50215         check_long_double.
50217         * math/gen-libm-test.pl (@tests): Remove variable.
50218         ($count): Likewise.
50219         (new_test): Remove function.
50220         (show_exceptions): New function.
50221         (special_functions): Use show_exceptions instead of new_test.
50222         (parse_args): Likewise.
50223         (generate_testfile): Pass only function name in generated call to
50224         print_max_error or print_complex_max_error.
50225         (get_ulps): Do not handle complex tests specially.
50226         (output_test): Rename to ...
50227         (get_all_ulps_for_test): ... this.  Return a string rather than
50228         printing to a file.  Require ulps to be present.
50229         (output_ulps): Generate arrays rather than #defines.
50230         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
50231         (struct ulp_data): New type.
50232         (BUILD_COMPLEX_ULP): Remove macro.
50233         (compare_ulp_data): New function.
50234         (find_ulps): Likewise.
50235         (find_test_ulps): Likewise.
50236         (find_function_ulps): Likewise.
50237         (find_complex_function_ulps): Likewise.
50238         (print_max_error): Determine allowed ulps using
50239         find_function_ulps.
50240         (print_complex_max_error): Determine allowed ulps using
50241         find_complex_function_ulps.
50242         (check_float_internal): Determine max ulps using find_test_ulps.
50243         (check_float): Do not take max_ulp parameter.  Update call to
50244         check_float_internal.
50245         (check_complex): Likewise.
50246         (check_int): Do not take max_ulp parameter.
50247         (check_long): Likewise.
50248         (check_bool): Likewise.
50249         (check_longlong): Likewise.
50250         (struct test_f_f_data): Remove max_ulp field.
50251         (struct test_ff_f_data): Likewise.
50252         (struct test_ff_f_data_nexttoward): Likewise.
50253         (struct test_fi_f_data): Likewise.
50254         (struct test_fl_f_data): Likewise.
50255         (struct test_if_f_data): Likewise.
50256         (struct test_fff_f_data): Likewise.
50257         (struct test_c_f_data): Likewise.
50258         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
50259         (struct test_fF_f1_data): Likewise.
50260         (struct test_ffI_f1_data): Likewise.
50261         (struct test_c_c_data): Remove max_ulp field.
50262         (struct test_cc_c_data): Likewise.
50263         (struct test_f_i_data): Likewise.
50264         (struct test_ff_i_data): Likewise.
50265         (struct test_f_l_data): Likewise.
50266         (struct test_f_L_data): Likewise.
50267         (struct test_sincos_data): Likewise.
50268         (RUN_TEST_f_f): Do not handle ulps.
50269         (RUN_TEST_LOOP_f_f): Likewise.
50270         (RUN_TEST_2_f): Likewise.
50271         (RUN_TEST_LOOP_2_f): Likewise.
50272         (RUN_TEST_fff_f): Likewise.
50273         (RUN_TEST_LOOP_fff_f): Likewise.
50274         (RUN_TEST_c_f): Likewise.
50275         (RUN_TEST_LOOP_c_f): Likewise.
50276         (RUN_TEST_f_f1): Likewise.
50277         (RUN_TEST_LOOP_f_f1): Likewise.
50278         (RUN_TEST_fF_f1): Likewise.
50279         (RUN_TEST_LOOP_fF_f1): Likewise.
50280         (RUN_TEST_fI_f1): Likewise.
50281         (RUN_TEST_LOOP_fI_f1): Likewise.
50282         (RUN_TEST_ffI_f1): Likewise.
50283         (RUN_TEST_LOOP_ffI_f1): Likewise.
50284         (RUN_TEST_c_c): Likewise.
50285         (RUN_TEST_LOOP_c_c): Likewise.
50286         (RUN_TEST_cc_c): Likewise.
50287         (RUN_TEST_LOOP_cc_c): Likewise.
50288         (RUN_TEST_f_i): Likewise.
50289         (RUN_TEST_LOOP_f_i): Likewise.
50290         (RUN_TEST_f_i_tg): Likewise.
50291         (RUN_TEST_LOOP_f_i_tg): Likewise.
50292         (RUN_TEST_ff_i_tg): Likewise.
50293         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50294         (RUN_TEST_f_b): Likewise.
50295         (RUN_TEST_LOOP_f_b): Likewise.
50296         (RUN_TEST_f_b_tg): Likewise.
50297         (RUN_TEST_LOOP_f_b_tg): Likewise.
50298         (RUN_TEST_f_l): Likewise.
50299         (RUN_TEST_LOOP_f_l): Likewise.
50300         (RUN_TEST_f_L): Likewise.
50301         (RUN_TEST_LOOP_f_L): Likewise.
50302         (RUN_TEST_sincos): Likewise.
50303         (RUN_TEST_LOOP_sincos): Likewise.
50305 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
50307         [BZ #15480]
50308         [BZ #15485]
50309         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
50310         main case of finite arguments, set rounding mode to FE_TONEAREST
50311         and discard exceptions.
50312         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
50313         exceptions.
50314         (remainder_tonearest_test_data): New variable.
50315         (remainder_test_tonearest): New function.
50316         (remainder_towardzero_test_data): New variable.
50317         (remainder_test_towardzero): New function.
50318         (remainder_downward_test_data): New variable.
50319         (remainder_test_downward): New function.
50320         (remainder_upward_test_data): New variable.
50321         (remainder_test_upward): New function.
50322         (main): Call the new test functions.
50324         * math/libm-test.inc (struct test_f_f1_data): Remove field
50325         extra_init.
50326         (struct test_fF_f1_data): Likewise.
50327         (struct test_ffI_f1_data): Likewise.
50328         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
50329         based on value of EXTRA_EXPECTED.
50330         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
50331         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
50332         EXTRA_VAR based on value of EXTRA_EXPECTED.
50333         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
50334         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
50335         EXTRA_VAR based on value of EXTRA_EXPECTED.
50336         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
50337         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
50338         EXTRA_VAR based on value of EXTRA_EXPECTED.
50339         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
50340         * math/gen-libm-test.pl (parse_args): Don't output initializers
50341         for extra output values.
50343         * math/libm-test.inc (check_int): Expect result to be exactly
50344         equal to expected value and do not handle ulps.
50345         (check_long): Likewise.
50346         (check_longlong): Likewise.
50348         * math/libm-test.inc (ceil_test_data): Test for "inexact"
50349         exceptions.
50350         (cimag_test_data): Likewise.
50351         (conj_test_data): Likewise.
50352         (copysign_test_data): Likewise.
50353         (cproj_test_data): Likewise.
50354         (creal_test_data): Likewise.
50355         (fabs_test_data): Likewise.
50356         (fdim_test_data): Likewise.
50357         (finite_test_data): Likewise.
50358         (floor_test_data): Likewise.
50359         (fmax_test_data): Likewise.
50360         (fmin_test_data): Likewise.
50361         (fmod_test_data): Likewise.
50362         (fpclassify_test_data): Likewise.
50363         (frexp_test_data): Likewise.
50364         (ilogb_test_data): Likewise.
50365         (isfinite_test_data): Likewise.
50366         (isgreater_test_data): Likewise.
50367         (isgreaterequal_test_data): Likewise.
50368         (isinf_test_data): Likewise.
50369         (isless_test_data): Likewise.
50370         (islessequal_test_data): Likewise.
50371         (islessgreater_test_data): Likewise.
50372         (isnan_test_data): Likewise.
50373         (isnormal_test_data): Likewise.
50374         (issignaling_test_data): Likewise.
50375         (isunordered_test_data): Likewise.
50376         (ldexp_test_data): Likewise.
50377         (lrint_test_data): Likewise.
50378         (lrint_test_data) [TEST_FLOAT]: Disable one test.
50379         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
50380         (lrint_tonearest_test_data): Test for "inexact" exceptions.
50381         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50382         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
50383         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50384         test input.
50385         (lrint_towardzero_test_data): Test for "inexact" exceptions.
50386         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50387         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
50388         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
50389         that test input.
50390         (lrint_downward_test_data): Test for "inexact" exceptions.
50391         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50392         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
50393         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
50394         test input.
50395         (lrint_upward_test_data): Test for "inexact" exceptions.
50396         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
50397         test input.
50398         (llrint_test_data): Test for "inexact" exceptions.
50399         (llrint_test_data) [TEST_FLOAT]: Disable one test.
50400         (llrint_tonearest_test_data): Test for "inexact" exceptions.
50401         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
50402         (llrint_towardzero_test_data): Test for "inexact" exceptions.
50403         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
50404         (llrint_downward_test_data): Test for "inexact" exceptions.
50405         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
50406         (llrint_upward_test_data): Test for "inexact" exceptions.
50407         (logb_test_data): Likewise.
50408         (logb_downward_test_data): Likewise.
50409         (nextafter_test_data): Likewise.
50410         (nexttoward_test_data): Likewise.
50411         (remainder_test_data): Likewise.
50412         (remquo_test_data): Likewise.
50413         (scalbn_test_data): Likewise.
50414         (scalbln_test_data): Likewise.
50415         (signbit_test_data): Likewise.
50416         (sqrt_test_data): Likewise.
50417         (significand_test_data): Likewise.
50419 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50421         [BZ #15424]
50422         * benchtests/bench-modf.c (struct args): Mark arg0 as
50423         volatile.
50424         * scripts/bench.pl: Mark members of struct args as volatile.
50426 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50428         [BZ # 15497]
50429         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
50430         negative infinity on POWER6 or lower.
50431         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
50433 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
50435         [BZ #15442]
50436         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
50437         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
50438         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
50439         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
50440         (_FP_SETQNAN): New macro.
50441         (_FP_SETQNAN_SEMIRAW): Likewise.
50442         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
50443         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
50444         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
50445         (FP_EXTEND): Use _FP_FRAC_SNANP.
50446         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
50447         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
50448         into account.
50449         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50450         New macro.
50451         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
50452         Likewise.
50454 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50456         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
50457         with DIVIDE_BY_ZERO_EXCEPTION.
50458         (gamma_test_data): Likewise.
50459         (lgamma_test_data): Likewise.
50460         (log_test_data): Likewise.
50461         (log10_test_data): Likewise.
50462         (log2_test_data): Likewise.
50463         (tgamma_test_data): Likewise.
50465         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
50466         (acos_test_tonearest): Likewise.
50467         (acos_test_towardzero): Likewise.
50468         (acos_test_downward): Likewise.
50469         (acos_test_upward): Likewise.
50470         (acosh_test): Likewise.
50471         (asin_test): Likewise.
50472         (asin_test_tonearest): Likewise.
50473         (asin_test_towardzero): Likewise.
50474         (asin_test_downward): Likewise.
50475         (asin_test_upward): Likewise.
50476         (asinh_test): Likewise.
50477         (atan_test): Likewise.
50478         (atanh_test): Likewise.
50479         (atan2_test): Likewise.
50480         (cabs_test): Likewise.
50481         (cacos_test): Likewise.
50482         (cacosh_test): Likewise.
50483         (casin_test): Likewise.
50484         (casinh_test): Likewise.
50485         (catan_test): Likewise.
50486         (catanh_test): Likewise.
50487         (cbrt_test): Likewise.
50488         (ccos_test): Likewise.
50489         (ccosh_test): Likewise.
50490         (cexp_test): Likewise.
50491         (clog_test): Likewise.
50492         (clog10_test): Likewise.
50493         (cos_test): Likewise.
50494         (cos_test_tonearest): Likewise.
50495         (cos_test_towardzero): Likewise.
50496         (cos_test_downward): Likewise.
50497         (cos_test_upward): Likewise.
50498         (cosh_test): Likewise.
50499         (cosh_test_tonearest): Likewise.
50500         (cosh_test_towardzero): Likewise.
50501         (cosh_test_downward): Likewise.
50502         (cosh_test_upward): Likewise.
50503         (cpow_test): Likewise.
50504         (csin_test): Likewise.
50505         (csinh_test): Likewise.
50506         (csqrt_test): Likewise.
50507         (ctan_test): Likewise.
50508         (ctan_test_tonearest): Likewise.
50509         (ctan_test_towardzero): Likewise.
50510         (ctan_test_downward): Likewise.
50511         (ctan_test_upward): Likewise.
50512         (ctanh_test): Likewise.
50513         (ctanh_test_tonearest): Likewise.
50514         (ctanh_test_towardzero): Likewise.
50515         (ctanh_test_downward): Likewise.
50516         (ctanh_test_upward): Likewise.
50517         (erf_test): Likewise.
50518         (erfc_test): Likewise.
50519         (exp_test): Likewise.
50520         (exp_test_tonearest): Likewise.
50521         (exp_test_towardzero): Likewise.
50522         (exp_test_downward): Likewise.
50523         (exp_test_upward): Likewise.
50524         (exp10_test): Likewise.
50525         (exp2_test): Likewise.
50526         (expm1_test): Likewise.
50527         (fmod_test): Likewise.
50528         (gamma_test): Likewise.
50529         (hypot_test): Likewise.
50530         (j0_test): Likewise.
50531         (j1_test): Likewise.
50532         (jn_test): Likewise.
50533         (lgamma_test): Likewise.
50534         (log_test): Likewise.
50535         (log10_test): Likewise.
50536         (log1p_test): Likewise.
50537         (log2_test): Likewise.
50538         (logb_test_downward): Likewise.
50539         (pow_test): Likewise.
50540         (pow_test_tonearest): Likewise.
50541         (pow_test_towardzero): Likewise.
50542         (pow_test_downward): Likewise.
50543         (pow_test_upward): Likewise.
50544         (remainder_test): Likewise.
50545         (remquo_test): Likewise.
50546         (sin_test): Likewise.
50547         (sin_test_tonearest): Likewise.
50548         (sin_test_towardzero): Likewise.
50549         (sin_test_downward): Likewise.
50550         (sin_test_upward): Likewise.
50551         (sincos_test): Likewise.
50552         (sinh_test): Likewise.
50553         (sinh_test_tonearest): Likewise.
50554         (sinh_test_towardzero): Likewise.
50555         (sinh_test_downward): Likewise.
50556         (sinh_test_upward): Likewise.
50557         (sqrt_test): Likewise.
50558         (tan_test): Likewise.
50559         (tan_test_tonearest): Likewise.
50560         (tan_test_towardzero): Likewise.
50561         (tan_test_downward): Likewise.
50562         (tan_test_upward): Likewise.
50563         (tanh_test): Likewise.
50564         (tgamma_test): Likewise.
50565         (y0_test): Likewise.
50566         (y1_test): Likewise.
50567         (yn_test): Likewise.
50569         * math/gen-libm-test.pl (adjust_arg): Remove function.
50570         (special_function): Remove argument $in_func.  Only handle
50571         generating output for tables of tests, not inside functions.
50572         (parse_args): Likewise.
50573         (generate_testfile): Remove variable $in_func.  Update call to
50574         parse_args.
50575         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50576         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50577         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50578         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50579         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50580         (MAX_VALUE_INIT): Rename macro to max_value.
50581         (MIN_VALUE_INIT): Rename macro to min_value.
50582         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50583         (plus_zero): Remove variable.
50584         (minus_zero): Likewise.
50585         (plus_infty): Likewise.
50586         (minus_infty): Likewise.
50587         (qnan_value): Likewise.
50588         (max_value): Likewise.
50589         (min_value): Likewise.
50590         (min_subnorm_value): Likewise.
50592 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50594         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50595         uint64_t or uint32_t usage.
50596         * crypt/sha256-block.c: Likewise.
50597         * crypt/sha256-crypt.c: Likewise.
50598         * crypt/sha256.c: Likewise.
50599         * crypt/sha512-block.c: Likewise.
50600         * crypt/sha512-crypt.c: Likewise.
50601         * crypt/sha512.c: Likewise.
50602         * debug/backtrace-tst.c: Likewise.
50603         * debug/pcprofiledump.c: Likewise.
50604         * elf/cache.c: Likewise.
50605         * elf/dl-cache.c: Likewise.
50606         * elf/dl-misc.c: Likewise.
50607         * elf/dl-profile.c: Likewise.
50608         * elf/dl-support.c: Likewise.
50609         * elf/ldconfig.c: Likewise.
50610         * elf/sprof.c: Likewise.
50611         * iconv/dummy-repertoire.c: Likewise.
50612         * iconv/iconv_charmap.c: Likewise.
50613         * iconv/skeleton.c: Likewise.
50614         * iconvdata/8bit-generic.c: Likewise.
50615         * iconvdata/cp737.h: Likewise.
50616         * iconvdata/cp775.h: Likewise.
50617         * iconvdata/ibm1008.h: Likewise.
50618         * iconvdata/ibm1025.h: Likewise.
50619         * iconvdata/ibm1046.h: Likewise.
50620         * iconvdata/ibm1097.h: Likewise.
50621         * iconvdata/ibm1112.h: Likewise.
50622         * iconvdata/ibm1122.h: Likewise.
50623         * iconvdata/ibm1123.h: Likewise.
50624         * iconvdata/ibm1124.h: Likewise.
50625         * iconvdata/ibm1129.h: Likewise.
50626         * iconvdata/ibm1130.h: Likewise.
50627         * iconvdata/ibm1132.h: Likewise.
50628         * iconvdata/ibm1133.h: Likewise.
50629         * iconvdata/ibm1137.h: Likewise.
50630         * iconvdata/ibm1140.h: Likewise.
50631         * iconvdata/ibm1141.h: Likewise.
50632         * iconvdata/ibm1142.h: Likewise.
50633         * iconvdata/ibm1143.h: Likewise.
50634         * iconvdata/ibm1144.h: Likewise.
50635         * iconvdata/ibm1145.h: Likewise.
50636         * iconvdata/ibm1146.h: Likewise.
50637         * iconvdata/ibm1147.h: Likewise.
50638         * iconvdata/ibm1148.h: Likewise.
50639         * iconvdata/ibm1149.h: Likewise.
50640         * iconvdata/ibm1153.h: Likewise.
50641         * iconvdata/ibm1154.h: Likewise.
50642         * iconvdata/ibm1155.h: Likewise.
50643         * iconvdata/ibm1156.h: Likewise.
50644         * iconvdata/ibm1157.h: Likewise.
50645         * iconvdata/ibm1158.h: Likewise.
50646         * iconvdata/ibm1160.h: Likewise.
50647         * iconvdata/ibm1161.h: Likewise.
50648         * iconvdata/ibm1162.h: Likewise.
50649         * iconvdata/ibm1163.h: Likewise.
50650         * iconvdata/ibm1164.h: Likewise.
50651         * iconvdata/ibm1166.h: Likewise.
50652         * iconvdata/ibm1167.h: Likewise.
50653         * iconvdata/ibm12712.h: Likewise.
50654         * iconvdata/ibm1390.h: Likewise.
50655         * iconvdata/ibm1399.h: Likewise.
50656         * iconvdata/ibm16804.h: Likewise.
50657         * iconvdata/ibm4517.h: Likewise.
50658         * iconvdata/ibm4899.h: Likewise.
50659         * iconvdata/ibm4909.h: Likewise.
50660         * iconvdata/ibm4971.h: Likewise.
50661         * iconvdata/ibm5347.h: Likewise.
50662         * iconvdata/ibm803.h: Likewise.
50663         * iconvdata/ibm856.h: Likewise.
50664         * iconvdata/ibm901.h: Likewise.
50665         * iconvdata/ibm902.h: Likewise.
50666         * iconvdata/ibm9030.h: Likewise.
50667         * iconvdata/ibm9066.h: Likewise.
50668         * iconvdata/ibm921.h: Likewise.
50669         * iconvdata/ibm922.h: Likewise.
50670         * iconvdata/ibm9448.h: Likewise.
50671         * iconvdata/isiri-3342.h: Likewise.
50672         * iconvdata/jis0201.h: Likewise.
50673         * include/link.h: Likewise.
50674         * include/netdb.h: Likewise.
50675         * inet/check_native.c: Likewise.
50676         * inet/check_pf.c: Likewise.
50677         * inet/getipv4sourcefilter.c: Likewise.
50678         * inet/getnameinfo.c: Likewise.
50679         * inet/getsourcefilter.c: Likewise.
50680         * inet/htonl.c: Likewise.
50681         * inet/setipv4sourcefilter.c: Likewise.
50682         * inet/setsourcefilter.c: Likewise.
50683         * inet/test-inet6_opt.c: Likewise.
50684         * inet/tst-network.c: Likewise.
50685         * locale/C-collate.c: Likewise.
50686         * locale/C-ctype.c: Likewise.
50687         * locale/C-time.c: Likewise.
50688         * locale/C-translit.h: Likewise.
50689         * locale/loadarchive.c: Likewise.
50690         * locale/programs/3level.h: Likewise.
50691         * locale/programs/charmap.c: Likewise.
50692         * locale/programs/charmap.h: Likewise.
50693         * locale/programs/ld-address.c: Likewise.
50694         * locale/programs/ld-collate.c: Likewise.
50695         * locale/programs/ld-ctype.c: Likewise.
50696         * locale/programs/ld-identification.c: Likewise.
50697         * locale/programs/ld-measurement.c: Likewise.
50698         * locale/programs/ld-messages.c: Likewise.
50699         * locale/programs/ld-monetary.c: Likewise.
50700         * locale/programs/ld-name.c: Likewise.
50701         * locale/programs/ld-numeric.c: Likewise.
50702         * locale/programs/ld-paper.c: Likewise.
50703         * locale/programs/ld-telephone.c: Likewise.
50704         * locale/programs/ld-time.c: Likewise.
50705         * locale/programs/linereader.c: Likewise.
50706         * locale/programs/locale.c: Likewise.
50707         * locale/programs/locarchive.c: Likewise.
50708         * locale/programs/locfile.h: Likewise.
50709         * locale/programs/repertoire.c: Likewise.
50710         * locale/programs/simple-hash.c: Likewise.
50711         * locale/programs/simple-hash.h: Likewise.
50712         * malloc/memusage.c: Likewise.
50713         * malloc/memusagestat.c: Likewise.
50714         * nis/nis_defaults.c: Likewise.
50715         * nis/nis_hash.c: Likewise.
50716         * nis/nis_print.c: Likewise.
50717         * nis/nis_xdr.c: Likewise.
50718         * nscd/connections.c: Likewise.
50719         * nscd/hstcache.c: Likewise.
50720         * nscd/nscd_gethst_r.c: Likewise.
50721         * nscd/nscd_getserv_r.c: Likewise.
50722         * nscd/nscd_helper.c: Likewise.
50723         * nscd/servicescache.c: Likewise.
50724         * nss/makedb.c: Likewise.
50725         * nss/nss_db/db-XXX.c: Likewise.
50726         * nss/nss_db/db-initgroups.c: Likewise.
50727         * nss/nss_db/db-netgrp.c: Likewise.
50728         * nss/nss_files/files-network.c: Likewise.
50729         * nss/nss_files/files-parse.c: Likewise.
50730         * posix/bug-regex5.c: Likewise.
50731         * posix/fnmatch_loop.c: Likewise.
50732         * posix/regcomp.c: Likewise.
50733         * posix/regexec.c: Likewise.
50734         * posix/tst-rfc3484-2.c: Likewise.
50735         * posix/tst-rfc3484-3.c: Likewise.
50736         * posix/tst-rfc3484.c: Likewise.
50737         * resolv/nss_dns/dns-canon.c: Likewise.
50738         * resolv/nss_dns/dns-network.c: Likewise.
50739         * resolv/res_init.c: Likewise.
50740         * resolv/res_mkquery.c: Likewise.
50741         * resolv/tst-aton.c: Likewise.
50742         * stdlib/cxa_atexit.c: Likewise.
50743         * stdlib/cxa_finalize.c: Likewise.
50744         * stdlib/gen-fpioconst.c: Likewise.
50745         * stdlib/strtol_l.c: Likewise.
50746         * string/tst-endian.c: Likewise.
50747         * sunrpc/auth_des.c: Likewise.
50748         * sunrpc/clnt_udp.c: Likewise.
50749         * sunrpc/rtime.c: Likewise.
50750         * sunrpc/svcauth_des.c: Likewise.
50751         * sunrpc/xdr.c: Likewise.
50752         * sunrpc/xdr_intXX_t.c: Likewise.
50753         * sunrpc/xdr_rec.c: Likewise.
50754         * sysdeps/generic/ldconfig.h: Likewise.
50755         * sysdeps/generic/ldsodefs.h: Likewise.
50756         * sysdeps/generic/memusage.h: Likewise.
50757         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50758         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50759         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50760         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50761         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50762         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50763         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50764         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50765         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50766         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50767         * sysdeps/posix/getaddrinfo.c: Likewise.
50768         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50769         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50770         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50771         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50772         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50773         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50774         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50775         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50776         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50777         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50778         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50779         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50780         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50781         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50782         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50783         * sysdeps/x86_64/dl-tls.h: Likewise.
50784         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50785         * time/alt_digit.c: Likewise.
50786         * time/era.c: Likewise.
50787         * wcsmbs/tst-c16c32-1.c: Likewise.
50789 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50791         * math/libm-test.inc (struct test_sincos_data): New type.
50792         (RUN_TEST_LOOP_sincos): New macro.
50793         (sincos_test_data): New variable.
50794         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50796 2013-05-16  Richard Henderson  <rth@redhat.com>
50798         * math/atest-exp2.c (LIMB64): New macro.
50799         (CONSTSZ): New macro.
50800         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50801         (hexdig): Move ...
50802         (print_mpn_fp): ... to function scope.
50803         (read_mpn_hex): Remove.
50804         (get_log2): Remove.
50805         (exp2_mpn): Use mp_log2.
50806         (main): Use mp_exp1.
50808 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50810         * math/libm-test.inc: Remove comment about not testing "inexact"
50811         exceptions.
50812         (INEXACT_EXCEPTION): New macro.
50813         (NO_INEXACT_EXCEPTION): Likewise.
50814         (INVALID_EXCEPTION_OK): Update value.
50815         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50816         (OVERFLOW_EXCEPTION_OK): Likewise.
50817         (UNDERFLOW_EXCEPTION_OK): Likewise.
50818         (IGNORE_ZERO_INF_SIGN): Likewise.
50819         (ERRNO_UNCHANGED): Likewise.
50820         (ERRNO_EDOM): Likewise.
50821         (ERRNO_ERANGE): Likewise.
50822         (test_exceptions): Handle testing "inexact" exceptions.
50823         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50824         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50825         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50826         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50827         INEXACT_EXCEPTION.
50828         (rint_towardzero_test_data): Likewise.
50829         (rint_downward_test_data): Likewise.
50830         (rint_upward_test_data): Likewise.
50832         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50833         with OVERFLOW_EXCEPTION.
50834         (exp10_test_data): Likewise.
50835         (exp2_test_data): Likewise.
50836         (expm1_test_data): Likewise.
50837         (lgamma_test_data): Likewise.
50838         (pow_test_data): Likewise.
50839         (tgamma_test_data): Likewise.
50840         (yn_test_data): Remove duplicate test of overflow.
50842         * math/libm-test.inc (struct test_cc_c_data): New type.
50843         (RUN_TEST_LOOP_cc_c): New macro.
50844         (cpow_test_data): New variable.
50845         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50847         * math/libm-test.inc (struct test_f_L_data): New type.
50848         (RUN_TEST_LOOP_f_L): New macro.
50849         (llrint_test_data): New variable.
50850         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50851         (llrint_tonearest_test_data): New variable.
50852         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50853         (llrint_towardzero_test_data): New variable.
50854         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50855         (llrint_downward_test_data): New variable.
50856         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50857         (llrint_upward_test_data): New variable.
50858         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50859         (llround_test_data): New variable.
50860         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50862 2013-05-13  Peter Collingbourne  <pcc@google.com>
50864         * math/atest-exp2.c (get_log2): Remove const attribute.
50866 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50868         * math/libm-test.inc (struct test_f_l_data): New type.
50869         (RUN_TEST_LOOP_f_l): New macro.
50870         (lrint_test_data): New variable.
50871         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50872         (lrint_tonearest_test_data): New variable.
50873         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50874         (lrint_towardzero_test_data): New variable.
50875         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50876         (lrint_downward_test_data): New variable.
50877         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50878         (lrint_upward_test_data): New variable.
50879         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50880         (lround_test_data): New variable.
50881         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50883 2013-05-15  Peter Collingbourne  <pcc@google.com>
50885         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50886         (EXTRACT_WORDS64) Use where appropriate.
50887         (INSERT_WORDS64) Likewise.
50889         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50890         constraints with x constraints.
50891         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50893         * malloc/obstack.c (_obstack_compat): Add initializer.
50895 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50897         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50898         si_trapno and add si_addr_lsb to _sifields.sigfault.
50899         (si_trapno): Remove macro.
50900         (si_addr_lsb): Define new macro.
50901         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50903 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50905         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50906         instead of TEST_f_l.
50907         (llrint_test_tonearest): Likewise.
50908         (llrint_test_towardzero): Likewise.
50909         (llrint_test_downward): Likewise.
50910         (llrint_test_upward): Likewise.
50911         (llround_test): Likewise.
50913         * math/libm-test.inc (struct test_f_i_data): Add comment.
50914         (RUN_TEST_LOOP_f_b): New macro.
50915         (RUN_TEST_LOOP_f_b_tg): Likewise.
50916         (finite_test_data): New variable.
50917         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50918         (isfinite_test_data): New variable.
50919         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50920         (isinf_test_data): New variable.
50921         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50922         (isnan_test_data): New variable.
50923         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50924         (isnormal_test_data): New variable.
50925         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50926         (issignaling_test_data): New variable.
50927         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50928         (signbit_test_data): New variable.
50929         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50931         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50932         with INVALID_EXCEPTION.
50933         (acosh_test_data): Likewise.
50934         (asin_test_data): Likewise.
50935         (atanh_test_data): Likewise.
50936         (fmod_test_data): Likewise.
50937         (log_test_data): Likewise.
50938         (log10_test_data): Likewise.
50939         (log2_test_data): Likewise.
50940         (pow_test_data): Likewise.
50941         (sqrt_test_data): Likewise.
50942         (y0_test_data): Likewise.
50943         (y1_test_data): Likewise.
50944         (yn_test_data): Likewise.
50946         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50947         function contents.
50949         * math/libm-test.inc (struct test_ff_i_data): New type.
50950         (RUN_TEST_LOOP_ff_i_tg): New macro.
50951         (isgreater_test_data): New variable.
50952         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50953         (isgreaterequal_test_data): New variable.
50954         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50955         (isless_test_data): New variable.
50956         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50957         (islessequal_test_data): New variable.
50958         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50959         (islessgreater_test_data): New variable.
50960         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50961         (isunordered_test_data): New variable.
50962         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50964 2013-05-14  David S. Miller  <davem@davemloft.net>
50966         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50968 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50970         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50972         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50973         extra_test to int.
50974         (struct test_f_i_data): Change type of max_ulp to int.
50976         * math/libm-test.inc (test_ffI_f1_data): New type.
50977         (RUN_TEST_LOOP_ffI_f1): New macro.
50978         (remquo_test_data): New variable.
50979         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50981         * setjmp/tst-setjmp-fp.c: New file.
50982         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50983         (link-libm): New variable.
50984         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50986         * math/libm-test.inc (struct test_f_i_data): New type.
50987         (RUN_TEST_LOOP_f_i): New macro.
50988         (RUN_TEST_LOOP_f_i_tg): Likewise.
50989         (fpclassify_test_data): New variable.
50990         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50991         (ilogb_test_data): New variable.
50992         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50994         * math/libm-test.inc (scalbln_test): Correct function name in END
50995         call.
50997         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50998         (RUN_TEST_LOOP_fI_f1): New macro.
50999         (frexp_test_data): New variable.
51000         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
51002         * math/libm-test.inc (struct test_fF_f1_data): New type.
51003         (RUN_TEST_LOOP_fF_f1): New macro.
51004         (modf_test_data): New variable.
51005         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
51007         * math/libm-test.inc (struct test_f_f1_data): New type.
51008         (RUN_TEST_LOOP_f_f1): New macro.
51009         (gamma_test_data): New variable.
51010         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51011         (lgamma_test_data): New variable.
51012         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
51014 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
51016         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
51017         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
51018         (main): Comment "tls" pseudo-hwcap.
51020 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
51022         * math/libm-test.inc (struct test_fl_f_data): New type.
51023         (RUN_TEST_LOOP_fl_f): New variable.
51024         (scalbln_test_data): New variable.
51025         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
51027         * math/libm-test.inc (struct test_fi_f_data): New type.
51028         (RUN_TEST_LOOP_fi_f): New macro.
51029         (ldexp_test_data): New variable.
51030         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
51031         (scalbn_test_data): New variable.
51032         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
51034         * math/libm-test.inc (struct test_c_f_data): New type.
51035         (RUN_TEST_LOOP_c_f): New macro.
51036         (cabs_test_data): New variable.
51037         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
51038         (carg_test_data): New variable.
51039         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
51040         (cimag_test_data): New variable.
51041         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
51042         (creal_test_data): New variable.
51043         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
51045         * math/libm-test.inc (struct test_if_f_data): New type.
51046         (RUN_TEST_LOOP_if_f): New macro.
51047         (jn_test_data): New variable.
51048         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
51049         (yn_test_data): New variable.
51050         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
51052         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
51054 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51056         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
51057         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
51059 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51061         * benchtests/Makefile (CPPFLAGS-nonlib): Add
51062         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
51063         (bench-deps): Add bench-timing.h.
51064         * benchtests-bench-skeleton.c: Include bench-timing.h.
51065         (main): Use TIMING_* macros instead of clock_gettime.
51066         * benchtests/bench-timing.h: New file.
51068         [BZ #14582]
51069         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
51070         Renamed from _LIB_VERSION.
51071         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
51073 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
51075         * math/libm-test.inc (struct test_fff_f_data): New type.
51076         (RUN_TEST_LOOP_fff_f): New macro.
51077         (fma_test_data): New variable.
51078         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
51079         (fma_towardzero_test_data): New variable.
51080         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
51081         (fma_downward_test_data): New variable.
51082         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
51083         (fma_upward_test_data): New variable.
51084         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
51086         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
51087         (struct test_c_c_data): New type.
51088         (RUN_TEST_LOOP_c_c): New macro.
51089         (cacos_test_data): New variable.
51090         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
51091         (cacosh_test_data): New variable.
51092         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
51093         (casin_test_data): New variable.
51094         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
51095         (casinh_test_data): New variable.
51096         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
51097         (catan_test_data): New variable.
51098         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
51099         (catanh_test_data): New variable.
51100         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
51101         (ccos_test_data): New variable.
51102         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
51103         (ccosh_test_data): New variable.
51104         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
51105         (cexp_test_data): New variable.
51106         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
51107         (clog_test_data): New variable.
51108         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
51109         (clog10_test_data): New variable.
51110         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
51111         (conj_test_data): New variable.
51112         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
51113         (cproj_test_data): New variable.
51114         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
51115         (csin_test_data): New variable.
51116         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
51117         (csinh_test_data): New variable.
51118         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
51119         (csqrt_test_data): New variable.
51120         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
51121         (ctan_test_data): New variable.
51122         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
51123         (ctan_tonearest_test_data): New variable.
51124         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51125         (ctan_towardzero_test_data): New variable.
51126         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51127         (ctan_downward_test_data): New variable.
51128         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51129         (ctan_upward_test_data): New variable.
51130         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51131         (ctanh_test_data): New variable.
51132         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
51133         (ctanh_tonearest_test_data): New variable.
51134         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
51135         (ctanh_towardzero_test_data): New variable.
51136         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
51137         (ctanh_downward_test_data): New variable.
51138         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
51139         (ctanh_upward_test_data): New variable.
51140         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
51141         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
51142         of BUILD_COMPLEX.
51144         * math/libm-test.inc (struct test_ff_f_data): New type.
51145         (struct test_ff_f_data_nexttoward): Likewise.
51146         (RUN_TEST_LOOP_2_f): New macro.
51147         (RUN_TEST_LOOP_ff_f): Likewise.
51148         (atan2_test_data): New variable.
51149         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
51150         (copysign_test_data): New variable.
51151         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
51152         (fdim_test_data): New variable.
51153         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
51154         (fmax_test_data): New variable.
51155         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
51156         (fmin_test_data): New variable.
51157         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
51158         (fmod_test_data): New variable.
51159         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
51160         (hypot_test_data): New variable.
51161         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
51162         (nextafter_test_data): New variable.
51163         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
51164         (nexttoward_test_data): New variable.
51165         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
51166         (pow_test_data): New variable.
51167         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
51168         (pow_tonearest_test_data): New variable.
51169         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
51170         (pow_towardzero_test_data): New variable.
51171         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
51172         (pow_downward_test_data): New variable.
51173         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
51174         (pow_upward_test_data): New variable.
51175         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
51176         (remainder_test_data): New variable.
51177         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
51178         (scalb_test_data): New variable.
51179         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
51180         * sysdeps/i386/fpu/libm-test-ulps: Update.
51182 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
51184         * math/libm-test.inc (fma_test): Use max_value instead of local
51185         variable fltmax.
51186         (nextafter_test): Likewise.
51188         * math/libm-test.inc (acos_towardzero_test_data): New variable.
51189         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51190         (acos_downward_test_data): New variable.
51191         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51192         (acos_upward_test_data): New variable.
51193         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51194         (acosh_test_data): New variable.
51195         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
51196         (asin_test_data): New variable.
51197         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
51198         (asin_tonearest_test_data): New variable.
51199         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51200         (asin_towardzero_test_data): New variable.
51201         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51202         (asin_downward_test_data): New variable.
51203         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51204         (asin_upward_test_data): New variable.
51205         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51206         (asinh_test_data): New variable.
51207         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
51208         (atan_test_data): New variable.
51209         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
51210         (atanh_test_data): New variable.
51211         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
51212         (cbrt_test_data): New variable.
51213         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
51214         (ceil_test_data): New variable.
51215         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
51216         (cos_test_data): New variable.
51217         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
51218         (cos_tonearest_test_data): New variable.
51219         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51220         (cos_towardzero_test_data): New variable.
51221         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51222         (cos_downward_test_data): New variable.
51223         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51224         (cos_upward_test_data): New variable.
51225         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51226         (cosh_test_data): New variable.
51227         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
51228         (cosh_tonearest_test_data): New variable.
51229         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51230         (cosh_towardzero_test_data): New variable.
51231         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51232         (cosh_downward_test_data): New variable.
51233         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51234         (cosh_upward_test_data): New variable.
51235         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51236         (erf_test_data): New variable.
51237         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
51238         (erfc_test_data): New variable.
51239         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
51240         (exp_test_data): New variable.
51241         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
51242         (exp_tonearest_test_data): New variable.
51243         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51244         (exp_towardzero_test_data): New variable.
51245         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51246         (exp_downward_test_data): New variable.
51247         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51248         (exp_upward_test_data): New variable.
51249         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51250         (exp10_test_data): New variable.
51251         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
51252         (exp2_test_data): New variable.
51253         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
51254         (expm1_test_data): New variable.
51255         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
51256         (fabs_test_data): New variable.
51257         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
51258         (floor_test_data): New variable.
51259         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
51260         (j0_test_data): New variable.
51261         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
51262         (j1_test_data): New variable.
51263         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
51264         (log_test_data): New variable.
51265         (log_test): Run tests with RUN_TEST_LOOP_f_f.
51266         (log10_test_data): New variable.
51267         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
51268         (log1p_test_data): New variable.
51269         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
51270         (log2_test_data): New variable.
51271         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
51272         (logb_test_data): New variable.
51273         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
51274         (logb_downward_test_data): New variable.
51275         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51276         (nearbyint_test_data): New variable.
51277         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
51278         (rint_test_data): New variable.
51279         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
51280         (rint_tonearest_test_data): New variable.
51281         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51282         (rint_towardzero_test_data): New variable.
51283         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51284         (rint_downward_test_data): New variable.
51285         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51286         (rint_upward_test_data): New variable.
51287         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51288         (round_test_data): New variable.
51289         (round_test): Run tests with RUN_TEST_LOOP_f_f.
51290         (sin_test_data): New variable.
51291         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
51292         (sin_tonearest_test_data): New variable.
51293         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51294         (sin_towardzero_test_data): New variable.
51295         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51296         (sin_downward_test_data): New variable.
51297         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51298         (sin_upward_test_data): New variable.
51299         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51300         (sinh_test_data): New variable.
51301         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
51302         (sinh_tonearest_test_data): New variable.
51303         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51304         (sinh_towardzero_test_data): New variable.
51305         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51306         (sinh_downward_test_data): New variable.
51307         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51308         (sinh_upward_test_data): New variable.
51309         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51310         (sqrt_test_data): New variable.
51311         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
51312         (tan_test_data): New variable.
51313         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
51314         (tan_tonearest_test_data): New variable.
51315         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51316         (tan_towardzero_test_data): New variable.
51317         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51318         (tan_downward_test_data): New variable.
51319         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
51320         (tan_upward_test_data): New variable.
51321         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
51322         (tanh_test_data): New variable.
51323         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
51324         (tgamma_test_data): New variable.
51325         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
51326         (trunc_test_data): New variable.
51327         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
51328         (y0_test_data): New variable.
51329         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
51330         (y1_test_data): New variable.
51331         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
51332         (significand_test_data): New variable.
51333         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
51335 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
51337         [BZ #12387]
51338         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
51340 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51342         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
51344 2013-05-10  Andreas Jaeger  <aj@suse.de>
51346         [BZ #15448]
51347         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
51348         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
51350 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51352         * math/gen-libm-test.pl (adjust_arg): New function.
51353         (special_functions): Handle generating output in both functions
51354         and arrays.
51355         (parse_args): Likewise.
51356         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
51357         $in_func argument to parse_args.
51358         * math/libm-test.inc (struct test_f_f_data): New type.
51359         (IF_ROUND_INIT_): New macro.
51360         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
51361         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51362         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51363         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51364         (ROUND_RESTORE_): Likewise.
51365         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
51366         (ROUND_RESTORE_FE_TONEAREST): Likewise.
51367         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
51368         (ROUND_RESTORE_FE_UPWARD): Likewise.
51369         (RUN_TEST_LOOP_f_f): New macro.
51370         (acos_test_data): New variable.
51371         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
51372         (acos_tonearest_test_data): New variable.
51373         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
51375 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51377         * benchtests/bench-skeleton.c (startup): Fix coding style.
51379 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
51381         [BZ #6809]
51382         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
51383         negative infinity argument.
51384         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
51385         negative infinity argument.
51386         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
51387         negative infinity argument.
51388         * math/libm-test.inc (tgamma_test): Expect errno to be set for
51389         domain errors.
51391 2013-05-10  Florian Weimer  <fweimer@redhat.com>
51393         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
51394         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
51395         * iconv/iconv_prog.c (main): Likewise.
51396         * locale/programs/charmap-dir.c (charmap_readdir)
51397         (fopen_uncompressed): Likewise.
51398         * locale/programs/locfile.c (siblings_uncached)
51399         (write_locale_data): Use lstat64 instead of lstat.
51400         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
51401         stat.
51403 2013-05-10  Andreas Jaeger  <aj@suse.de>
51405         [BZ #15395]
51406         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
51407         localization.
51408         Include <locale.h>.
51410 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
51412         * elf/dl-close.c (_dl_close_worker): Add comments.
51414 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
51416         [BZ #15359]
51417         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
51418         high part of pi/2.
51419         (__ieee754_rem_pio2l): Update comments.
51421         [BZ #15429]
51422         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
51423         high part of pi/2.
51424         (__ieee754_rem_pio2l): Update comments.
51426         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
51427         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
51429         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
51430         M_PI_4l.
51432         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
51433         (M_PI_34_LOG10El): Likewise.
51434         (M_PI2_LOG10El): Likewise.
51435         (M_PI4_LOG10El): Likewise.
51436         (M_PI_LOG10El): Likewise.
51438 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51442 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
51444         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
51445         (MINUS_ZERO_INIT): Likewise.
51446         (PLUS_INFTY_INIT): Likewise.
51447         (MINUS_INFTY_INIT): Likewise.
51448         (QNAN_VALUE_INIT): Likewise.
51449         (MAX_VALUE_INIT): Likewise.
51450         (MIN_VALUE_INIT): Likewise.
51451         (MIN_SUBNORM_VALUE_INIT): Likewise.
51452         (plus_zero): Initialize with PLUS_ZERO_INIT.
51453         (minus_zero): Initialize with MINUS_ZERO_INIT.
51454         (plus_infty): Initialize with PLUS_INFTY_INIT.
51455         (minus_infty): Initialize with MINUS_INFTY_INIT.
51456         (qnan_value): Initialize with QNAN_VALUE_INIT.
51457         (max_value): Initialize with MAX_VALUE_INIT.
51458         (min_value): Initialize with MIN_VALUE_INIT.
51459         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
51461         * math/libm-test.inc (RUN_TEST_if_f): New macro.
51462         (jn_test): Use TEST_if_f instead of TEST_ff_f.
51463         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
51464         (yn_test): Use TEST_if_f instead of TEST_ff_f.
51466         * math/libm-test.inc (RUN_TEST_f_f): New macro.
51467         (RUN_TEST_2_f): Likewise.
51468         (RUN_TEST_ff_f): Likewise.
51469         (RUN_TEST_fi_f): Likewise.
51470         (RUN_TEST_fl_f): Likewise.
51471         (RUN_TEST_fff_f): Likewise.
51472         (RUN_TEST_c_f): Likewise.
51473         (RUN_TEST_f_f1): Likewise.
51474         (RUN_TEST_fF_f1): Likewise.
51475         (RUN_TEST_fI_f1): Likewise.
51476         (RUN_TEST_ffI_f1): Likewise.
51477         (RUN_TEST_c_c): Likewise.
51478         (RUN_TEST_cc_c): Likewise.
51479         (RUN_TEST_f_i): Likewise.
51480         (RUN_TEST_f_i_tg): Likewise.
51481         (RUN_TEST_ff_i_tg): Likewise.
51482         (RUN_TEST_f_b): Likewise.
51483         (RUN_TEST_f_b_tg): Likewise.
51484         (RUN_TEST_f_l): Likewise.
51485         (RUN_TEST_f_L): Likewise.
51486         (RUN_TEST_sincos): Likewise.
51487         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51488         whether to show exceptions.  Do not include ");\n" in return
51489         value.
51490         (special_functions): Output call to RUN_TEST_sincos instead of
51491         check_float calls.  Update calls to new_test.
51492         (parse_args): Output call to single RUN_TEST_* macro instead of
51493         check_* calls and other assignments.  Update calls to new_test.
51495         [BZ #2546]
51496         [BZ #2560]
51497         [BZ #5159]
51498         [BZ #15426]
51499         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51500         input to result for tgamma overflow.
51501         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51502         (gamma_coeff): New variable.
51503         (NCOEFF): New macro.
51504         (gamma_positive): New function.
51505         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51506         underflow here.  Use gamma_positive instead of exp (lgamma) for
51507         other arguments.
51508         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51509         (gamma_coeff): New variable.
51510         (NCOEFF): New macro.
51511         (gammaf_positive): New function.
51512         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51513         underflow here.  Use gamma_positive instead of exp (lgamma) for
51514         other arguments.
51515         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51516         (gamma_coeff): New variable.
51517         (NCOEFF): New macro.
51518         (gammal_positive): New function.
51519         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51520         underflow here.  Use gamma_positive instead of exp (lgamma) for
51521         other arguments.
51522         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51523         (gamma_coeff): New variable.
51524         (NCOEFF): New macro.
51525         (gammal_positive): New function.
51526         (__ieee754_gammal_r): Handle positive infinity, overflow and
51527         underflow here.  Handle NaN the same as positive infinity.  Remove
51528         check x < 0xffffffff for negative integers.  Use gamma_positive
51529         instead of exp (lgamma) for other arguments.
51530         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51531         (gamma_coeff): New variable.
51532         (NCOEFF): New macro.
51533         (gammal_positive): New function.
51534         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51535         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51536         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51538         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51539         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51540         * sysdeps/generic/math_private.h (__gamma_productf): New
51541         prototype.
51542         (__gamma_product): Likewise.
51543         (__gamma_productl): Likewise.
51544         * math/Makefile (libm-calls): Add gamma_product.
51545         * math/libm-test.inc (tgamma_test): Add more tests.
51546         * sysdeps/i386/fpu/libm-test-ulps: Update.
51547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51549 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51551         * benchtests/bench-skeleton.c (main): Preheat CPU.
51553 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51555         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51557 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51559         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51560         and _dl_skip_args_internal.
51562 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51564         * manual/message.texi (Message Translation): Talk about users.
51565         Message to key mapping impacts design.
51567 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51569         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51571         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51573         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51574         * sysdeps/wordsize-64/glob64.c: ... here.
51576         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51577         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51578         New macros.
51580         * debug/getlogin_r_chk.c: Moved to ...
51581         * login/getlogin_r_chk.c: ... here.
51582         * debug/Makefile (routines): Move getlogin_r_chk to ...
51583         * login/Makefile (routines): ... here.
51584         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51585         * login/Versions (libc: GLIBC_2.4): ... here.
51587         * io/poll.c (__poll): Renamed from poll.
51588         Add libc_hidden_def.
51589         (poll): Define as weak alias.
51591         * debug/ptsname_r_chk.c: Moved to ...
51592         * login/ptsname_r_chk.c: ... here.
51593         * debug/Makefile (routines): Move ptsname_r_chk to ...
51594         * login/Makefile (routines): ... here.
51595         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51596         * login/Versions (libc: GLIBC_2.4): ... here.
51598         * posix/getlogin.c: Moved to ...
51599         * login/getlogin.c: ... here.
51600         * posix/getlogin_r.c: Moved to ...
51601         * login/getlogin_r.c: ... here.
51602         * posix/getlogin_r.c: Moved to ...
51603         * login/getlogin_r.c: ... here.
51604         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51605         * login/Makefile (routines): ... here.
51606         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51607         * login/Versions (libc: GLIBC_2.0): ... here.
51609         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51610         (setrlimit): Define as weak alias.
51612         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51613         Call __ names for open, ftruncate, and close.
51614         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51615         (truncate): Define as weak alias.
51617 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51619         * math/gen-libm-test.pl (parse_args): Initialize x before each
51620         test of frexp, modf and remquo.
51622         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51623         test signgam value.
51625 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51627         [BZ #15418]
51628         [BZ #15419]
51629         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51630         internal tests.
51631         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51633 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51635         * elf/dl-writev.h: New file.
51636         * elf/dl-misc.c: Include it.
51637         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51638         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51640 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51642         * math/libm-test.inc (noXFails): Remove variable.
51643         (noXPasses): Likewise.
51644         (BUILD_COMPLEX_INT): Remove macro.
51645         (print_screen): Remove xfail argument.
51646         (print_screen_max_error): Likewise.
51647         (update_stats): Likewise.
51648         (print_max_error): Likewise.  Update calls to other affected
51649         functions.
51650         (print_complex_max_error): Likewise.
51651         (test_single_exception): Update calls to print_screen.
51652         (test_single_errno): Likewise.
51653         (check_float_internal): Remove xfail argument.  Update calls to
51654         other affected functions.
51655         (check_float): Likewise.
51656         (check_complex): Likewise.
51657         (check_int): Likewise.
51658         (check_long): Likewise.
51659         (check_bool): Likewise.
51660         (check_longlong): Likewise.
51661         (main): Don't print noXFails and noXPasses.
51662         * math/gen-libm-test.pl (top level): Don't mention expected
51663         failure handling in comment.
51664         (new_test): Don't handle expected failures.
51665         (parse_args): Don't mention expected failure handling in comment.
51666         (generate_testfile): Don't handle expected failures.
51667         (parse_ulps): Likewise.
51668         (print_ulps_file): Likewise.
51669         (get_failure): Remove function.
51670         (output_test): Don't handle expected failures.
51671         * make/README.libm-test: Don't mention expected failure handling.
51673         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51674         (minus_zero): Likewise.
51675         (plus_infty): Likewise.
51676         (minus_infty): Likewise.
51677         (qnan_value): Likewise.
51678         (max_value): Likewise.
51679         (min_value): Likewise.
51680         (min_subnorm_value): Likewise.
51681         (initialize): Do not initialize those variables dynamically.
51683 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51685         * io/open.c (__open_2): Moved to ...
51686         * io/open_2.c: ... this new file.
51687         * io/open64.c (__open64_2): Moved to ...
51688         * io/open64_2.c: ... this new file.
51689         * io/openat.c (__openat_2): Moved to ...
51690         * io/openat_2.c: ... this new file.
51691         * io/openat64.c (__openat64_2): Moved to ...
51692         * io/openat64_2.c: ... this new file.
51693         * io/Makefile (routines): Add them.
51694         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51695         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51696         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51697         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51698         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51699         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51700         (__openat64): Add hidden_ver.
51701         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51702         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51704         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51705         Separately conditionalize setting of GLRO(dl_sysinfo) so
51706         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51707         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51709 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51711         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51712         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51713         definition.
51714         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51715         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51716         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51717         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51718         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51720 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51722         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51723         test signgam value.
51725         * math/libm-test.inc (hypot_test): Do not use
51726         IGNORE_ZERO_INF_SIGN.
51728 2013-05-03  Andreas Jaeger  <aj@suse.de>
51730         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51731         Linux 3.9.
51732         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51733         (PF_MAX): Adjust for VSOCK change.
51735 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51739 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51741         [BZ #15264]
51742         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51743         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51744         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51746 2013-05-02  David S. Miller  <davem@davemloft.net>
51748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51750 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51752         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51754 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51756         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51758 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51760         [BZ #14952]
51761         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51762         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51763         Use __attribute__ ((__gnu_inline__)).
51764         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51765         Don't use __attribute__ ((__gnu_inline__)).
51767 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51769         [BZ #15423]
51770         * math/s_catan.c (__catan): Handle small real or imaginary part of
51771         input specially to avoid spurious underflow.
51772         * math/s_catanf.c (__catanf): Likewise.
51773         * math/s_catanh.c (__catanh): Likewise.
51774         * math/s_catanhf.c (__catanhf): Likewise.
51775         * math/s_catanhl.c (__catanhl): Likewise.
51776         * math/s_catanl.c (__catanl): Likewise.
51777         * math/libm-test.inc (catan_test): Add more tests.
51778         (catanh_test): Likewise.
51779         * sysdeps/i386/fpu/libm-test-ulps: Update.
51780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51782 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51786 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51788         [BZ #15416]
51789         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51790         accurately for denominator in atan2.
51791         * math/s_catanf.c (__catanf): Likewise.
51792         * math/s_catanh.c (__catanh): Likewise.
51793         * math/s_catanhf.c (__catanhf): Likewise.
51794         * math/s_catanhl.c (__catanhl): Likewise.
51795         * math/s_catanl.c (__catanl): Likewise.
51796         * math/libm-test.inc (catan_test): Add more tests.
51797         (catanh_test): Likewise.
51798         * sysdeps/i386/fpu/libm-test-ulps: Update.
51799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51801 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51803         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51805         * benchtests/Makefile (bench): Remove slow benchmarks.
51806         * benchtests/atan-inputs: Add slow benchmark inputs.
51807         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51808         (BENCH_FUNC): Accept variant offset.
51809         (VARIANT): Define.
51810         * benchtests/bench-skeleton.c (main): Run benchmark for each
51811         variant.
51812         * benchtests/cos-inputs: Add slow benchmark inputs.
51813         * benchtests/exp-inputs: Likewise.
51814         * benchtests/pow-inputs: Likewise.
51815         * benchtests/sin-inputs: Likewise.
51816         * benchtests/slowatan-inputs: Remove.
51817         * benchtests/slowatan.c: Remove.
51818         * benchtests/slowcos-inputs: Remove.
51819         * benchtests/slowcos.c: Remove.
51820         * benchtests/slowexp-inputs: Remove.
51821         * benchtests/slowexp.c: Remove.
51822         * benchtests/slowpow-inputs: Remove.
51823         * benchtests/slowpow.c: Remove.
51824         * benchtests/slowsin-inputs: Remove.
51825         * benchtests/slowsin.c: Remove.
51826         * benchtests/slowtan-inputs: Remove.
51827         * benchtests/slowtan.c: Remove.
51828         * benchtests/tan-inputs: Add slow benchmark inputs.
51829         * scripts/bench.pl: Parse comments and directives.
51831         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51832         in CPPFLAGS.
51833         ($(objpfx)bench-%.c): Remove *-ITER.
51834         * benchtests/bench-modf.c: Remove definition of ITER.
51835         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51836         (main): Loop for DURATION seconds instead of fixed number of
51837         iterations.
51838         * scripts/bench.pl: Don't expect iterations in parameters.
51840 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51842         * io/fchdir.c (__fchdir): Renamed from fchdir.
51843         (fchdir): Define as weak alias.
51845 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51847         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51848         (ERRNO_EDOM): Likewise.
51849         (ERRNO_ERANGE): Likewise.
51850         (noErrnoTests): New variable.
51851         (init_max_error): Set errno to 0.
51852         (test_single_errno): New function.
51853         (test_errno): Likewise.
51854         (check_float_internal): Call test_errno.  Set errno to 0.
51855         (check_complex): Refer to errno tests in comment.
51856         (check_int): Call test_errno.  Set errno to 0.
51857         (check_long): Likewise.
51858         (check_bool): Likewise.
51859         (check_longlong): Likewise.
51860         (cos_test): Use ERRNO_* flags for errno tests instead of
51861         check_int.
51862         (expm1_test): Likewise.
51863         (fmod_test): Likewise.
51864         (ilogb_test): Likewise.
51865         (lgamma_test): Likewise.
51866         (pow_test): Likewise.
51867         (remainder_test): Likewise.
51868         (sin_test): Likewise.
51869         (tan_test): Likewise.
51870         (yn_test): Likewise.
51871         (initialize): Set errno to 0.
51872         (main): Print number of errno tests.
51873         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51875 2013-04-29  Andreas Jaeger  <aj@suse.de>
51877         [BZ #15084]
51878         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51879         and RES_USEVC.
51881         [BZ #15085]
51882         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51883         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51884         unimplemented.
51886         [BZ #15380]
51887         * stdlib/random.c (__initstate): Return NULL if
51888         __initstate fails.
51890         [BZ #15086]
51891         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51892         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51893         RES_SNGLKUPREOP.
51895 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51899 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51901         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51902         of individual tests.
51903         (casin_test): Likewise.
51904         (casinh_test): Likewise.
51906 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51908         [BZ #15409]
51909         * math/s_catan.c (__catan): Handle arguments with large real or
51910         imaginary part separately without squaring.
51911         * math/s_catanf.c (__catanf): Likewise.
51912         * math/s_catanh.c (__catanh): Likewise.
51913         * math/s_catanhf.c (__catanhf): Likewise.
51914         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51915         and redefine.
51916         (__catanhl): Handle arguments with large real or imaginary part
51917         separately without squaring.
51918         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51919         and redefine.
51920         (__catanl): Handle arguments with large real or imaginary part
51921         separately without squaring.
51922         * math/libm-test.inc (catan_test): Add more tests.
51923         (catanh_test): Likewise.
51924         * sysdeps/i386/fpu/libm-test-ulps: Update.
51925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51927 2013-04-27  Andreas Jaeger  <aj@suse.de>
51929         [BZ #15007]
51930         * stdlib/stdlib.h: Update guards for qecvt.
51931         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51932         <stdlib.h>.
51934 2013-04-27  Allan McRae  <allan@archlinux.org>
51936         * sysdeps/i386/fpu/libm-test-ulps: Update.
51938 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51940         [BZ #15406]
51941         * math/s_catan.c: Include <float.h>.
51942         (__catan): Ensure underflow exception occurs for underflowed
51943         result.
51944         * math/s_catanf.c: Include <float.h>.
51945         (__catanf): Ensure underflow exception occurs for underflowed
51946         result.
51947         * math/s_catanh.c: Include <float.h>.
51948         (__catanh): Ensure underflow exception occurs for underflowed
51949         result.
51950         * math/s_catanhf.c: Include <float.h>.
51951         (__catanhf): Ensure underflow exception occurs for underflowed
51952         result.
51953         * math/s_catanhl.c: Include <float.h>.
51954         (__catanhl): Ensure underflow exception occurs for underflowed
51955         result.
51956         * math/s_catanl.c: Include <float.h>.
51957         (__catanl): Ensure underflow exception occurs for underflowed
51958         result.
51959         * math/libm-test.inc (catan_test): Add more tests.
51960         (catanh_test): Likewise.
51962         [BZ #15405]
51963         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51964         underflowed result.
51965         * math/s_ccoshf.c (__ccoshf): Likewise.
51966         * math/s_ccoshl.c (__ccoshl): Likewise.
51967         * math/s_csin.c (__csin): Likewise.
51968         * math/s_csinf.c (__csinf): Likewise.
51969         * math/s_csinh.c (__csinh): Likewise.
51970         * math/s_csinhf.c (__csinhf): Likewise.
51971         * math/s_csinhl.c (__csinhl): Likewise.
51972         * math/s_csinl.c (__csinl): Likewise.
51973         * math/libm-test.inc (ccos_test): Add more tests.
51974         (ccosh_test): Likewise.
51975         (csin_test): Likewise.
51976         (csinh_test): Likewise.
51978 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51980         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51981         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51982         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51983         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51984         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51985         powerpc/power5+/fpu folders.
51986         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51989 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51991         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51993 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51995         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51996         additions to variable.
51997         [$(config-machine) = x86_64] (modules-names): Likewise.
51998         ($(objpfx)tst-audit3): Remove dependency.
51999         ($(objpfx)tst-audit3.out): Likewise.
52000         ($(objpfx)tst-audit4): Likewise.
52001         ($(objpfx)tst-audit4.out): Likewise.
52002         ($(objpfx)tst-audit5): Likewise.
52003         ($(objpfx)tst-audit5.out): Likewise.
52004         ($(objpfx)tst-audit6): Likewise.
52005         ($(objpfx)tst-audit6.out): Likewise.
52006         ($(objpfx)tst-audit7): Likewise.
52007         ($(objpfx)tst-audit7.out): Likewise.
52008         (tst-audit3-ENV): Remove variable.
52009         (tst-audit4-ENV): Likewise.
52010         (tst-audit5-ENV): Likewise.
52011         (tst-audit6-ENV): Likewise.
52012         (tst-audit7-ENV): Likewise.
52013         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
52014         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
52015         addition to variable.
52016         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
52017         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
52018         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
52019         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
52020         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
52021         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
52022         tst-audit3, tst-audit4 and tst-audit5.
52023         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
52024         tst-audit6 and tst-audit7.
52025         [$(subdir) = elf] (modules-names): Add audit modules for those
52026         tests.
52027         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
52028         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
52029         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
52030         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
52031         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
52032         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
52033         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
52034         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
52035         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
52036         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
52037         [$(subdir) = elf] (tst-audit3-ENV): New variable.
52038         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
52039         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
52040         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
52041         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
52042         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
52043         Likewise.
52044         [$(subdir) = elf && $(config-cflags-avx) = yes]
52045         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
52046         [$(subdir) = elf && $(config-cflags-avx) = yes]
52047         (CFLAGS-tst-auditmod4a.c): Likewise.
52048         [$(subdir) = elf && $(config-cflags-avx) = yes]
52049         (CFLAGS-tst-auditmod4b.c): Likewise.
52050         [$(subdir) = elf && $(config-cflags-avx) = yes]
52051         (CFLAGS-tst-auditmod6b.c): Likewise.
52052         [$(subdir) = elf && $(config-cflags-avx) = yes]
52053         (CFLAGS-tst-auditmod6c.c): Likewise.
52054         [$(subdir) = elf && $(config-cflags-avx) = yes]
52055         (CFLAGS-tst-auditmod7b.c): Likewise.
52056         * elf/tst-audit3.c: Move to ...
52057         * sysdeps/x86_64/tst-audit3.c: ... here.
52058         * elf/tst-audit4.c: Move to ...
52059         * sysdeps/x86_64/tst-audit4.c: ... here.
52060         * elf/tst-audit5.c: Move to ...
52061         * sysdeps/x86_64/tst-audit5.c: ... here.
52062         * elf/tst-audit6.c: Move to ...
52063         * sysdeps/x86_64/tst-audit6.c: ... here.
52064         * elf/tst-audit7.c: Move to ...
52065         * sysdeps/x86_64/tst-audit7.c: ... here.
52066         * elf/tst-auditmod3a.c: Move to ...
52067         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
52068         * elf/tst-auditmod3b.c: Move to ...
52069         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
52070         * elf/tst-auditmod4a.c: Move to ...
52071         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
52072         * elf/tst-auditmod4b.c: Move to ...
52073         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
52074         * elf/tst-auditmod5a.c: Move to ...
52075         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
52076         * elf/tst-auditmod5b.c: Move to ...
52077         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
52078         * elf/tst-auditmod6a.c: Move to ...
52079         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
52080         * elf/tst-auditmod6b.c: Move to ...
52081         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
52082         * elf/tst-auditmod6c.c: Move to ...
52083         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
52084         * elf/tst-auditmod7a.c: Move to ...
52085         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
52086         * elf/tst-auditmod7b.c: Move to ...
52087         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
52089 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
52091         [BZ #15366]
52092         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
52093         define unconditionally.
52094         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
52095         define unconditionally.
52096         (INT8_C, INT16_C, etc.): Likewise.
52098 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
52100         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
52101         __ehdr_start with hidden visibility.
52103         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
52105 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
52107         * math/libm-test.inc (cos_test): Use accurate hex constants.
52108         (sincost_test): Likewise.
52110 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
52112         * math/libm-test.inc (catan_test): Add more tests.
52113         (catanh_test): Likewise.
52115         * math/s_catanf.c (__catanf): Use suffixed floating-point
52116         constants.
52117         * math/s_catanhf.c (__catanhf): Likewise.
52118         * math/s_catanhl.c (__catanhl): Likewise.
52119         * math/s_catanl.c (__catanl): Likewise.
52121         [BZ #15394]
52122         * math/s_catan.c (__catan): Calculate imaginary part of result
52123         with log1p not log unless computing log of number close to 0.
52124         * math/s_catanf.c (__catanf): Likewise.
52125         * math/s_catanl.c (__catanl): Likewise.
52126         * math/s_catanh.c (__catanh): Calculate real part of result with
52127         log1p not log unless computing log of number close to 0.
52128         * math/s_catanhf.c (__catanhf): Likewise.
52129         * math/s_catanhl.c (__catanhl): Likewise.
52130         * math/libm-test.inc (catan_test): Add more tests.
52131         (catanh_test): Likewise.
52132         * sysdeps/i386/fpu/libm-test-ulps: Update.
52133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52135 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52137         * benchtests/Makefile: Mention files in which fast and slow
52138         paths of math functions are implemented.
52140 2013-04-23  Roland McGrath  <roland@hack.frob.com>
52142         * sysdeps/posix/timespec_get.c: New file.
52144 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52146         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
52147         POWER.
52148         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
52149         for POWER.
52150         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
52151         powerpc/power5/fpu folders.
52152         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
52153         * benchtests/Makefile: Add modf testcase.
52154         * benchtests/bench-modf.c: New file: Benchmark test for mo
52156 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52158         [BZ #14888]
52159         * time/Makefile (tests): Add tst-strptime-whitespace.
52160         * time/strptime_l.c (get_number): Use ISSPACE.
52161         (__strptime_internal): Likewise.
52162         * time/tst-strptime-whitespace.c: New test case.
52164 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
52166         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
52167         member.
52168         (_nss_files_init): Set it here.
52170 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
52172         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
52173         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
52174         unsigned.
52176 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
52178         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
52180 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52182         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
52183         size just once.
52185 2013-04-21  David S. Miller  <davem@davemloft.net>
52187         * po/ru.po: Update Russion translation from translation project.
52189 2013-04-17  Adam Conrad  <adconrad@0c3.net>
52191         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
52192         and setfsgid.
52194 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
52196         * configure.in: Remove i386 configure warning. Remove i386 case.
52197         * configure: Regenerate.
52198         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
52199         Add example to error message.
52200         * sysdeps/i386/configure: Regenerate.
52202 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52204         * benchtests/Makefile (bench): Add cos, tan, slowcos and
52205         slowtan.
52206         * benchtests/cos-inputs: New file.
52207         * benchtests/slowcos-inputs: New file.
52208         * benchtests/slowcos.c: New file.
52209         * benchtests/slowtan-inputs: New file.
52210         * benchtests/slowtan.c: New file.
52211         * benchtests/tan-inputs: New file.
52213 2013-04-16  Roland McGrath  <roland@hack.frob.com>
52215         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
52216         considered kosher.
52218 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52220         * benchtests/Makefile: Include cppflags-iterator.mk to add
52221         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
52223         * Makefile.in (bench-clean): New target.
52224         * benchtests/Makefile (bench-clean): Likewise.
52226 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
52228         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
52230 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
52232         * stdio-common/tstdiomisc.c: Fix coding-style violation.
52234 2013-04-15  Andreas Schwab  <schwab@suse.de>
52236         * nscd/grpcache.c (cache_addgr): Properly check for short write.
52237         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52238         * nscd/pwdcache.c (cache_addpw): Likewise.
52239         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
52240         more than recsize.
52242 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52244         * benchtests/Makefile (bench): Write all output to
52245         bench-out.tmp together.
52247 2013-04-15  Andreas Schwab  <schwab@suse.de>
52249         * nscd/nscd.c (main): Don't fork again after closing files.
52251 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52253         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
52255         * benchtests/Rules (bench-deps): Collect dependencies into a
52256         single variable.  Add Makefile to dependencies.
52257         ($(objpfx)bench-%.c): Depend on bench-deps.
52259 2013-04-12  Roland McGrath  <roland@hack.frob.com>
52260             Xavier Roche  <roche+kml2@exalead.com>
52262         [BZ #15361]
52263         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
52264         just that it's a file descriptor.
52265         * manual/llio.texi (Synchronizing AIO Operations): Update description
52266         for EBADF error from aio_fsync.
52268 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52270         * Rules (bench): Move target definition...
52271         * benchtests/Makefile: ... here.
52273 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
52275         * math/libm-test.inc (cos_test): Fix PI/2 test.
52276         (sincos_test): Likewise.
52277         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
52278         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
52280 2013-04-11  Andreas Schwab  <schwab@suse.de>
52282         [BZ #13988]
52283         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
52284         accept exponent character only when digits were seen.
52285         * stdio-common/Makefile (tests): Add bug26.
52286         * stdio-common/bug26.c: New file.
52288         [BZ #14293]
52289         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
52290         non-freeable.
52292 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52294         * Makeconfig (rtld-prefix): Define built linker prefix.
52295         * Rules (run-bench): Use it.
52296         * math/Makefile (run-regen-ulps): Likewise.
52298         * Rules (bench): Remove eval.
52300 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52301             Roland McGrath  <roland@hack.frob.com>
52302             Ondrej Bilka  <neleai@seznam.cz>
52304         [BZ #15346]
52305         * time/getdate.c: Include ctype.h and alloca.h.
52306         (__getdate_r): Trim leading and trailing spaces of input.
52307         * time/tst-getdate.c (tests): Add tests with leading and
52308         trailing spaces.
52310 2013-04-08  Roland McGrath  <roland@hack.frob.com>
52312         [BZ #14280]
52313         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
52314         when computing value.
52316 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52318         * math/README.libm-test (How can I generate "libm-test-ulps"?):
52319         Use testrun.sh to run libm tests.
52321         [BZ #15309]
52322         * elf/dl-open.c (dl_open_worker): memset all of seen array.
52324 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
52326         [BZ #15264]
52327         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
52329 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52331         * Makefile.in (regen-ulps): New target.
52332         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
52333         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
52334         [ifneq (no,$(PERL)] (regen-ulps): New target.
52335         [ifeq (no,$(PERL)] (regen-ulps): New target.
52336         * math/libm-test.inc (ulps_file_name): Define.
52337         (output_dir): New variable.
52338         (options): Add "output-dir" option.
52339         (parse_opt): Handle 'o' case.
52340         (main): If output_dir is non-NULL use it as a prefix
52341         otherwise use "".
52342         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
52344 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52346         [BZ #10060, #10062]
52347         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
52348         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
52349         fail configure if __sync_val_compare_and_swap is not inlined.
52350         * sysdeps/i386/configure: Regenerate.
52351         * configure.in: Build for i686 when configured for i386.
52352         * configure: Regenerate.
52353         * README: Remove i386 reference.
52355 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
52357         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
52358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
52360 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
52362         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
52363         (lmsnanval): New variables.
52364         (F): Add conversion tests.
52365         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
52366         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
52368         * stdio-common/tstdiomisc.c (F): Properly collect individual
52369         tests' results.
52371         [BZ #14686, #15336]
52372         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
52373         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
52374         Instead, use input NaN values or generate a qNaN by arithmetic
52375         operation.  Also fix bugs to comply with the standard.
52376         * math/libm-test.inc (remainder_test): Add more tests.
52378         [BZ #15335, #15342]
52379         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52380         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
52381         input NaN values or generate a qNaN by arithmetic operation.
52383         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
52384         unreachable code.
52386         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
52387         definitions.
52389 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
52391         [BZ #14478]
52392         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
52393         underflowed result.
52394         * math/s_cexpf.c (__cexpf): Likewise.
52395         * math/s_cexpl.c (__cexpl): Likewise.
52396         * math/libm-test.inc (cexp_test): Add more tests.
52398 2013-04-03  Andreas Schwab  <schwab@suse.de>
52400         [BZ #15330]
52401         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
52402         order arrays from heap if bigger than alloca cutoff.
52404 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
52406         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
52407         (SNAN_TESTS_double): Refer to GCC PR56831.
52408         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
52409         GCC PR56828.
52411 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52413         * Rules (bench): Move bench.out after the run is complete.
52415         * Rules (bench): Echo currently running benchmark.
52417         * benchtests/Makefile (bench): Add atan and slowatan.
52418         * benchtests/atan-inputs: New file.
52419         * benchtests/slowatan-inputs: New file.
52420         * benchtests/slowatan.c: New file.
52422         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
52423         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
52424         its value.
52426         [BZ #15305]
52427         * sysdeps/unix/sysv/linux/kernel-features.h
52428         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
52429         __ASSUME_XFS_RESTRICTED_CHOWN.
52430         * sysdeps/unix/sysv/linux/pathconf.c
52431         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
52432         Save and restore errno.
52434 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
52436         [BZ #15327]
52437         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
52438         arguments using __kernel_casinh.
52439         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
52440         arguments using __kernel_casinhf.
52441         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
52442         arguments using __kernel_casinhl.
52443         * math/libm-test.inc (cacosh_test): Add more tests.
52444         * sysdeps/i386/fpu/libm-test-ulps: Update.
52445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52447 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52449         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
52450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
52452         * bench/Makefile (bench): Add sin and slowsin.
52453         * benchtests/sin-inputs: New file.
52454         * benchtests/slowsin-inputs: New file.
52455         * benchtests/slowsin.c: New file.
52457         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
52458         (bench): Add slowexp and slowpow.
52459         (exp-ITER): Increase iterations.
52460         (pow-ITER): Likewise.
52461         * benchtests/exp-inputs: Change input.
52462         * benchtests/pow-inputs: Likewise.
52463         * benchtests/slowexp-inputs: New file.
52464         * benchtests/slowexp.c: New file.
52465         * benchtests/slowpow-inputs: New file.
52466         * benchtests/slowpow.c: New file.
52468 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52470         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
52471         instructions.
52472         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52473         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52474         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52475         * benchtests/Makefile: Add rint benchtest.
52476         * benchtests/rint-inputs: Input for rint benchtest.
52478 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52480         * Versions.def (libm): Add GLIBC_2.18.
52481         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52482         hidden libm prototypes.
52483         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52484         * math/Makefile (libm-calls): Add s_issignaling.
52485         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52486         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52487         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52488         declaration.
52489         * math/math.h [__USE_GNU] (issignaling): New macro.
52490         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52491         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52492         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52493         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52494         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52495         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52496         * manual/arith.texi (issignaling): New section.
52497         * manual/libm-err-tab.pl (@all_functions): Update comment.
52498         * math/gen-libm-test.pl (parse_args): Apply special handling for
52499         issignaling.
52500         * math/libm-test.inc (print_float, issignaling_test): New
52501         functions.
52502         (check_float_internal): Add issignaling checks.
52503         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52504         default definition.
52505         * sysdeps/powerpc/math-tests.h: New file.
52506         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52507         tests.
52508         * math/test-snan.c (TEST_FUNC): Likewise.
52510 2013-03-30  David S. Miller  <davem@davemloft.net>
52512         * po/de.po: Update from translation team.
52514 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52516         [BZ #10357]
52517         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52518         imaginary part less than 1.0 and real part less than 0.5
52519         specially.
52520         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52521         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52522         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52523         (cacos_test): Add more tests.
52524         (casin_test): Likewise.
52525         (casinh_test): Likewise.
52526         * sysdeps/i386/fpu/libm-test-ulps: Update.
52527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52529 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52531         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52532         ONE with its value.
52534         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52535         (__pow_mp): Replace ONE and MONE with their values.
52536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52537         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52538         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52539         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52540         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52541         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52543         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52545         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52546         (__pow_mp): Replace ZERO and MZERO with their values.
52547         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52548         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52549         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52550         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52551         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52552         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52553         (__sqr): Likewise.
52555         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52557         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52559 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52561         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52562         Declare with __attribute__ ((weak)).
52563         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52564         Call __call_tls_dtors only if it's not NULL.
52566 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52568         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52569         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52570         magic __ehdr_start linker symbol if it's defined.
52571         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52572         them up here if it was already done.
52574         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52575         (_dl_aux_init): Use const in cast when setting it.
52576         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52577         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52578         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52580         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52581         Declare them here.
52582         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52583         * csu/libc-tls.c: Nor here.
52584         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52586         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52587         (__libc_message): Never call vsyslog.
52589 2013-03-28  Alan Modra  <amodra@gmail.com>
52591         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52592         Define as empty.
52593         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52594         Likewise.
52596 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52598         [BZ #15214]
52599         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52600         underflow.
52601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52603 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52605         [BZ #15304]
52606         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52607         Don't add gid passed as argument.
52609         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52611 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52613         [BZ #15307]
52614         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52615         imaginary part between 1.0 and 1.5 and real part less than 0.5
52616         specially.
52617         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52618         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52619         * math/libm-test.inc (cacos_test): Add more tests.
52620         (casin_test): Likewise.
52621         (casinh_test): Likewise.
52622         * sysdeps/i386/fpu/libm-test-ulps: Update.
52623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52625 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52627         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52628         constants.
52629         (norm): Likewise.
52630         (denorm): Likewise.
52631         (__dbl_mp): Likewise.
52632         (add_magnitudes): Likewise.
52633         (sub_magnitudes): Likewise.
52634         (__add): Likewise.
52635         (__sub): Likewise.
52636         (__mul): Likewise.
52637         (__sqr): Likewise.
52638         (__inv): Likewise.
52639         (__dvd): Likewise.
52641         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52642         commented code.
52643         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52644         (__dubcos): Likewise.
52645         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52646         (__ieee754_acos): Likewise.
52647         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52648         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52649         (__exp1): Likewise.
52650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52652         (log1): Likewise.
52653         (my_log2): Likewise.
52654         (checkint): Likewise.
52655         * sysdeps/ieee754/dbl-64/e_remainder.c
52656         (__ieee754_remainder): Likewise.
52657         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52658         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52659         (bsloww): Likewise.
52660         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52662         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52663         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52664         MANTISSA_STORE_T to store computations on mantissa.  Use
52665         macros for rounding and division.
52666         (denorm): Likewise.
52667         (__dbl_mp): Likewise.
52668         (add_magnitudes): Likewise.
52669         (sub_magnitudes): Likewise.
52670         (__mul): Likewise.
52671         (__sqr): Likewise.
52672         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52673         powers of two in terms of TWOPOW macro.
52674         (mp_no): Make type of mantissa as MANTISSA_T.
52675         [!RADIXI]: Define RADIXI.
52676         [!TWO52]: Define TWO52.
52677         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52679 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52681         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52682         llroundl symbol when building for PPC32.
52684 2013-03-24  Mark H Weaver  <mhw@netris.org>
52686         * manual/arith.texi (Normalization Functions): Fix prototypes for
52687         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52689 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52691         [BZ #13889]
52692         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52693         high value to check if expl overflow.
52694         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52695         to check for underflow and overflow.
52696         * math/libm-test.inc: Add exp test.
52698 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52700         [BZ #11120]
52701         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52702         with NOT_IN_libc.
52704 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52706         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52707         symbol.
52709 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52711         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52712         wrap blocks consisting of several statements.
52714         * sysdeps/generic/math-tests.h: New file.
52715         * sysdeps/i386/fpu/math-tests.h: Likewise.
52716         * math/test-snan.c: Include it.
52717         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52719 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52721         [BZ #15285]
52722         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52723         (__ieee754_j0l): Do not improve calculations using cos of twice
52724         input for inputs above LDBL_MAX / 2.0L.
52725         (__ieee754_y0l): Likewise.
52726         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52727         (__ieee754_j1l): Do not improve calculations using cos of twice
52728         input for inputs above LDBL_MAX / 2.0L.
52729         (__ieee754_y1l): Likewise.
52730         * math/libm-test.inc (j0_test): Add another test.
52731         (j1_test): Likewise.
52732         (y0_test): Likewise.
52733         (y1_test): Likewise.
52734         * sysdeps/i386/fpu/libm-test-ulps: Update.
52736 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52738         * Rules ($(objpfx)bench-%.c): Include code from a C source
52739         file.
52741 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52743         [BZ #15287]
52744         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52745         imaginary part 1.0 and real part less than 0.5 specially.
52746         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52747         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52748         * math/libm-test.inc (cacos_test): Add more tests.
52749         (casin_test): Likewise.
52750         (casinh_test): Likewise.
52751         * sysdeps/i386/fpu/libm-test-ulps: Update.
52752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52754 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52756         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52757         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52759 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52761         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52762         * config.make.in (config-cflags-sse4): Remove variable.
52763         (config-cflags-avx): Likewise.
52764         (config-cflags-sse2avx): Likewise.
52765         (config-cflags-novzeroupper): Likewise.
52766         (config-asflags-i686): Likewise.
52767         (have-mfma4): Likewise.
52768         (have-as-vis3): Likewise.
52769         (MIG): Likewise.
52770         * configure.in (MIG): Do not AC_SUBST.
52771         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52772         (libc_cv_cc_sse4): Do not AC_SUBST.
52773         (libc_cv_cc_avx): Likewise.
52774         (libc_cv_cc_sse2avx): Likewise.
52775         (libc_cv_cc_novzeroupper): Likewise.
52776         (libc_cv_cc_fma4): Likewise.
52777         (libc_cv_as_i686): Likewise.
52778         (libc_cv_sparc_as_vis3): Likewise.
52779         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52780         LIBC_CONFIG_VAR.
52781         (config-asflags-i686): Likewise.
52782         (config-cflags-avx): Likewise.
52783         (config-cflags-sse2avx): Likewise.
52784         (have-mfma4): Likewise.
52785         (config-cflags-novzeroupper): Likewise.
52786         * sysdeps/mach/configure.in (MIG): Likewise.
52787         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52788         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52789         LIBC_CONFIG_VAR.
52790         (config-cflags-avx): Likewise.
52791         (config-cflags-sse2avx): Likewise.
52792         (have-mfma4): Likewise.
52793         (config-cflags-novzeroupper): Likewise.
52794         * configure: Regenerated.
52795         * sysdeps/i386/configure: Likewise.
52796         * sysdeps/mach/configure: Likewise.
52797         * sysdeps/sparc/configure: Likewise.
52798         * sysdeps/x86_64/configure: Likewise.
52800 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52802         [BZ #14812]
52803         * locale/programs/localedef.c (options): Put N_ translation marker
52804         on argument names, not just descriptions.
52806 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52808         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52810 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52812         [BZ #14176]
52813         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52815 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52817         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52818         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52819         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52820         [!BEFORE_ABORT] (before_abort): New function.
52821         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52822         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52823         (writev_for_fatal): New function.
52824         (WRITEV_FOR_FATAL): New macro; call that.
52825         (backtrace_and_maps): New function.
52826         (BEFORE_ABORT): New macro; call that.
52827         (struct str_list): Type removed.
52828         (__libc_message, __libc_fatal): Functions removed.
52829         Include <sysdeps/posix/libc_fatal.c> instead.
52831 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52833         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52834         constants.
52835         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52836         double constants.
52838 2013-03-19  Andreas Schwab  <schwab@suse.de>
52840         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52841         * sysdeps/gnu/configure: Regenerate.
52843         * configure.in: Substitute libc_cv_rtlddir.
52844         * configure: Regenerate.
52845         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52846         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52847         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52848         * elf/Makefile (install-others, CFLAGS-interp.c)
52849         (ldso_install, common-ldd-rewrite): Likewise.
52850         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52851         $(inst_slibdir)/$(rtld-installed-name).
52852         * scripts/rellns-sh: Add -p option.
52853         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52854         for source.
52856 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52858         * manual/nptl.texi: Renamed to ...
52859         * manual/threads.texi: ... this.
52860         * manual/Makefile (chapters): Update.
52862 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52864         [BZ #14812]
52865         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52866         on argument names, not just descriptions.
52867         * malloc/memusagestat.c (options): Likewise.
52868         * nss/getent.c (options): Likewise.
52870 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52872         [BZ #14812]
52873         * iconv/iconv_prog.c (options): Put N_ translation marker
52874         on argument names, not just descriptions.
52875         * iconv/iconvconfig.c (options): Likewise.
52877 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52879         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52880         implementation which is faster on all x86_64 architectures.
52881         Tested on AMD, Intel Nehalem, SNB, IVB.
52882         * sysdeps/x86_64/strnlen.S: Likewise.
52884         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52885         Remove all multiarch strlen and strnlen versions.
52886         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52887         Remove strlen and strnlen related parts.
52889         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52890         Inline strlen part.
52891         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52893         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52894         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52895         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52896         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52897         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52898         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52900 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52902         * manual/memory.texi (Malloc Tunable Parameters):
52903         Sort parameters alphabetically. Add comments for missing entries.
52905 2013-03-17  David S. Miller  <davem@davemloft.net>
52907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52909 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52911         [BZ #15283]
52912         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52913         for arguments at most half maximum finite value.
52914         * math/libm-test.inc (j0_test): Add more tests.
52915         (j1_test): Likewise.
52916         (y0_test): Likewise.
52917         (y1_test): Likewise.
52918         * sysdeps/i386/fpu/libm-test-ulps: Update.
52919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52921         [BZ #14155]
52922         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52923         1 / x and functions P and Q for arguments above 0x1p256L.
52924         (__ieee754_y0l): Likewise.
52925         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52926         (__ieee754_y1l): Likewise.
52927         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52928         (j1_test): Likewise.
52929         (y0_test): Likewise.
52930         (y1_test): Likewise.
52932 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52934         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52935         variable.
52937 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52939         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52940         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52941         zero since it's initialized to EXEC_PAGESIZE.
52943         * sysdeps/unix/sysv/linux/ldsodefs.h
52944         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52945         * sysdeps/generic/ldsodefs.h: ... here.
52947 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52949         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52951         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52952         math/test-snan.c.
52953         * math/test-snan.c: Renamed from
52954         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52955         * math/Makefile (tests): Add test-snan.
52956         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52957         test-powerpc-snan.
52959         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52960         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52961         functions.
52962         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52963         __builtin_nan family of functions.
52964         * math/libm-test.inc (initialize): Initialize qnan_value with
52965         __builtin_nan family of functions.
52966         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52967         Remove variables.
52968         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52969         Remove functions.
52970         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52971         storage class.  Initialize qNaN_var and sNaN_var with
52972         __builtin_nan and __builtin_nans families of functions,
52973         respectively.
52975         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52976         (sqrt_test): Remove duplicate test with qNaN input.
52977         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52978         (round_test, signbit_test, significand_test): Note missing +/-Inf
52979         as well as qNaN tests.
52981         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52982         qNaN_var.  Fix a few strings, too.
52983         * math/libm-test.inc (nan_value): Rename to qnan_value.
52984         * math/gen-libm-test.pl (%beautify): Adjust to that.
52985         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52986         * math/test-misc.c (main): Likewise.
52987         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52988         to __qnan_bytes, and __qnan_union, respectively.
52989         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52990         Likewise.
52991         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52992         and lqnanval, respectively.
52993         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52994         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52995         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52996         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52998         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52999         * math/test-misc.c (main) [__x86_64__]: Enable test for long
53000         doubles.
53002         * math/test-misc.c (main): Fix copy'n'pastos.
53003         * misc/tst-efgcvt.c (special): Likewise.
53005         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
53006         Remove declarations.
53008 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53010         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
53011         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
53012         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
53013         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
53015 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53017         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
53018         macro to return vdso values correctly in IFUNC implementations.
53019         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
53020         Optimization by using IFUNC.
53022 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53023             Richard Henderson  <rth@redhat.com>
53024             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53026         * Makefile.in (bench): New target.
53027         * NEWS: Mention the benchmark framework.
53028         * Rules (bench): Likewise.
53029         (binaries-bench): Generate binaries for functions to
53030         benchmark.
53031         * benchtests/Makefile: New makefile for benchmark tests.
53032         * benchtests/bench-skeleton.c: New skeleton file for benchmark
53033         programs.
53034         * benchtests/exp-inputs: New input file for EXP function.
53035         * benchtests/pow-inputs: New input file for POW function.
53036         * scripts/bench.pl: New script to generate source files for
53037         benchmark programs.
53039 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53041         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53042         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
53043         computations on mantissa.  Use macros for rounding and
53044         division.
53045         (denorm): Likewise.
53046         (__dbl_mp): Likewise.
53047         (add_magnitudes): Likewise.
53048         (sub_magnitudes): Likewise.
53049         (__mul): Likewise.
53050         (__sqr): Likewise.
53051         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53052         powers of two in terms of TWOPOW macro.
53053         (mp_no): Make type of mantissa as MANTISSA_T.
53054         [!RADIXI]: Define RADIXI.
53055         [!TWO52]: Define TWO52.
53056         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53058         * manual/nptl.texi (cindex): Modify threads to pthreads.
53060 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
53062         * sysdeps/x86_64/preconfigure: Regenerated.
53064 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
53066         [BZ #14155]
53067         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
53068         0x1p28 and above.
53069         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
53070         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
53071         0x1p28 and above.
53072         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
53073         * math/libm-test.inc (j0_test): Do not allow one spurious
53074         underflow exception.
53075         (y1_test): Likewise.
53077 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53079         * manual/Makefile (chapters): Add nptl.
53080         * manual/debug.texi (Debugging Support): Add link to Threads
53081         chapter.
53082         * manual/nptl.texi: New file.
53084         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
53086 2013-03-14  Petr Baudis  <pasky@ucw.cz>
53088         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
53089         for non-NULL pointer before the memory validity test. Pointed
53090         out by Holger Brunck <holger.brunck@keymile.com>.
53092 2013-03-13  Andreas Schwab  <schwab@suse.de>
53094         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
53095         instead of .os.
53097 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
53099         * timezone/zic.c: Update from tzcode 2013b.
53101 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
53103         * manual/install.texi (Configuring and compiling):
53104         Mention i686 and i586.
53105         * INSTALL: Regenerate.
53107 2013-03-12  Roland McGrath  <roland@hack.frob.com>
53109         * sysdeps/init_array/elf-init.c: New file.
53110         * csu/elf-init.c
53111         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
53112         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
53114         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
53115         __gmon_start__ as global, but as static with a .preinit_array pointer.
53116         * sysdeps/init_array/gmon-start.c: New file.  Use that.
53117         * sysdeps/init_array/crti.S: New file, empty except for comments.
53118         * sysdeps/init_array/crtn.S: Likewise.
53120 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
53122         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
53123         definining bcopy.
53124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53125         Remove Prefer_SSE_for_memop.
53126         * sysdeps/x86_64/multiarch/init-arch.h: Remove
53127         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
53128         HAS_PREFER_SSE_FOR_MEMOP.
53129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
53130         memset-x86-64.
53131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53132         Remove bzero, memset ifunc support.
53133         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
53134         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
53135         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53136         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53138 2013-03-11  Andreas Schwab  <schwab@suse.de>
53140         [BZ #15234]
53141         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
53142         by SHLIB_COMPAT.
53143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
53144         (GLIBC_2.16): Remove pthread_atfork.
53146 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
53148         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
53149         (ptestcases.h): Likewise.
53151 2013-03-08  Roland McGrath  <roland@hack.frob.com>
53153         * Makeconfig ($(common-objpfx)config.status): Depend on
53154         sysdeps/*/preconfigure{,.in} too.
53156 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
53158         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
53159         (__free_hook): Use void * instead of __malloc_ptr_t.
53160         (__malloc_hook): Likewise.
53161         (__realloc_hook): Likewise.
53162         (__memalign_hook): Likewise.
53163         (__after_morecore_hook): Likewise.
53164         * malloc/arena.c (save_malloc_hook): Likewise.
53165         (save_free_hook): Likewise.
53166         * malloc/hooks.c (malloc_hook_ini): Likewise.
53167         (realloc_hook_ini): Likewise.
53168         (memalign_hook_ini): Likewise.
53169         * malloc/malloc.c (malloc_hook_ini): Likewise.
53170         (realloc_hook_ini): Likewise.
53171         (memalign_hook_ini): Likewise.
53172         (__free_hook): Likewise.
53173         (__malloc_hook): Likewise.
53174         (__realloc_hook): Likewise.
53175         (__memalign_hook): Likewise.
53176         (__libc_malloc): Likewise.
53177         (__libc_free): Likewise.
53178         (__libc_realloc): Likewise.
53179         (__libc_memalign): Likewise.
53180         (__libc_valloc): Likewise.
53181         (__libc_pvalloc): Likewise.
53182         (__libc_calloc): Likewise.
53183         (__posix_memalign): Likewise.
53184         * malloc/morecore.c (__sbrk): Likewise.
53185         (__default_morecore): Likewise.
53187         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
53189         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
53190         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
53191         __malloc_ptrdiff_t.
53193         * malloc/malloc.h (__malloc_size_t): Remove macro.
53194         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
53195         __malloc_size_t.
53196         (old_memalign_hook): Likewise.
53197         (old_realloc_hook): Likewise.
53198         (struct hdr): Likewise.
53199         (flood): Likewise.
53200         (mallochook): Likewise.
53201         (memalignhook): Likewise.
53202         (reallochook): Likewise.
53203         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
53204         (tr_old_realloc_hook): Likewise.
53205         (tr_old_memalign_hook): Likewise.
53206         (tr_mallochook): Likewise.
53207         (tr_reallochook): Likewise.
53208         (tr_memalignhook): Likewise.
53210 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
53213         default_ldbl_pack and using as default implementation.
53214         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
53215         implementation.
53216         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
53217         redundant definition.
53218         (ldbl_insert_mantissa): Likewise.
53219         (ldbl_canonicalize): Likewise.
53220         (ldbl_nearbyint): Likewise.
53221         (ldbl_pack): Rename to ldbl_pack_ppc.
53222         (ldbl_unpack): Rename to ldbl_unpack_ppc.
53223         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
53224         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
53226 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
53228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
53229         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
53230         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
53231         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
53232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
53233         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
53234         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
53235         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
53237 2013-03-07  Andreas Jaeger  <aj@suse.de>
53239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53240         bits/mman-linux.h.
53242 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
53244         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
53245         Include mpa.h and declare __MPEXP.
53246         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
53247         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53248         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53249         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
53250         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53251         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
53252         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
53254         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
53255         (__slowpow): Use long double EXPL and LOGL functions to
53256         compute POW.
53257         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
53258         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53259         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
53260         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
53261         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
53262         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
53264         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
53265         intermediate variable to calculate exponent.
53266         (__sqr): Likewise.
53267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53268         Likewise.
53269         (__sqr): Likewise.
53271         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
53272         [!NO__SQR]: Define __sqr.
53273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
53274         and NO__SQR.  Remove all code except __mul and __sqr.  Include
53275         sysdeps/ieee754/dbl-64/mpa.c.
53276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
53278         [BZ #12723]
53279         * posix/Makefile (tests): Add tst-pathconf.
53280         * posix/tst-pathconf.c: New test case.
53281         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
53282         _PC_PIPE_BUF.
53283         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
53285 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
53287         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
53289 2013-03-06  Andreas Jaeger  <aj@suse.de>
53291         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
53292         definition via __MAP_ANONYMOUS.
53294         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
53295         it's not part of Linux headers.
53297         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
53298         (MAP_HUGE_MASK): Define.
53300         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53301         Define.
53302         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53303         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53304         Define.
53305         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53306         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
53307         Define.
53308         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53309         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
53310         Define.
53311         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
53313         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
53314         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
53315         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
53316         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
53317         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
53318         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
53320         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53321         Handle f2fs.
53323         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53324         Handle f2fs and efivarfs.
53326         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
53327         f2fs.
53329         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
53330         (EFIVARFS_MAGIC): Add.
53331         (F2FS_LINK_MAX): Add.
53333 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53335         * stdio-common/vfprintf.c: Replace __builtin_expect with
53336         __glibc_unlikely.
53338 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
53340         [BZ #13550]
53341         * sysdeps/generic/bp-sym.h: Remove file.
53342         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
53343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
53344         <bp-sym.h> and <bp-asm.h>.
53345         (__longjmp): Don't use BP_SYM.
53346         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
53347         and <bp-asm.h>.
53348         (memcpy): Don't use BP_SYM.
53349         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
53350         <bp-sym.h> and <bp-asm.h>.
53351         (memcpy): Don't use BP_SYM.
53352         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
53353         <bp-asm.h>.
53354         (memcpy): Don't use BP_SYM.
53355         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
53356         <bp-asm.h>.
53357         (memset): Don't use BP_SYM.
53358         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53359         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53360         (__bzero): Don't use BP_SYM.
53361         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53362         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53363         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
53364         <bp-sym.h> and <bp-asm.h>.
53365         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53366         pointers.
53367         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
53368         <bp-sym.h> and <bp-asm.h>.
53369         (memcpy): Don't use BP_SYM.
53370         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
53371         <bp-sym.h> and <bp-asm.h>.
53372         (memset): Don't use BP_SYM.
53373         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53374         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53375         (__bzero): Don't use BP_SYM.
53376         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53377         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53378         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
53379         <bp-sym.h> and <bp-asm.h>.
53380         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53381         pointers.
53382         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
53383         <bp-sym.h> and <bp-asm.h>.
53384         (memcpy): Don't use BP_SYM.
53385         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
53386         <bp-sym.h> and <bp-asm.h>.
53387         (memset): Don't use BP_SYM.
53388         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53389         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53390         (__bzero): Don't use BP_SYM.
53391         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53392         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53393         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
53394         <bp-sym.h> and <bp-asm.h>.
53395         (__memchr): Don't use BP_SYM.
53396         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
53397         <bp-sym.h> and <bp-asm.h>.
53398         (memcmp): Don't use BP_SYM.  Remove comment about bounded
53399         pointers.
53400         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
53401         <bp-sym.h> and <bp-asm.h>.
53402         (memcpy): Don't use BP_SYM.
53403         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
53404         <bp-sym.h> and <bp-asm.h>.
53405         (__mempcpy): Don't use BP_SYM.
53406         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
53407         <bp-sym.h> and <bp-asm.h>.
53408         (__memrchr): Don't use BP_SYM.
53409         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
53410         <bp-sym.h> and <bp-asm.h>.
53411         (memset): Don't use BP_SYM.
53412         (__bzero): Likewise.
53413         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
53414         <bp-sym.h> and <bp-asm.h>.
53415         (__rawmemchr): Don't use BP_SYM.
53416         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
53417         <bp-sym.h> and <bp-asm.h>.
53418         (__STRCMP): Don't use BP_SYM.
53419         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
53420         <bp-sym.h> and <bp-asm.h>.
53421         (strchr): Don't use BP_SYM.
53422         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
53423         <bp-sym.h> and <bp-asm.h>.
53424         (__strchrnul): Don't use BP_SYM.
53425         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
53426         <bp-sym.h> and <bp-asm.h>.
53427         (strlen): Don't use BP_SYM.
53428         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
53429         <bp-sym.h> and <bp-asm.h>.
53430         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53431         pointers.
53432         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
53433         <bp-sym.h> and <bp-asm.h>.
53434         (__strnlen): Don't use BP_SYM.
53435         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
53436         <bp-sym.h> and <bp-asm.h>.
53437         (__GI__setjmp): Don't use BP_SYM.
53438         (_setjmp): Likewise.
53439         (__sigsetjmp): Likewise.
53440         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
53441         (L(start_addresses)): Don't use BP_SYM.
53442         (_start): Likewise.
53443         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
53444         <bp-asm.h>.
53445         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
53446         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
53447         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53448         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53449         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
53450         <bp-asm.h>.
53451         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
53452         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
53453         about bounded pointers.
53454         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53455         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53456         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
53457         <bp-asm.h>.
53458         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53459         about bounded pointers.  Remove GKM FIXME comments.
53460         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53461         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
53462         <bp-asm.h>.
53463         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
53464         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
53465         Remove GKM FIXME comments.
53466         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53467         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53468         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
53469         <bp-asm.h>.
53470         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
53471         about bounded pointers.  Remove GKM FIXME comment.
53472         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
53473         and <bp-asm.h>.
53474         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53475         pointers.
53476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53477         <bp-sym.h> and <bp-asm.h>.
53478         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53480         <bp-sym.h> and <bp-asm.h>.
53481         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53482         comment.
53484 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53486         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53487         call free(NULL).
53489 2013-03-05  David S. Miller  <davem@davemloft.net>
53491         * po/es.po: Update from translation team.
53493 2013-03-05  Andreas Jaeger  <aj@suse.de>
53495         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53496         <bits/mman-linux.h>.
53497         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53498         is fine.
53499         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53500         <bits/mman-linux.h> to end of file.
53501         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53502         is fine.
53503         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53504         <bits/mman-linux.h> to end of file.
53505         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53506         is fine.
53507         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53508         <bits/mman-linux.h> to end of file.
53510         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53511         (MCL_CURRENT, MCL_FUTURE): Define here.
53513 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53515         [BZ #15232]
53516         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53517         attribute_hidden.
53518         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53520 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53522         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53523         fourth parameter needed for rt_sigprocmask syscall.
53524         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53525         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53526         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53527         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53528         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53529         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53531 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53533         [BZ #13550]
53534         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53535         comment about bounded pointers.
53536         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53537         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53539 2013-03-04  Andreas Jaeger  <aj@suse.de>
53541         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53542         common definitions.
53544         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53545         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53546         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53547         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53548         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53551 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53553         [BZ #15055]
53554         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53555         __ieee754_sqrl instead of __sqrl.
53557 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53559         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53560         * sysdeps/powerpc/fpu_control.h: ... here.
53561         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53562         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53563         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53564         * sysdeps/powerpc/bits/mathinline.h: ... here.
53566 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53568         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53569         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53570         to just [NEED_DL_SYSINFO_DSO].
53571         * elf/dl-support.c: Likewise.
53572         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53573         * elf/rtld.c (dl_main): Likewise.
53574         * elf/setup-vdso.h (setup_vdso): Likewise.
53575         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53576         * sysdeps/unix/sysv/linux/dl-sysdep.c
53577         (_dl_discover_osversion): Likewise.
53579 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53581         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53582         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53584 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53586         * NEWS: Mention libm performance improvements and non-x86 PI
53587         futex support.
53589         * csu/libc-start.c (__pthread_initialize_minimal): Change
53590         function arguments.
53591         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53593 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53595         [BZ #13550]
53596         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53597         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53598         <bp-sym.h> and <bp-asm.h>.
53599         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53600         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53601         and <bp-asm.h>.
53602         (memcpy): Don't use BP_SYM.
53603         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53604         <bp-asm.h>.
53605         (__mpn_add_n): Don't use BP_SYM.
53606         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53607         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53608         and <bp-asm.h>.
53609         (__mpn_addmul_1): Don't use BP_SYM.
53610         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53611         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53612         <bp-sym.h>.
53613         (_setjmp): Don't use BP_SYM.
53614         (__novmx_setjmp): Likewise.
53615         (__GI__setjmp): Likewise.
53616         (__vmx_setjmp): Likewise.
53617         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53618         <bp-sym.h>.
53619         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53620         (__bzero): Don't use BP_SYM.
53621         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53622         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53623         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53624         <bp-sym.h> and <bp-asm.h>.
53625         (memcpy): Don't use BP_SYM.
53626         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53627         <bp-sym.h> and <bp-asm.h>.
53628         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53629         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53630         <bp-sym.h> and <bp-asm.h>.
53631         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53632         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53633         <bp-asm.h>.
53634         (__mpn_lshift): Don't use BP_SYM.
53635         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53636         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53637         <bp-asm.h>.
53638         (memset): Don't use BP_SYM.
53639         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53640         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53641         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53642         <bp-asm.h>.
53643         (__mpn_mul_1): Don't use BP_SYM.
53644         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53645         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53646         <bp-sym.h> and <bp-asm.h>.
53647         (memcmp): Don't use BP_SYM.
53648         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53649         <bp-sym.h> and <bp-asm.h>.
53650         (memcpy): Don't use BP_SYM.
53651         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53652         <bp-sym.h> and <bp-asm.h>.
53653         (memset): Don't use BP_SYM.
53654         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53655         <bp-sym.h> and <bp-asm.h>.
53656         (strncmp): Don't use BP_SYM.
53657         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53658         <bp-sym.h> and <bp-asm.h>.
53659         (memcpy): Don't use BP_SYM.
53660         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53661         <bp-sym.h> and <bp-asm.h>.
53662         (memset): Don't use BP_SYM.
53663         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53664         <bp-sym.h> and <bp-asm.h>.
53665         (__memchr): Don't use BP_SYM.
53666         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53667         <bp-sym.h> and <bp-asm.h>.
53668         (memcmp): Don't use BP_SYM.
53669         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53670         <bp-sym.h> and <bp-asm.h>.
53671         (memcpy): Don't use BP_SYM.
53672         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53673         <bp-sym.h> and <bp-asm.h>.
53674         (__mempcpy): Don't use BP_SYM.
53675         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53676         <bp-sym.h> and <bp-asm.h>.
53677         (__memrchr): Don't use BP_SYM.
53678         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53679         <bp-sym.h> and <bp-asm.h>.
53680         (memset): Don't use BP_SYM.
53681         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53682         <bp-sym.h> and <bp-asm.h>.
53683         (__rawmemchr): Don't use BP_SYM.
53684         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53685         <bp-sym.h> and <bp-asm.h>.
53686         (__STRCMP): Don't use BP_SYM.
53687         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53688         <bp-sym.h> and <bp-asm.h>.
53689         (strchr): Don't use BP_SYM.
53690         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53691         <bp-sym.h> and <bp-asm.h>.
53692         (__strchrnul): Don't use BP_SYM.
53693         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53694         <bp-sym.h> and <bp-asm.h>.
53695         (strlen): Don't use BP_SYM.
53696         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53697         <bp-sym.h> and <bp-asm.h>.
53698         (strncmp): Don't use BP_SYM.
53699         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53700         <bp-sym.h> and <bp-asm.h>.
53701         (__strnlen): Don't use BP_SYM.
53702         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53703         <bp-asm.h>.
53704         (__mpn_rshift): Don't use BP_SYM.
53705         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53706         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53707         <bp-sym.h> and <bp-asm.h>.
53708         (__sigsetjmp): Don't use BP_SYM.
53709         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53710         (L(start_addresses)): Don't use BP_SYM.
53711         (_start): Likewise.
53712         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53713         <bp-asm.h>.
53714         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53715         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53716         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53717         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53718         <bp-asm.h>.
53719         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53720         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53721         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53722         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53723         <bp-asm.h>.
53724         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53725         comments.
53726         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53727         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53728         <bp-asm.h>.
53729         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53730         FIXME comments.
53731         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53732         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53733         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53734         <bp-asm.h>.
53735         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53736         comment.
53737         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53738         and <bp-asm.h>.
53739         (strncmp): Don't use BP_SYM,
53740         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53741         <bp-asm.h>.
53742         (__mpn_sub_n): Don't use BP_SYM.
53743         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53744         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53745         and <bp-asm.h>.
53746         (__mpn_submul_1): Don't use BP_SYM.
53747         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53749         <bp-sym.h> and <bp-asm.h>.
53750         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53752         <bp-sym.h> and <bp-asm.h>.
53753         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53754         comment.
53756 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53758         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53759         Use ZK to minimize writes to Z.
53760         (sub_magnitudes): Simplify code a bit.
53761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53762         Use ZK to minimize writes to Z.
53763         (sub_magnitudes): Simplify code a bit.
53765 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53767         * csu/gmon-start.c: Add special exception to license text.
53769 2013-02-27  Richard Henderson  <rth@redhat.com>
53771         * scripts/config.guess: Update from config.git.
53772         * scripts/config.sub: Likewise.
53774 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53776         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53778         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53780         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53782         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53784         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53786 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53788         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53789         [$(build-shared = yes].
53791 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53793         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53794         (__mul): Reduce iterations for calculating mantissa.
53796         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53797         MPTWO.
53798         (__mpranred): Likewise.
53800         [BZ #15160]
53801         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53802         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53804 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53806         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53807         Define __attribute__.
53809 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53811         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53812         unused.
53813         * posix/regex_internal.h (__attribute): Remove.
53814         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53815         (re_string_context_at): Likewise.
53816         (bitset_not): Use __attribute__ and mark function as possibly
53817         unused.
53818         (bitset_merge): Likewise.
53819         (bitset_mask): Likewise.
53820         (re_string_char_size_at): Likewise.
53821         (re_string_wchar_at): Likewise.
53822         (re_string_elem_size_at): Likewise.
53824 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53826         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53827         code.
53828         (cc32): Likewise.
53830         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53831         (__acr): Likewise.
53832         (__cpy): Likewise.
53833         (norm): Likewise.
53834         (denorm): Likewise.
53835         (__dbl_mp): Likewise.
53836         (add_magnitudes): Likewise.
53837         (sub_magnitudes): Likewise.
53838         (__mul): Likewise.
53839         (__inv): Likewise.
53841         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53842         style.
53844         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53845         style.
53847         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53848         code.
53850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53851         up changes with default code.
53852         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53853         Likewise.
53855 2013-02-24  Allan McRae  <allan@archlinux.org>
53857         * manual/socket.texi (The Internet Namespace): Order menu items
53858         to match that in the file.
53860         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53861         node listing of the info page menu.
53863 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53865         [BZ #13550]
53866         * sysdeps/i386/bp-asm.h: Remove file.
53867         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53868         (PARMS): Do not use macros from bp-asm.h.
53869         (S1): Likewise.
53870         (S2): Likewise.
53871         (SIZE): Likewise.
53872         (__mpn_add_n): Do not use BP_SYM
53873         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53874         "bp-asm.h".
53875         (PARMS): Do not use macros from bp-asm.h.
53876         (S1): Likewise.
53877         (SIZE): Likewise.
53878         (__mpn_addmul_1): Do not use BP_SYM
53879         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53880         "bp-asm.h".
53881         (PARMS): Do not use macros from bp-asm.h.
53882         (SIGMSK): Likewise.
53883         (_setjmp): Likewise.  Do not use BP_SYM.
53884         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53885         "bp-asm.h".
53886         (PARMS): Do not use macros from bp-asm.h.
53887         (SIGMSK): Likewise.
53888         (setjmp): Likewise.  Do not use BP_SYM.
53889         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53890         "bp-asm.h".
53891         (PARMS): Do not use macros from bp-asm.h.
53892         (__frexp): Do not use BP_SYM.
53893         (frexp): Likewise.
53894         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53895         "bp-asm.h".
53896         (PARMS): Do not use macros from bp-asm.h.
53897         (__frexpf): Do not use BP_SYM.
53898         (frexpf): Likewise.
53899         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53900         "bp-asm.h".
53901         (PARMS): Do not use macros from bp-asm.h.
53902         (__frexpl): Do not use BP_SYM.
53903         (frexpl): Likewise.
53904         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53905         "bp-asm.h".
53906         (PARMS): Do not use macros from bp-asm.h.
53907         (__remquo): Do not use BP_SYM.
53908         (remquo): Likewise.
53909         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53910         "bp-asm.h".
53911         (PARMS): Do not use macros from bp-asm.h.
53912         (__remquof): Do not use BP_SYM.
53913         (remquof): Likewise.
53914         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53915         "bp-asm.h".
53916         (PARMS): Do not use macros from bp-asm.h.
53917         (__remquol): Do not use BP_SYM.
53918         (remquol): Likewise.
53919         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53920         "bp-asm.h".
53921         (PARMS): Do not use macros from bp-asm.h.
53922         (DEST): Likewise.
53923         (SRC): Likewise.
53924         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53925         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53926         "bp-asm.h".
53927         (PARMS): Do not use macros from bp-asm.h.
53928         (strlen): Do not use BP_SYM.
53929         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53930         "bp-asm.h".
53931         (PARMS): Do not use macros from bp-asm.h.
53932         (S1): Likewise.
53933         (S2): Likewise.
53934         (SIZE): Likewise.
53935         (__mpn_add_n): Do not use BP_SYM.
53936         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53937         "bp-asm.h".
53938         (PARMS): Do not use macros from bp-asm.h.
53939         (S1): Likewise.
53940         (SIZE): Likewise.
53941         (__mpn_addmul_1): Do not use BP_SYM.
53942         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53943         weak_alias.
53944         (bzero): Likewise.
53945         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53946         "bp-asm.h".
53947         (PARMS): Do not use macros from bp-asm.h.
53948         (S): Likewise.
53949         (SIZE): Likewise.
53950         (__mpn_lshift): Do not use BP_SYM.
53951         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53952         "bp-asm.h".
53953         (PARMS): Do not use macros from bp-asm.h.
53954         (DEST): Likewise.
53955         (SRC): Likewise.
53956         (LEN): Likewise.
53957         (memcpy): Likewise.  Do not use BP_SYM.
53958         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53959         libc_hidden_def and weak_alias.
53960         (mempcpy): Do not use BP_SYM in weak_alias.
53961         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53962         "bp-asm.h".
53963         (PARMS): Do not use macros from bp-asm.h.
53964         (DEST): Likewise.
53965         (LEN): Likewise.
53966         [!BZERO_P] (CHR): Likewise.
53967         (memset): Likewise.  Do not use BP_SYM.
53968         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53969         "bp-asm.h".
53970         (PARMS): Do not use macros from bp-asm.h.
53971         (S1): Likewise.
53972         (SIZE): Likewise.
53973         (__mpn_mul_1): Do not use BP_SYM.
53974         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53975         "bp-asm.h".
53976         (PARMS): Do not use macros from bp-asm.h.
53977         (S): Likewise.
53978         (SIZE): Likewise.
53979         (__mpn_rshift): Do not use BP_SYM.
53980         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53981         "bp-asm.h".
53982         (PARMS): Do not use macros from bp-asm.h.
53983         (STR): Likewise.
53984         (CHR): Likewise.
53985         (strchr): Likewise.  Do not use BP_SYM.
53986         (index): Do not use BP_SYM in weak_alias.
53987         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53988         "bp-asm.h".
53989         (PARMS): Do not use macros from bp-asm.h.
53990         (DEST): Likewise.
53991         (SRC): Likewise.
53992         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53993         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53994         "bp-asm.h".
53995         (PARMS): Do not use macros from bp-asm.h.
53996         (strlen): Do not use BP_SYM.
53997         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53998         "bp-asm.h".
53999         (PARMS): Do not use macros from bp-asm.h.
54000         (S1): Likewise.
54001         (S2): Likewise.
54002         (SIZE): Likewise.
54003         (__mpn_sub_n): Do not use BP_SYM.
54004         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
54005         "bp-asm.h".
54006         (PARMS): Do not use macros from bp-asm.h.
54007         (S1): Likewise.
54008         (SIZE): Likewise.
54009         (__mpn_submul_1): Do not use BP_SYM.
54010         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
54011         "bp-asm.h".
54012         (PARMS): Do not use macros from bp-asm.h.
54013         (S1): Likewise.
54014         (S2): Likewise.
54015         (SIZE): Likewise.
54016         (__mpn_add_n): Do not use BP_SYM.
54017         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
54018         weak_alias.
54019         (bzero): Likewise.
54020         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
54021         "bp-asm.h".
54022         (PARMS): Do not use macros from bp-asm.h.
54023         (BLK2): Likewise.
54024         (LEN): Likewise.
54025         (memcmp): Do not use BP_SYM.
54026         (bcmp): Do not use BP_SYM in weak_alias.
54027         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
54028         "bp-asm.h".
54029         (PARMS): Do not use macros from bp-asm.h.
54030         (DEST): Likewise.
54031         (SRC): Likewise.
54032         (LEN): Likewise.
54033         (memcpy): Likewise.  Do not use BP_SYM.
54034         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
54035         "bp-asm.h".
54036         (PARMS): Do not use macros from bp-asm.h.
54037         (DEST): Likewise.
54038         (SRC): Likewise.
54039         (LEN): Likewise.
54040         (memmove): Likewise.  Do not use BP_SYM.
54041         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
54042         "bp-asm.h".
54043         (PARMS): Do not use macros from bp-asm.h.
54044         (DEST): Likewise.
54045         (SRC): Likewise.
54046         (LEN): Likewise.
54047         (__mempcpy): Likewise.  Do not use BP_SYM.
54048         (mempcpy): Do not use BP_SYM in weak_alias.
54049         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
54050         "bp-asm.h".
54051         (PARMS): Do not use macros from bp-asm.h.
54052         (DEST): Likewise.
54053         (LEN): Likewise.
54054         [!BZERO_P] (CHR): Likewise.
54055         (memset): Likewise.  Do not use BP_SYM.
54056         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
54057         "bp-asm.h".
54058         (PARMS): Do not use macros from bp-asm.h.
54059         (STR2): Likewise.
54060         (strcmp): Do not use BP_SYM.
54061         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
54062         "bp-asm.h".
54063         (PARMS): Do not use macros from bp-asm.h.
54064         (STR): Likewise.
54065         (DELIM): Likewise.
54066         [USE_AS_STRTOK_R] (SAVE): Likewise.
54067         (FUNCTION): Likewise.  Do not use BP_SYM.
54068         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
54069         aliases.
54070         (strtok_r): Likewise.
54071         (__GI___strtok_r): Likewise.
54072         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54073         (PARMS): Do not use macros from bp-asm.h.
54074         (S): Likewise.
54075         (SIZE): Likewise.
54076         (__mpn_lshift): Do not use BP_SYM.
54077         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54078         (PARMS): Do not use macros from bp-asm.h.
54079         (STR): Likewise.
54080         (CHR): Likewise.
54081         (__memchr): Do not use BP_SYM.
54082         (memchr): Do not use BP_SYM in weak_alias.
54083         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54084         (PARMS): Do not use macros from bp-asm.h.
54085         (BLK2): Likewise.
54086         (LEN): Likewise.
54087         (memcmp): Do not use BP_SYM.
54088         (bcmp): Do not use BP_SYM in weak_alias.
54089         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
54090         (PARMS): Do not use macros from bp-asm.h.
54091         (S1): Likewise.
54092         (SIZE): Likewise.
54093         (__mpn_mul_1): Do not use BP_SYM.
54094         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
54095         "bp-asm.h".
54096         (PARMS): Do not use macros from bp-asm.h.
54097         (STR): Likewise.
54098         (CHR): Likewise.
54099         (__rawmemchr): Do not use BP_SYM.
54100         (rawmemchr): Do not use BP_SYM in weak_alias.
54101         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
54102         (PARMS): Do not use macros from bp-asm.h.
54103         (S): Likewise.
54104         (SIZE): Likewise.
54105         (__mpn_rshift): Do not use BP_SYM.
54106         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
54107         (PARMS): Do not use macros from bp-asm.h.
54108         (SIGMSK): Likewise.
54109         (__sigsetjmp): Likewise.  Do not use BP_SYM.
54110         * sysdeps/i386/start.S: Do not include "bp-sym.h".
54111         (_start): Do not use BP_SYM.
54112         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
54113         (PARMS): Do not use macros from bp-asm.h.
54114         (DEST): Likewise.
54115         (SRC): Likewise.
54116         (__stpcpy): Likewise.  Do not use BP_SYM.
54117         (stpcpy): Do not use BP_SYM in weak_alias.
54118         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
54119         "bp-asm.h".
54120         (PARMS): Do not use macros from bp-asm.h.
54121         (DEST): Likewise.
54122         (SRC): Likewise.
54123         (LEN): Likewise.
54124         (__stpncpy): Likewise.  Do not use BP_SYM.
54125         (stpncpy): Do not use BP_SYM in weak_alias.
54126         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
54127         (PARMS): Do not use macros from bp-asm.h.
54128         (STR): Likewise.
54129         (CHR): Likewise.
54130         (strchr): Likewise.  Do not use BP_SYM.
54131         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
54132         "bp-asm.h".
54133         (PARMS): Do not use macros from bp-asm.h.
54134         (STR): Likewise.
54135         (CHR): Likewise.
54136         (__strchrnul): Likewise.  Do not use BP_SYM.
54137         (strchrnul): Do not use BP_SYM in weak_alias.
54138         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
54139         "bp-asm.h".
54140         (PARMS): Do not use macros from bp-asm.h.
54141         (STOP): Likewise.
54142         (strcspn): Do not use BP_SYM.
54143         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
54144         "bp-asm.h".
54145         (PARMS): Do not use macros from bp-asm.h.
54146         (STR): Likewise.
54147         (STOP): Likewise.
54148         (strpbrk): Likewise.  Do not use BP_SYM.
54149         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
54150         "bp-asm.h".
54151         (PARMS): Do not use macros from bp-asm.h.
54152         (STR): Likewise.
54153         (CHR): Likewise.
54154         (strrchr): Likewise.  Do not use BP_SYM.
54155         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
54156         (PARMS): Do not use macros from bp-asm.h.
54157         (SKIP): Likewise.
54158         (strspn): Do not use BP_SYM.
54159         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
54160         (PARMS): Do not use macros from bp-asm.h.
54161         (STR): Likewise.
54162         (DELIM): Likewise.
54163         (SAVE): Likewise.
54164         (FUNCTION): Likewise.  Do not use BP_SYM.
54165         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
54166         aliases.
54167         (strtok_r): Likewise.
54168         (__GI___strtok_r): Likewise.
54169         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
54170         (PARMS): Do not use macros from bp-asm.h.
54171         (S1): Likewise.
54172         (S2): Likewise.
54173         (SIZE): Likewise.
54174         (__mpn_sub_n): Do not use BP_SYM.
54175         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
54176         "bp-asm.h".
54177         (PARMS): Do not use macros from bp-asm.h.
54178         (S1): Likewise.
54179         (SIZE): Likewise.
54180         (__mpn_submul_1): Do not use BP_SYM.
54181         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
54182         <bp-sym.h>.
54183         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
54184         and <bp-asm.h>.
54185         (PARMS): Do not use macros from bp-asm.h.
54186         (FLAGS): Likewise.
54187         (PTID): Likewise.
54188         (TLS): Likewise.
54189         (CTID): Likewise.
54190         (__clone): Do not use BP_SYM.
54191         (clone): Do not use BP_SYM in weak_alias.
54192         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
54193         and <bp-asm.h>.
54194         (PARMS): Do not use macros from bp-asm.h.
54195         (LEN): Likewise.
54196         (__mmap64): Do not use BP_SYM.
54197         (mmap64): Do not use BP_SYM in weak_alias.
54198         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54199         <bp-sym.h> and <bp-asm.h>.
54200         (PARMS): Do not use macros from bp-asm.h.
54201         (__posix_fadvise64_l64): Do not use BP_SYM.
54202         * sysdeps/unix/sysv/linux/i386/semtimedop.S
54203         (PARMS): Do not use macros from bp-asm.h.
54204         (NSOPS): Likewise.
54205         (semtimedop): Do not use BP_SYM.
54206         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
54207         and <bp-asm.h>.
54209 2013-02-21  Allan McRae  <allan@archlinux.org>
54211         * manual/message.texi (Charset conversion in gettext):
54212         Move @end statement to beginning of line.
54214 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
54217         static.
54218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54219         Likewise.
54221         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
54222         (denorm): Likewise.
54223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
54224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
54226 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54228         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
54229         tail-call to the resolved function if pltexit isn't needed.
54231 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
54234         or Y being zero as being unlikely.
54235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54236         Likewise.
54238 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
54240         * manual/nss.texi (System Databases and Name Service Switch):
54241         Remove frobnicate @pxref.
54243 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54245         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54246         __attribute__ ((unused)) to __attribute__ ((__unused__)).
54248 2013-02-20  Petr Machata  <pmachata@redhat.com>
54250         * elf/elf.h (R_ARM_TARGET1): New macro.
54251         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
54252         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
54253         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
54254         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
54255         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
54256         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
54257         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
54258         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
54259         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
54260         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
54261         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
54262         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
54263         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
54264         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
54265         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
54266         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
54267         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
54268         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
54269         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
54270         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
54271         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
54272         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
54273         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
54274         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
54275         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
54276         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
54277         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
54278         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
54279         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
54280         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
54281         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
54282         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
54283         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
54284         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
54285         (R_ARM_THM_GOT_BREL12): Likewise.
54286         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
54287         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
54288         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
54289         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
54290         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
54291         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
54292         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
54293         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
54294         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
54296 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
54298         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
54299         __attribute_used__ to __attribute__ ((unused)).
54301 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54303         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
54304         powerpc mpa.c.
54305         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
54306         comment formatting.
54307         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
54309 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
54311         [BZ #13550]
54312         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
54313         Remove macro.
54314         (ENTER): Remove both macro definitions.
54315         (LEAVE): Likewise.
54316         (CHECK_BOUNDS_LOW): Likewise.
54317         (CHECK_BOUNDS_HIGH): Likewise.
54318         (CHECK_BOUNDS_BOTH): Likewise.
54319         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
54320         (RETURN_BOUNDED_POINTER): Likewise.
54321         (RETURN_NULL_BOUNDED_POINTER): Likewise.
54322         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
54323         (POP_ERRNO_LOCATION_RETURN): Likewise.
54324         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
54325         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54326         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
54327         macros.
54328         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54329         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
54330         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
54331         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
54332         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
54333         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
54334         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
54335         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
54336         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
54337         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
54338         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
54339         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
54340         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54341         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
54342         removed macros.
54343         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54344         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
54345         macros.
54346         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54347         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
54348         * sysdeps/i386/i586/memset.S (memset): Likewise.
54349         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
54350         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54351         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
54352         macros.
54353         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54354         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
54355         Change uses of L(2) to L(out).
54356         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
54357         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
54358         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
54359         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54360         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
54361         removed macros.
54362         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54363         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
54364         macros.
54365         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54366         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
54367         (RETURN): Do not use macro LEAVE.
54368         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
54369         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
54370         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
54371         * sysdeps/i386/i686/memset.S (memset): Likewise.
54372         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
54373         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
54374         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54375         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
54376         Likewise.
54377         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54378         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
54379         L(1_2) and L(1_3) into L(1).
54380         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54381         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
54382         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54383         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
54384         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54385         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
54386         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
54387         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54388         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
54389         macros.
54390         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
54391         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54392         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
54393         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
54394         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
54395         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54396         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
54397         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
54398         * sysdeps/i386/strcspn.S (strcspn): Likewise.
54399         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
54400         * sysdeps/i386/strrchr.S (strrchr): Likewise.
54401         * sysdeps/i386/strspn.S (strspn): Likewise.
54402         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
54403         conditional code.
54404         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54405         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
54406         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
54407         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
54408         L(1_3) into L(1_1).
54409         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
54410         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54411         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
54412         macros.
54413         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54415 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
54417         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
54418         macro.
54420 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54422         * math/atest-exp.c (exp_mpn): Remove ROUND.
54423         * math/atest-exp2.c (exp_mpn): Likewise.
54424         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
54426         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
54427         * stdlib/tst-tls-atexit-lib.c: Likewise.
54428         * stdlib/tst-tls-atexit.c: Likewise.
54430 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54432         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
54433         and __attribute_alloc_size__.
54435 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54437         * include/programs/xmalloc.h: Change __attribute_alloc_size to
54438         __attribute_alloc_size__.
54439         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
54440         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
54442 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
54444         * include/programs/xmalloc.h: New file.
54445         * catgets/gencat.c: Include it.
54446         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
54447         * elf/pldd.c: Likewise.
54448         * iconv/iconv_charmap.c: Likewise.
54449         * iconv/iconvconfig.c: Likewise.
54450         * iconv/strtab.c: Likewise.
54451         * locale/programs/locale.c: Likewise.
54452         * locale/programs/localedef.h: Likewise.
54453         * locale/programs/simple-hash.c: Likewise.
54454         * nscd/nscd.h: Likewise.
54455         * nss/makedb.c: Likewise.
54456         * sysdeps/generic/ldconfig.h: Likewise.
54458 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54460         * Versions.def: Add GLIBC_2.18.
54461         * include/link.h (struct link_map): New member l_tls_dtor_count.
54462         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
54463         (__call_tls_dtors): Likewise.
54464         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
54465         __cxa_thread_atexit_impl.
54466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54467         Likewise.
54468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54469         Likewise.
54470         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
54471         Likewise.
54472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
54473         Likewise.
54474         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54476         Likewise.
54477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54478         Likewise.
54479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54481         Likewise.
54482         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54483         (tests): Add test case tst-tls-atexit.
54484         (modules-names): Add shared library for tst-tls-atexit.
54485         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54486         (GLIBC_PRIVATE): Add __call_tls_dtors.
54487         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54488         for libstdc++.
54489         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54490         * stdlib/tst-tls-atexit.c: New test case.
54491         * stdlib/tst-tls-atexit-lib.c: New test case.
54493         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54495         * elf/Versions (ld): Add _dl_find_dso_for_object.
54496         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54497         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54498         (dl_open_worker): Use _dl_find_dso_for_object.
54499         * elf/dl-sym.c (do_sym): Likewise.
54500         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54502 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54504         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54505         Syntactic changes only.
54506         (_dl_runtime_profile): Do a tail-call to the resolved function.
54508 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54510         [BZ #13550]
54511         * sysdeps/x86_64/bp-asm.h: Remove file.
54512         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54513         <bp-sym.h> and <bp-asm.h>.
54514         (__clone): Do not use BP_SYM.
54515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54516         <bp-sym.h> and <bp-asm.h>.
54517         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54518         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54519         "bp-asm.h".
54520         (_setjmp): Do not use BP_SYM.
54521         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54522         "bp-asm.h".
54523         (setjmp): Do not use BP_SYM.
54524         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54525         libc_hidden_def.
54526         (mempcpy): Do not use BP_SYM in weak_alias.
54527         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54528         "bp-asm.h".
54529         (strchr): Do not use BP_SYM.
54530         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54531         "bp-asm.h".
54532         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54533         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54534         (_start): Do not use BP_SYM.
54535         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54536         "bp-asm.h".
54537         (strcat): Do not use BP_SYM.
54538         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54539         "bp-asm.h".
54540         (STRCMP): Do not use BP_SYM.
54541         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54542         "bp-asm.h".
54543         (STRCPY): Do not use BP_SYM.
54544         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54545         "bp-asm.h".
54546         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54547         "bp-asm.h".
54548         (FUNCTION): Do not use BP_SYM.
54549         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54550         weak_alias.
54551         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54553 2013-02-17  Andreas Jaeger  <aj@suse.de>
54555         * time/Versions: Sort entries.
54556         * string/Versions: Likewise.
54557         * resolv/Versions: Likewise.
54558         * posix/Versions: Likewise.
54559         * iconv/Versions: Likewise.
54560         * elf/Versions: Likewise.
54561         * wcsmbs/Versions: Likewise.
54563 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54565         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54566         loop termination condition.
54568         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54569         variable to calculate EZ.
54570         (__sqr): Likewise.
54572         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54573         the lower precision input.
54575 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54577         [BZ #13550]
54578         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54579         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54580         (run-via-rtld-prefix): Do not handle %-bp tests.
54581         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54582         (all-object-suffixes): Remove .ob.
54583         (bppfx): Remove variable.
54584         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54585         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54586         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54587         [$(build-bounded) = yes] (libtype.ob): Likewise.
54588         * Makerules (elide-routines.ob): Remove variable.
54589         (do-tests-clean): Do not handle *-bp.out.
54590         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54591         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54592         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54593         (tests): Do not include $(tests-bp.out).
54594         (xtests): Do not include $(xtests-bp.out).
54595         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54596         [$(build-bounded) = yes] ($(addprefix
54597         $(objpfx),$(binaries-bounded))): Remove rule.
54598         ($(objpfx)%-bp.out): Remove rule.
54599         * config.make.in (build-bounded): Remove variable.
54600         * crypt/Makefile [$(build-bounded) = yes]
54601         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54602         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54603         append to variable.
54604         [$(build-bounded) = yes] (install-lib): Likewise.
54605         [$(build-bounded) = yes] (generated): Likewise.
54606         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54607         Remove rule.
54608         * intl/Makefile [$(build-bounded) = yes]
54609         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54610         * math/Makefile [$(build-bounded) = yes]
54611         ($(tests:%=$(objpfx)%-bp): Likewise.
54612         * misc/Makefile [$(build-bounded) = yes]
54613         ($(objpfx)tst-tsearch-bp): Likewise.
54614         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54615         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54616         Remove dependency.
54617         * string/Makefile (o-objects.ob): Remove variable.
54618         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54619         (CFLAGS-.ob): Remove variable.
54620         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54621         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54622         both definitions of variable.
54623         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54624         (ASFLAGS-.ob): Remove variable.
54626 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54628         [BZ #13550]
54629         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54630         Remove __BOUNDED_POINTERS__ from condition.
54631         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54632         * string/bits/string2.h [!__NO_STRING_INLINES &&
54633         !__BOUNDED_POINTERS__]: Likewise.
54634         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54635         Likewise.
54636         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54637         Remove conditional code.
54638         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54639         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54640         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54641         condition.
54643         [BZ #13550]
54644         * csu/libc-start.c: Do not include <bp-sym.h>.
54645         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54646         * elf/dl-open.c: Do not include <bp-sym.h>.
54647         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54648         * math/fegetenv.c: Do not include <bp-sym.h>.
54649         (fegetenv): Do not use BP_SYM in versioned symbols.
54650         * nptl/sysdeps/pthread/bits/libc-lockP.h
54651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54652         <bp-sym.h>.
54653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54654         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54656         (__pthread_mutex_destroy): Likewise.
54657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54658         (__pthread_mutex_lock): Likewise.
54659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54660         (__pthread_mutex_trylock): Likewise.
54661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54662         (__pthread_mutex_unlock): Likewise.
54663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54664         (__pthread_mutexattr_init): Likewise.
54665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54666         (__pthread_mutexattr_destroy): Likewise.
54667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54668         (__pthread_mutexattr_settype): Likewise.
54669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54670         (__pthread_rwlock_init): Likewise.
54671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54672         (__pthread_rwlock_destroy): Likewise.
54673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54674         (__pthread_rwlock_rdlock): Likewise.
54675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54676         (__pthread_rwlock_tryrdlock): Likewise.
54677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54678         (__pthread_rwlock_wrlock): Likewise.
54679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54680         (__pthread_rwlock_trywrlock): Likewise.
54681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54682         (__pthread_rwlock_unlock): Likewise.
54683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54684         (__pthread_key_create): Likewise.
54685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54686         (__pthread_setspecific): Likewise.
54687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54688         (__pthread_getspecific): Likewise.
54689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54690         Likewise.
54691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54692         (_pthread_cleanup_push_defer): Likewise.
54693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54694         (_pthread_cleanup_pop_restore): Likewise.
54695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54696         (pthread_setcancelstate): Likewise.
54697         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54698         <bp-sym.h>.
54699         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54700         (memchr): Do not use BP_SYM in weak_alias.
54701         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54702         (fegetenv): Do not use BP_SYM in versioned symbols.
54703         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54704         (fesetenv): Do not use BP_SYM in versioned symbols.
54705         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54706         (feupdateenv): Do not use BP_SYM in versioned symbols.
54707         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54708         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54709         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54710         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54711         (open64): Do not use BP_SYM in weak_alias.
54712         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54713         (fegetenv): Do not use BP_SYM in versioned symbols.
54714         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54715         (fesetenv): Do not use BP_SYM in versioned symbols.
54716         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54717         (feupdateenv): Do not use BP_SYM in versioned symbols.
54718         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54719         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54720         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54721         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54722         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54723         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54724         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54725         <bp-sym.h>.
54726         (__libc_start_main): Do not use BP_SYM.
54728 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54730         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54731         redundant return line.
54732         (norm): Likewise.
54733         (denorm): Likewise.
54734         (dbl_mp): Likewise.
54735         (sub_magnitudes): Likewise.
54736         (__add): Likewise.
54737         (__sub): Likewise.
54738         (__mul): Likewise.
54739         (__inv): Likewise.
54740         (__dvd): Likewise.
54741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54742         (norm): Likewise.
54743         (denorm): Likewise.
54744         (dbl_mp): Likewise.
54745         (sub_magnitudes): Likewise.
54746         (__add): Likewise.
54747         (__sub): Likewise.
54748         (__mul): Likewise.
54749         (__inv): Likewise.
54750         (__dvd): Likewise.
54752         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54753         instead of __mul.
54754         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54755         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54756         (cc32): Likewise.
54758         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54759         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54761         of __mul for squares.
54762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54763         function
54764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54765         Likewise.
54766         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54767         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54769 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54771         [BZ #13550]
54772         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54773         code.
54774         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54775         prototype or function definition.  Rename ubp_* variables and
54776         parameters.  Remove argv definitions conditional on
54777         [__BOUNDED_POINTERS__].
54778         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54779         * elf/dl-runtime.c (_dl_fixup): Likewise.
54780         * include/set-hooks.h (RUN_HOOK): Likewise.
54781         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54782         definition.
54783         * string/strcpy.c (strcpy): Do not use __unbounded.
54784         * sysdeps/generic/frame.h (struct layout): Likewise.
54785         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54786         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54787         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54788         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54789         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54790         (__backtrace): Likewise.
54791         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54792         use __ptrvalue.
54793         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54794         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54795         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54796         Likewise.
54797         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54798         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54799         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54800         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54801         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54802         Do not use __unbounded.
54803         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54804         Rename __unboundedrlimits parameter to rlimits in prototype.
54805         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54806         Do not use __unbounded.
54807         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54808         not use __ptrvalue.
54809         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54810         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54811         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54812         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54813         __ptrvalue or __unbounded.
54814         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54815         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54816         use __unbounded.
54817         (__new_msgctl): Do not use __ptrvalue.
54818         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54819         __unbounded.
54820         (__libc_msgrcv): Do not use __ptrvalue.
54821         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54822         startup_info): Do not use __unbounded.
54823         (__libc_start_main): Likewise.  Rename ubp_* variables and
54824         parameters.  Remove argv definitions conditional on
54825         [__BOUNDED_POINTERS__].
54826         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54827         __ptrvalue.
54828         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54829         use __unbounded.
54830         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54831         or __ptrvalue.
54832         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54833         use __unbounded.
54834         (__new_shmctl): Do not use __ptrvalue.
54835         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54836         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54837         Likewise.
54838         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54839         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54840         (__libc_sigaction): Likewise.
54841         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54842         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54843         Likewise.
54844         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54846 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54848         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54850         * string/mempcpy.c: Implement by calling memcpy.
54852 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54854         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54856         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54857         evaluation.
54859         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54860         values in the mantissa.
54862         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54863         minimize writes to Z.
54864         (sub_magnitudes): Simplify code a bit.
54866 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54868         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54869         from the message.  The linker prefixes all warnings with that already.
54871 2013-02-12  Andreas Schwab  <schwab@suse.de>
54873         [BZ #15078]
54874         * posix/regexec.c (extend_buffers): Add parameter min_len.
54875         (check_matching): Pass minimum needed length.
54876         (clean_state_log_if_needed): Likewise.
54877         (get_subexp): Likewise.
54878         * posix/Makefile (tests): Add bug-regex34.
54879         (bug-regex34-ENV): Define.
54880         * posix/bug-regex34.c: New file.
54882         [BZ #11561]
54883         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54884         elements compare against the byte sequence of it, not its name.
54885         * posix/Makefile (tests): Add bug-regex35.
54886         (bug-regex35-ENV): Define.
54887         * posix/bug-regex35.c: New file.
54889 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54891         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54892         comment.
54893         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54894         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54895         (CHECK_EOL): Add undef.
54897 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54899         * bits/stdlib-bsearch.h: New file.
54900         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54901         * stdlib/stdlib.h: Likewise.
54903 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54905         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54906         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54907         declaration.
54908         * manual/search.texi (Array Search Function): Add missing const in
54909         lfind prototype.
54910         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54911         declaration to use rlim_t.
54912         (Basic Scheduling Functions): Remove erroneous const from
54913         sched_getparam prototype.  Remove erroneous * from
54914         sched_get_priority_max and sched_get_priority_min prototypes.
54915         (Resource Usage): Fix summary @comment on vtimes to refer to
54916         sys/vtimes.h rather than vtimes.h.
54917         Add missing *s in vtimes prototype.
54918         (Limits on Resources): Fix ulimit prototype to return long int.
54919         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54920         prototypes to use long int rather than double.
54921         (BSD Random): Fix initstate and setstate to use char *, not void *.
54922         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54923         prototype to make second argument 'struct aiocb64 *const[]'.
54924         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54925         (Status of AIO Operations): Remove erroneous const in aio_return and
54926         aio_return64 prototypes.
54927         (Synchronizing I/O): Fix sync prototype to return void.
54928         * manual/startup.texi (Suboptions): Remove an erroneous const in
54929         getsubopt prototype.
54930         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54931         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54932         use size_t rather than int.
54933         (Scanning All Users): Likewise for getpwent_r.
54934         (Setting Groups): Add missing const to setgroups prototype.
54935         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54936         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54937         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54938         'const void *' rather than 'const char *'.
54939         (Host Address Functions): Likewise for inet_ntop.
54940         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54941         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54942         ssize_t for return value.
54943         (Sending Data): Likewise for send, sendto, sendmsg.
54944         (Socket Option Functions): Add a missing const in setsockopt prototype.
54945         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54946         use wchar_t for the argument.
54947         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54948         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54949         take no arguments.
54950         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54951         double/float/long double for second argument.
54952         Fix return types of significand, significandf, significandl.
54953         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54954         argument in fchmod prototype.
54955         (File Owner): Use uid_t and gid_t in fchown prototype.
54956         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54957         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54958         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54959         use 'const struct dirent **' as argument types to CMP function pointer
54960         argument.
54961         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54962         (File Times): Fix summary magic @comment for struct utimbuf and utime
54963         to refer to utime.h, not time.h.
54964         * manual/string.texi (Argz Functions): Add missing const in
54965         argz_extract and argz_next prototypes.
54966         (Finding Tokens in a String): Likewise for basename.
54967         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54968         (Copying and Concatenation): Fix typo in wmemmove prototype.
54969         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54970         (Signal Stack): Remove erroneous const in sigstack prototype.
54971         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54972         prototype.
54973         (Simple Calendar Time): Likewise for stime.
54974         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54975         prototype.
54976         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54977         say sys/sysctl.h instead.
54978         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54979         and vsyslog prototypes.
54981 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54983         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54984         Remove.
54986 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54988         * misc/sys/mman.h: Fix typo in mremap comment.
54990 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54992         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54993         the '\0' terminator.
54995 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54997         [BZ #13550]
54998         * debug/segfault.c: Don't include <bp-checks.h>.
54999         * sysdeps/generic/bp-checks.h: Remove file.
55000         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
55001         (__GETDENTS): Don't use CHECK_N.
55002         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
55003         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
55004         (__getgroups): Don't use CHECK_N.
55005         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
55006         (setgroups): Don't use CHECK_N.
55007         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
55008         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
55009         (__libc_msgrcv): Don't use CHECK_N.
55010         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
55011         (__libc_msgsnd): Don't use CHECK_N.
55012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
55013         <bp-checks.h>.
55014         (__libc_pread): Don't use CHECK_N.
55015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
55016         include <bp-checks.h>.
55017         (__libc_pread64): Don't use CHECK_N.
55018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
55019         include <bp-checks.h>.
55020         (__libc_pwrite): Don't use CHECK_N.
55021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
55022         include <bp-checks.h>.
55023         (__libc_pwrite64): Don't use CHECK_N.
55024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
55025         <bp-checks.h>.
55026         (__libc_pread): Don't use CHECK_N.
55027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
55028         include <bp-checks.h>.
55029         (__libc_pread64): Don't use CHECK_N.
55030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
55031         include <bp-checks.h>.
55032         (__libc_pwrite): Don't use CHECK_N.
55033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
55034         include <bp-checks.h>.
55035         (__libc_pwrite64): Don't use CHECK_N.
55036         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
55037         (do_pread): Don't use CHECK_N.
55038         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
55039         (do_pread64): Don't use CHECK_N.
55040         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
55041         (do_pwrite): Don't use CHECK_N.
55042         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
55043         (do_pwrite64): Don't use CHECK_N.
55044         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
55045         (__libc_readv): Don't use CHECK_N.
55046         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
55047         (semop): Don't use CHECK_N.
55048         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
55049         <bp-checks.h>.
55050         (semtimedop): Don't use CHECK_N.
55051         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
55052         (__libc_pread): Don't use CHECK_N.
55053         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
55054         <bp-checks.h>.
55055         (__libc_pread64): Don't use CHECK_N.
55056         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
55057         <bp-checks.h>.
55058         (__libc_pwrite): Don't use CHECK_N.
55059         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
55060         <bp-checks.h>.
55061         (__libc_pwrite64): Don't use CHECK_N.
55062         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
55063         <bp-checks.h>.
55064         (__libc_msgrcv): Don't use CHECK_N.
55065         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
55066         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
55067         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
55068         (__libc_writev): Don't use CHECK_N.
55070 2013-02-08  Roland McGrath  <roland@hack.frob.com>
55072         * string/strcpy.c: Removed unused variable.
55074         * Makeconfig (+sysdep-includes): Define with := rather than =.
55075         Use an existing include/ subdir of each sysdeps dir before it.
55077 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55079         * nscd/connection.c (register_traced_file): Comment function.
55080         [HAVE_INOTIFY] (union __inev): Define.
55081         [HAVE_INOTIFY] (inotify_check_files): New function.
55082         [HAVE_INOTIFY] (clear_db_cache): Likewise.
55083         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
55084         clear_db_cache.
55085         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
55087 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55089         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
55090         loaded if not already and that a failure is permanent.
55092 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
55094         [BZ #15006]
55095         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
55096         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
55098 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
55100         [BZ #13550]
55101         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
55102         (CHECK_1_NULL_OK): Likewise.
55103         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
55104         (__fxstat): Do not use CHECK_1.
55105         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
55106         <bp-checks.h>.
55107         (___fxstat64): Do not use CHECK_1.
55108         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
55109         <bp-checks.h>.
55110         (__fxstatat): Do not use CHECK_1.
55111         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
55112         <bp-checks.h>.
55113         (__fxstatat64): Do not use CHECK_1.
55114         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
55115         <bp-checks.h>.
55116         (__fxstat): Do not use CHECK_1.
55117         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
55118         <bp-checks.h>.
55119         (__fxstatat): Do not use CHECK_1.
55120         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55121         <bp-checks.h>.
55122         (__getresgid): Do not use CHECK_1.
55123         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55124         <bp-checks.h>.
55125         (__getresuid): Do not use CHECK_1.
55126         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
55127         <bp-checks.h>.
55128         (__lxstat): Do not use CHECK_1.
55129         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55130         <bp-checks.h>.
55131         (__old_msgctl): Do not use CHECK_1.
55132         (__new_msgctl): Likewise.
55133         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
55134         <bp-checks.h>.
55135         (__new_setrlimit): Do not use CHECK_1.
55136         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55137         <bp-checks.h>.
55138         (__old_shmctl): Do not use CHECK_1.
55139         (__new_shmctl): Likewise.
55140         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
55141         <bp-checks.h>.
55142         (__xstat): Do not use CHECK_1.
55143         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
55144         (__lxstat): Do not use CHECK_1.
55145         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
55146         <bp-checks.h>.
55147         (___lxstat64): Do not use CHECK_1.
55148         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
55149         (__old_msgctl): Do not use CHECK_1.
55150         (__new_msgctl): Likewise.
55151         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
55152         <bp-checks.h>.
55153         (__gettimeofday): Do not use CHECK_1.
55154         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
55155         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
55156         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
55157         <bp-checks.h>.
55158         (__gettimeofday): Do not use CHECK_1.
55159         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
55160         (__old_shmctl): Do not use CHECK_1_NULL_OK.
55161         (__new_shmctl): Do not use CHECK_1.
55162         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
55163         <bp-checks.h>.
55164         (do_sigtimedwait): Do not use CHECK_1.
55165         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
55166         <bp-checks.h>.
55167         (do_sigwaitinfo): Do not use CHECK_1.
55168         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
55169         <bp-checks.h>.
55170         (msgctl): Do not use CHECK_1.
55171         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
55172         <bp-checks.h>.
55173         (shmctl): Do not use CHECK_1.
55174         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
55175         (ustat): Do not use CHECK_1.
55176         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
55177         <bp-checks.h>.
55178         (__fxstat): Do not use CHECK_1.
55179         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
55180         <bp-checks.h>.
55181         (__fxstatat): Do not use CHECK_1.
55182         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
55183         <bp-checks.h>.
55184         (__lxstat): Do not use CHECK_1.
55185         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
55186         <bp-checks.h>.
55187         (__xstat): Do not use CHECK_1.
55188         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
55189         (__xstat): Do not use CHECK_1.
55190         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
55191         (___xstat64): Do not use CHECK_1.
55193         [BZ #13550]
55194         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
55195         definitions.
55196         (CHECK_BOUNDS_HIGH): Likewise.
55197         * string/strcpy.c: Do not include <bp-checks.h>.
55198         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
55200 2013-02-07  Roland McGrath  <roland@hack.frob.com>
55202         * nscd/nscd-client.h (__nscd_drop_map_ref):
55203         Add __attribute__ ((unused)).
55204         * nis/nss-nisplus.h (niserr2nss): Likewise.
55206         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
55207         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
55209         * csu/libc-tls.c (init_static_tls, init_slotinfo):
55210         Remove inline keyword.
55211         * include/rounding-mode.h (round_away): Likewise.
55212         * libio/wfileops.c (adjust_wide_data): Likewise.
55213         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
55214         (__m128i_strloadu_tolower): Likewise.
55215         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
55216         (__m128i_strloadu_tolower): Likewise.
55217         * time/mktime.c (ydhms_diff): Likewise.
55218         * locale/elem-hash.h (elem_hash): Likewise.
55219         * locale/setlocale.c (setdata): Likewise.
55220         * posix/regex_internal.h (re_string_char_size_at): Likewise.
55221         (re_string_wchar_at): Likewise.
55222         (bitset_not, bitset_merge, bitset_mask): Likewise.
55223         [!(__GNUC__ > 3)] (inline): Remove macro.
55224         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
55225         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
55226         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
55227         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
55228         * string/memcmp.c (memcmp_bytes): Likewise.
55229         * locale/programs/locarchive.c (compute_hashval): Likewise.
55230         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
55231         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
55232         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
55233         * nss/getent.c (print_rpc, print_protocols): Likewise.
55234         (print_passwd, print_group, print_aliases): Likewise.
55235         * nis/nss-nisplus.h (niserr2nss): Likewise.
55236         * nscd/connections.c (restart_p): Likewise.
55237         Change return type to bool.
55239 2013-02-05  Roland McGrath  <roland@hack.frob.com>
55241         * Makeconfig (all-Depend-files): Add existing
55242         $(sorted-subdirs:=/Depend) files.
55243         (all-subdirs): Remove nss.
55244         * sysdeps/unix/inet/Subdirs: Add it here instead.
55245         * hesiod/Depend: New file.
55247         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
55248         instead of calling alloca.
55250         * io/lseek.c (__lseek): Rename to __libc_lseek.
55251         Define __lseek as an alias.
55253         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
55255 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
55257         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
55258         else clause and remove check for non-standard endianness.
55260 2013-02-04  David S. Miller  <davem@davemloft.net>
55262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55264 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
55266         [BZ #13550]
55267         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
55268         (__ubp_memchr): Remove prototype.
55269         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
55270         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55271         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
55272         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
55273         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
55274         Remove alias.
55275         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
55276         (__ubp_memchr): Likewise.
55277         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
55278         (__ubp_memchr): Likewise.
55279         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
55280         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
55281         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
55282         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
55283         CHECK_STRING.
55284         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
55285         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
55286         (__getcwd): Do not use CHECK_STRING.
55287         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55288         <bp-checks.h>.
55289         (__real_chown): Do not use CHECK_STRING.
55290         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
55291         <bp-checks.h>.
55292         (fchownat): Do not use CHECK_STRING.
55293         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
55294         CHECK_STRING.
55295         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55296         <bp-checks.h>.
55297         (__lchown): Do not use CHECK_STRING.
55298         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55299         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55300         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55301         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
55302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55303         include <bp-checks.h>.
55304         (truncate64): Do not use CHECK_STRING.
55305         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55306         <bp-checks.h>.
55307         (__real_chown): Do not use CHECK_STRING.
55308         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55309         <bp-checks.h>.
55310         (__lchown): Do not use CHECK_STRING.
55311         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55312         <bp-checks.h>.
55313         (__chown): Do not use CHECK_STRING.
55314         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
55315         <bp-checks.h>.
55316         (truncate64): Do not use CHECK_STRING.
55317         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
55318         Likewise.
55319         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
55320         (__xmknod): Do not use CHECK_STRING.
55321         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
55322         <bp-checks.h>.
55323         (__xmknodat): Do not use CHECK_STRING.
55324         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
55325         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
55327 2013-02-04  Andreas Schwab  <schwab@suse.de>
55329         [BZ #14142]
55330         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
55331         * include/netdb.h: Likewise for h_errno.
55332         * elf/tst-stackguard1.c: Include <tls.h>.
55334 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
55336         * elf/link.h (struct link_map): Extend the l_addr comment.
55337         * include/link.h (struct link_map): Likewise.
55339 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
55341         [BZ #13550]
55342         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
55343         (BOUNDED_1): Remove macro.
55344         * debug/backtrace.c: Don't include <bp-checks.h>.
55345         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
55346         (__backtrace): Likewise.
55347         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
55348         <bp-checks.h>.
55349         (__backtrace): Don't use BOUNDED_1.
55350         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
55351         <bp-checks.h>.
55352         (__backtrace): Don't use BOUNDED_1.
55353         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
55354         (__backtrace): Don't use BOUNDED_1.
55355         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
55356         (shmat): Don't use BOUNDED_N.
55358 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
55360         [BZ #13550]
55361         * sysdeps/generic/bp-start.h: Remove file.
55362         * csu/libc-start.c: Don't include <bp-start.h>.
55363         (LIBC_START_MAIN): Set up __environ directly instead of using
55364         INIT_ARGV_and_ENVIRON.
55365         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
55366         <bp-start.h>.
55368         [BZ #13550]
55369         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
55370         definitions.
55371         (CHECK_FCNTL): Likewise.
55372         (CHECK_N_PAGES): Likewise.
55374         [BZ #13550]
55375         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
55376         definitions.
55377         (CHECK_SIGSET_NULL_OK): Likewise.
55378         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
55379         <bp-checks.h>.
55380         (sigpending): Don't use CHECK_SIGSET.
55381         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
55382         <bp-checks.h>.
55383         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55384         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
55385         <bp-checks.h>.
55386         (do_sigsuspend): Don't use CHECK_SIGSET.
55387         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
55388         use CHECK_SIGSET.
55389         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
55390         (do_sigwait): Don't use CHECK_SIGSET.
55391         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
55392         use CHECK_SIGSET.
55393         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
55394         include <bp-checks.h>.
55395         (sigpending): Don't use CHECK_SIGSET.
55396         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
55397         include <bp-checks.h>.
55398         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55399         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
55400         <bp-checks.h>.
55401         (sigpending): Don't use CHECK_SIGSET.
55402         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
55403         <bp-checks.h>.
55404         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
55406         [BZ #13550]
55407         * sysdeps/generic/bp-semctl.h: Remove file.
55408         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
55409         <bp-checks.h> and <bp-semctl.h>.
55410         (__old_semctl): Don't use CHECK_SEMCTL.
55411         (__new_semctl): Likewise.
55412         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
55413         and <bp-semctl.h>.
55414         (__old_semctl): Don't use CHECK_SEMCTL.
55415         (__new_semctl): Likewise.
55416         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
55417         <bp-checks.h> and <bp-semctl.h>.
55418         (__old_semctl): Don't use CHECK_SEMCTL.
55419         (__new_semctl): Likewise.
55420         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
55421         <bp-checks.h> and <bp-semctl.h>.
55422         (semctl): Don't use CHECK_SEMCTL.
55424         [BZ #13550]
55425         * Makerules (elide-bp-thunks): Remove variable.
55426         (elide-routines.oS): Don't use $(elide-bp-thunks).
55427         (elide-routines.os): Likewise.
55428         (elide-routines.o): Likewise.
55429         (elide-routines.op): Likewise.
55430         (elide-routines.og): Likewise.
55431         (objects): Don't use $(bp-thunks).
55432         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
55433         include.
55434         (common-generated): Do not add s-proto-bp.d.
55435         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
55436         (int): Likewise.
55437         (typ): Likewise.
55438         Do not generate makefile rules for bounded-pointer thunks.
55439         * sysdeps/generic/bp-thunks.h: Remove file.
55440         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
55441         * sysdeps/unix/s-proto-bp.S: Likewise.
55443         [BZ #15062]
55444         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
55445         parts of result separately when argument is not close to line from
55446         -i to i and one part of argument is small.
55447         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55448         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55449         * math/libm-test.inc (cacos_test): Add more tests.
55450         (casin_test): Likewise.
55451         (casinh_test): Likewise.
55452         * sysdeps/i386/fpu/libm-test-ulps: Update.
55453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55455 2013-01-31  David S. Miller  <davem@davemloft.net>
55457         * po/de.po: Update from translation team.
55459 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
55461         * time/tzfile.c: Include stdint.h for SIZE_MAX.
55463 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
55465         * configure.in (_AC_PROG_CC_C89): New definition.
55466         * configure: Regenerate.
55468         * configure.in (AC_PROG_CPP): New definition.
55469         * configure: Regenerate.
55471 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55473         * debug/tst-backtrace.h: New file.
55474         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55475         (ret): Remove variable.
55476         (x): Likewise.
55477         (FAIL): Remove macro.
55478         (NO_INLINE): Likewise.
55479         (fn1): Use match function instead of strstr.
55480         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55481         (ret): Remove variable.
55482         (x): Likewise.
55483         (FAIL): Remove macro.
55484         (NO_INLINE): Likewise.
55485         (fn): Use match function instead of strstr.
55486         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55487         (ret): Remove variable.
55488         (x): Likewise.
55489         (FAIL): Remove macro.
55490         (NO_INLINE): Likewise.
55491         (handle_signal): Use match function instead of strstr.
55492         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55493         (ret): Remove variable.
55494         (x): Likewise.
55495         (FAIL): Remove macro.
55496         (NO_INLINE): Likewise.
55497         (handle_signal): Use match function instead of strstr.
55499 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55501         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55503 2013-01-23  David S. Miller  <davem@davemloft.net>
55505         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55506         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55507         argument of CAS if possible.
55508         * sysdeps/sparc/sparc64/bits/atomic.h
55509         (__arch_compare_and_exchange_val_32_acq): Likewise.
55510         (__arch_compare_and_exchange_val_64_acq): Likewise.
55512 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55514         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55515         * sysdeps/posix/ulimit.c: ... this.
55516         Include <limits.h>.
55517         * sysdeps/unix/bsd/ulimit.c: Remove file.
55519 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55521         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55522         (LDFLAGS-tst-array5): Likewise.
55524 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55526         [BZ #15036]
55527         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55528         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55529         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55530         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55532 2013-01-21  David S. Miller  <davem@davemloft.net>
55534         * sysdeps/sparc/backtrace.c: New file.
55535         * sysdeps/sparc/sparc32/backtrace.h: New file.
55536         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55537         * sysdeps/sparc/sparc64/backtrace.h: New file.
55538         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55539         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55540         -funwind-tables.
55542 2013-01-21  Andreas Schwab  <schwab@suse.de>
55544         [BZ #15020]
55545         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55546         closed its stdout.
55548 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55551         "mpa2.h".
55552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55554 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55555             Mark Mitchell  <mark@codesourcery.com>
55556             Tom de Vries  <tom@codesourcery.com>
55557             Paul Pluzhnikov  <ppluzhnikov@google.com>
55559         * debug/tst-backtrace2.c: New file.
55560         * debug/tst-backtrace3.c: Likewise.
55561         * debug/tst-backtrace4.c: Likewise.
55562         * debug/tst-backtrace5.c: Likewise.
55563         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55564         (CFLAGS-tst-backtrace3.c): Likewise.
55565         (CFLAGS-tst-backtrace4.c): Likewise.
55566         (CFLAGS-tst-backtrace5.c): Likewise.
55567         (LDFLAGS-tst-backtrace2): Likewise.
55568         (LDFLAGS-tst-backtrace3): Likewise.
55569         (LDFLAGS-tst-backtrace4): Likewise.
55570         (LDFLAGS-tst-backtrace5): Likewise.
55571         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55572         tst-backtrace4 and tst-backtrace5.
55574 2013-01-18  Anton Blanchard  <anton@samba.org>
55575             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55577         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55578         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55579         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55580         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55582         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55583         "+r" and remove output regs list as redundant.  Add explicit inline
55584         asm to specify register of return val to work around compiler codegen
55585         bug.  Remove (int) cast on return value.  Add return type parameter to
55586         use in macro so that this macro does not truncate return value for
55587         64-bit values.
55588         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55589         pass to INTERNAL_VSYSCALL_NCS.
55590         (INLINE_VSYSCALL): Add 'long int' as return type to
55591         INTERNAL_VSYSCALL_NCS macro invocation.
55592         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55593         INTERNAL_VSYSCALL_NCS macro invocation.
55594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55596 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55598         [BZ #14496]
55599         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55600         Fix application of SIMD FP exception mask.
55602         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55603         mp_no from a power of two.
55604         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55605         __mpexp_twomm1.  Use __pow_mp.
55607         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55608         multiplication.
55610 2013-01-17  David S. Miller  <davem@davemloft.net>
55612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55614 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55616         [BZ #15023]
55617         * include/complex.h: Condition contents on [!_COMPLEX_H].
55618         (__kernel_casinhf): New prototype.
55619         (__kernel_casinh): Likewise.
55620         (__kernel_casinhl): Likewise.
55621         * math/Makefile (libm_calls): Add k_casinh.
55622         * math/k_casinh.c: New file.
55623         * math/k_casinhf.c: Likewise.
55624         * math/k_casinhl.c: Likewise.
55625         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55626         finite nonzero arguments.
55627         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55628         finite nonzero arguments.
55629         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55630         finite nonzero arguments.
55631         * math/s_casinh.c: Do not include <float.h>.
55632         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55633         * math/s_casinhf.c: Do not include <float.h>.
55634         (__casinhf): Move code for finite nonzero arguments to
55635         k_casinhf.c.
55636         * math/s_casinhl.c: Do not include <float.h>.
55637         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55638         redefine.
55639         (__casinhl): Move code for finite nonzero arguments to
55640         k_casinhl.c.
55641         * math/libm-test.inc (cacos_test): Add more tests.
55642         * sysdeps/i386/fpu/libm-test-ulps: Update.
55643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55645 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55647         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55648         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55649         [!HAVE_MREMAP]: Remove [defined linux] case.
55650         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55652 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55654         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55656 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55658         * elf/elf.h (R_386_SIZE32): New relocation.
55659         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55660         R_386_SIZE32.
55661         (elf_machine_rela): Likewise.
55662         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55663         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55665 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55667         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55668         (FP_FAST_FMA): Do not define.
55669         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55670         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55671         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55672         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55673         !_SOFT_FLOAT]: Likewise.
55674         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55675         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55676         value.
55677         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55678         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55679         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55680         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55681         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55682         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55683         file.
55685 2013-01-16  Andreas Schwab  <schwab@suse.de>
55687         [BZ #14327]
55688         * include/stdlib.h (__mktemp): Add declaration.
55689         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55690         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55692 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55694         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55695         definitions.
55696         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55697         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55698         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55699         definitions here.
55700         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55701         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55702         definitions.
55703         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55704         and ONE.
55705         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55706         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55707         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55708         definitions.
55709         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55710         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55711         definitions.
55712         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55714         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55716 2013-01-15  David S. Miller  <davem@davemloft.net>
55718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55719         trunc{,f} to libm-sysdep_routes.
55720         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55722         file.
55723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55725         file.
55726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55727         file.
55728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55730         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55731         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55732         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55733         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55734         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55735         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55738         nearbyint{,f} to libm-sysdep_routes.
55739         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55741         New file.
55742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55743         file.
55744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55745         New file.
55746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55747         file.
55748         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55750         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55751         file.
55752         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55753         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55754         file.
55755         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55756         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55757         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55759         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55760         libc_feholdexcept and libc_fesetenv.
55762 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55764         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55766 2013-01-14  David S. Miller  <davem@davemloft.net>
55768         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55769         (SPARC_ASM_VIS2_IFUNC): Likewise.
55770         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55772         use of 'siam' instruction.
55773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55774         Likewise.
55775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55776         Likewise.
55777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55778         Likewise.
55779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55784         file.
55785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55786         file.
55787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55788         file.
55789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55790         file.
55791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55792         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55794         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55796         new VIS2 routines.
55797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55800         Likewise.
55801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55803         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55806         routines to libm-sysdep_routines.
55807         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55810         fdim/fdimf to libm-sysdep_routines.
55811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55812         file.
55813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55815         file.
55816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55819         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55820         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55821         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55822         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55824 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55826         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55827         to optimize copies.
55829         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55830         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55833         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55834         local variable MPTWO.
55835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55836         Likewise.
55838 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55840         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55841         GLOB_NOESCAPE.
55843 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55845         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55847 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55849         * manual/pattern.texi (glob_t): Document gl_flags.
55850         (glob64_t): Likewise.
55852 2013-01-11  David S. Miller  <davem@davemloft.net>
55854         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55855         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55856         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55857         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55858         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55859         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55860         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55861         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55862         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55863         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55864         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55865         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55866         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55868         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55869         sparc V9 rather than using V8 code.
55870         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55871         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55873         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55874         Move to...
55875         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55876         Here.
55878 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55880         [BZ #14941]
55881         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55882         not in the main loop.
55883         * configure: Regenerated.
55885 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55887         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55888         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55889         to just #else.
55890         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55891         [!__GLIBC_HAVE_LONG_LONG] case.
55892         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55893         condition to just #else.
55894         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55895         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55896         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55897         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55898         unconditional.
55899         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55900         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55901         #elif condition to just #else.
55902         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55903         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55904         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55905         #elif condition to just #else.
55907 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55909         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55910         (EF_MIPS_ARCH_64): Fix value.
55911         (EF_MIPS_ARCH_32R2): New.
55912         (EF_MIPS_ARCH_64R2): New.
55914 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55916         * Makeconfig (+link-pie-before-libc): New.
55917         (+link-pie-after-libc): Likewise.
55918         (+link-pie-tests): Likewise.
55919         (+link-pie): Rewritten.
55920         (link-before-libc): Remove $(config-LDFLAGS).
55921         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55922         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55923         (config-LDFLAGS): Renamed to ...
55924         (rtld-LDFLAGS): This.
55925         (rtld-tests-LDFLAGS): New macro.
55926         (link-libc-rpath-link): Likewise.
55927         (link-libc-tests-rpath-link): Likewise.
55928         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55929         (link-libc): Prepand $(link-libc-rpath-link).
55930         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55931         (test-program-prefix): New macro.
55932         (test-via-rtld-prefix): Likewise.
55933         (test-program-cmd): Likewise.
55934         (host-test-program-cmd): Likewise.
55935         * Makefile ($(common-objpfx)testrun.sh): Replace
55936         $(run-program-prefix) with $(test-program-prefix).
55937         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55938         $(rtld-LDFLAGS).
55939         ($(common-objpfx)shlib.lds): Likewise.
55940         (build-module-helper): Likewise.
55941         ($(common-objpfx)format.lds): Likewise.
55942         * Rules (binaries-pie-tests): New.
55943         (binaries-pie-notests): Likewise.
55944         (binaries-pie): Rewritten.
55945         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55946         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55947         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55948         (make-test-out): Replace $(host-built-program-cmd) with
55949         $(host-test-program-cmd).
55950         * config.make.in (build-hardcoded-path-in-tests): New variable.
55951         * configure.in (--enable-hardcoded-path-in-tests): New configure
55952         option.
55953         (hardcoded_path_in_tests): New AC_SUBST.
55954         * configure: Regenerated.
55955         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55956         $(built-program-cmd) with $(test-program-cmd).
55957         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55958         (test_program_cmd): This.
55959         * elf/Makefile ($(objpfx)order.out): Run test with
55960         $(test-program-prefix).
55961         ($(objpfx)order2.out): Likewise.
55962         ($(objpfx)tst-initorder.out): Likewise.
55963         ($(objpfx)tst-initorder2.out): Likewise.
55964         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55965         $(test-program-cmd).
55966         ($(objpfx)tst-array1-static.out): Likewise.
55967         ($(objpfx)tst-array2.out): Likewise.
55968         ($(objpfx)tst-array3.out): Likewise.
55969         ($(objpfx)tst-array4.out): Likewise.
55970         ($(objpfx)tst-array5.out): Likewise.
55971         ($(objpfx)tst-array5-static.out): Likewise.
55972         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55973         $(test-program-cmd).
55974         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55975         $(run-program-prefix) with $(test-program-prefix).
55976         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55977         (test_program_prefix): This.
55978         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55979         $(run-program-prefix) with $(test-program-prefix).
55980         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55981         (test_program_prefix): This.
55982         * iconvdata/tst-tables.sh: Likewise.
55983         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55984         $(run-program-prefix) with $(test-program-prefix).
55985         ($(objpfx)tst-translit.out): Likewise.
55986         ($(objpfx)tst-gettext2.out): Likewise.
55987         ($(objpfx)tst-gettext4.out): Likewise.
55988         ($(objpfx)tst-gettext6.out): Likewise.
55989         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55990         (test_program_prefix): This.
55991         * intl/tst-gettext2.sh: Likewise.
55992         * intl/tst-gettext4.sh  Likewise.
55993         * intl/tst-gettext6.sh: Likewise.
55994         * intl/tst-translit.sh: Likewise.
55995         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55996         with $(test-program-cmd).
55997         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55998         $(run-program-prefix) with $(test-program-prefix).
55999         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
56000         (test_program_prefix): This.
56001         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
56002         $(run-program-prefix) with $(test-program-prefix).
56003         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
56004         (test_program_prefix): This.
56005         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
56006         * posix/Makefile ($(objpfx)globtest.out): Replace
56007         $(run-via-rtld-prefix) and $(test-wrapper) with
56008         $(test-program-prefix) and $(test-via-rtld-prefix).
56009         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
56010         $(test-program-prefix).
56011         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
56012         $(host-test-program-cmd).
56013         (tst-spawn-ARGS): Likewise.
56014         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
56015         $(test-program-prefix).
56016         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
56017         (test_via_rtld_prefix): This.
56018         (test_wrapper): Renamed to ...
56019         (test_program_prefix): This.
56020         (run_program_prefix): Replaced by test_program_prefix.
56021         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
56022         (test_program_prefix): This.
56023         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
56024         with $(host-test-program-cmd).
56025         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
56026         $(run-program-prefix) with $(test-program-prefix).
56027         ($(objpfx)tst-printf.out): Likewise.
56028         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
56029         $(test-program-cmd).
56030         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
56031         (test_program_prefix): This.
56032         * stdio-common/tst-unbputc.sh: Likewise.
56033         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
56034         $(run-program-prefix) with $(test-program-prefix).
56035         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
56036         (test_program_prefix): This.
56037         * string/Makefile ($(objpfx)tst-svc.out):  Replace
56038         $(built-program-cmd) with $(test-program-cmd).
56040 2013-01-11  Andreas Jaeger  <aj@suse.de>
56042         [BZ #15003]
56043         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
56044         value. Sync with Linux 3.7.
56046 2013-01-10  David S. Miller  <davem@davemloft.net>
56048         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
56049         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56050         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56052 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56054         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
56055         never set.
56056         * configure: Regenerated.
56058 2013-01-10  David S. Miller  <davem@davemloft.net>
56060         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
56061         sparc V9 rather than using V8 code.
56062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
56063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
56065 2013-01-10  Roland McGrath  <roland@hack.frob.com>
56067         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
56068         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
56069         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
56070         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
56071         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
56072         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
56073         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
56074         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
56075         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
56076         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
56077         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
56078         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
56079         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
56080         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
56081         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
56082         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
56083         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
56084         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
56085         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
56086         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
56087         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
56088         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
56089         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
56090         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
56091         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
56092         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
56093         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
56095 2013-01-10  David S. Miller  <davem@davemloft.net>
56097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56099 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56101         * posix/Makefile (tests-static): New variable.
56102         (tests): Add $(tests-static).
56103         (tst-exec-static-ARGS): New variable.
56104         (tst-spawn-static-ARGS): Likewise.
56105         * posix/tst-exec-static.c: New file.
56106         * posix/tst-spawn-static.c: Likewise.
56107         * posix/tst-exec.c: Support run directly.
56108         * posix/tst-spawn.c: Likewise.
56110 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
56112         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
56113         long.
56114         * math/bits/mathcalls.h (llrint): Likewise.
56115         (llround): Likewise.
56116         * stdlib/stdlib.h (struct drand48_data): Likewise.
56117         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
56118         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
56119         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
56120         Likewise.
56121         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
56122         Likewise.
56123         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
56124         (elf_greg_t): Likewise.
56125         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
56126         (__jmp_buf): Likewise.
56127         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
56128         definitions.
56129         (llrint): Likewise, for all definitions.
56130         (llrintl): Likewise.
56132         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
56133         Remove [__GNUC__] condition.
56134         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
56135         condition to just [__USE_ISOC99].
56136         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
56138 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
56140         [BZ #14200]
56141         * sysdeps/unix/sysv/linux/x86/bits/environments.h
56142         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
56143         defined.
56144         (_POSIX_V6_ILP32_OFF32): Likewise.
56145         (_XBS5_ILP32_OFF32): Likewise.
56146         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
56147         (__ILP32_OFFBIG_LDFLAGS): Likewise.
56149 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56151         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
56153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
56154         doubles __mpexp_twomm1.  Adjust usage.
56155         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
56156         Remove.
56158 2013-01-10  Andreas Schwab  <schwab@suse.de>
56160         [BZ #14964]
56161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
56162         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
56164 2013-01-09  David S. Miller  <davem@davemloft.net>
56166         [BZ #15003]
56167         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
56168         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
56169         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
56170         (TCP_FASTOPEN): Define.
56171         (tcp_repair_opt): New structure.
56172         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
56173         enum values.
56174         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
56175         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
56176         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
56177         (tcp_cookie_transactions): New structure.
56179 2013-01-09  Anton Blanchard  <anton@samba.org>
56181         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
56182         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
56183         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
56184         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
56186 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
56188         * include/features.h (__USE_ANSI): Remove.
56190 2013-01-09  Roland McGrath  <roland@hack.frob.com>
56192         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
56194         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
56196 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
56198         * sysdeps/s390/fpu/libm-test-ulps: Update.
56200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56202         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
56203         (__acr): Likewise.
56204         (__cpy): Likewise.
56205         (norm): Likewise.
56206         (denorm): Likewise.
56207         (__mp_dbl): Likewise.
56208         (__dbl_mp): Likewise.
56209         (add_magnitudes): Likewise.
56210         (sub_magnitudes): Likewise.
56211         (__add): Likewise.
56212         (__sub): Likewise.
56213         (__mul): Likewise.
56214         (__inv): Likewise.
56215         (__dvd): Likewise.
56216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
56217         (__acr): Likewise.
56218         (__cpy): Likewise.
56219         (norm): Likewise.
56220         (denorm): Likewise.
56221         (__mp_dbl): Likewise.
56222         (__dbl_mp): Likewise.
56223         (add_magnitudes): Likewise.
56224         (sub_magnitudes): Likewise.
56225         (__add): Likewise.
56226         (__sub): Likewise.
56227         (__mul): Likewise.
56228         (__inv): Likewise.
56229         (__dvd): Likewise.
56230         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
56231         (__acr): Likewise.
56232         (__cpy): Likewise.
56233         (norm): Likewise.
56234         (denorm): Likewise.
56235         (__mp_dbl): Likewise.
56236         (__dbl_mp): Likewise.
56237         (add_magnitudes): Likewise.
56238         (sub_magnitudes): Likewise.
56239         (__add): Likewise.
56240         (__sub): Likewise.
56241         (__mul): Likewise.
56242         (__inv): Likewise.
56243         (__dvd): Likewise.
56245 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
56247         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
56248         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
56249         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
56250         2 && __USE_EXTERN_INLINES]: Likewise.
56252 2013-01-08  Andreas Jaeger  <aj@suse.de>
56254         [BZ# 14985]
56255         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
56256         Remove.
56257         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56258         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
56260 2013-01-07  Anton Blanchard  <anton@samba.org>
56262         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
56263         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
56264         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
56265         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
56266         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56267         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56268         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
56269         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56271         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56272         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
56273         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
56274         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56275         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56276         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56277         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
56278         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
56279         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56280         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56281         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56282         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56283         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
56284         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56285         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56286         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
56287         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56288         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56289         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
56290         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
56291         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56292         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56293         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56294         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56295         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56296         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56297         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56298         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56299         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56300         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
56301         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
56302         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
56303         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56304         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56306 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
56308         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
56309         (__MALLOC_PMT): Likewise.
56310         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
56311         [__GNUC__], only on [_LIBC].
56312         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56313         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
56314         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56315         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
56316         forward declaration.
56317         (realloc_hook_ini): Likewise.
56318         (memalign_hook_ini): Likewise.
56319         (__libc_memalign): Do not use __MALLOC_PMT in variable
56320         declaration.
56321         (__libc_valloc): Likewise.
56322         (__libc_pvalloc): Likewise.
56323         (__libc_calloc): Likewise.
56324         (__posix_memalign): Likewise.
56326         [BZ #14996]
56327         * math/s_casinh.c: Include <float.h>.
56328         (__casinh): Do not do computation with squaring and square root
56329         for large arguments.
56330         * math/s_casinhf.c: Include <float.h>.
56331         (__casinhf): Do not do computation with squaring and square root
56332         for large arguments.
56333         * math/s_casinhl.c: Include <float.h>.
56334         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
56335         (__casinhl): Do not do computation with squaring and square root
56336         for large arguments.
56337         * math/libm-test.inc (casin_test): Add more tests.
56338         (casinh_test): Likewise.
56339         * sysdeps/i386/fpu/libm-test-ulps: Update.
56340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56342 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
56344         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
56345         (__x86_64_raw_data_cache_size): Likewise.
56346         (__x86_64_data_cache_size_half): Likewise.
56347         (__x86_64_raw_data_cache_size_half): Likewise.
56348         (__x86_64_shared_cache_size): Likewise.
56349         (__x86_64_raw_shared_cache_size): Likewise.
56350         (__x86_64_shared_cache_size_half): Likewise.
56351         (__x86_64_raw_shared_cache_size_half): Likewise.
56352         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
56353         to ...
56354         (__x86_data_cache_size): This.
56355         (__x86_64_raw_data_cache_size): Renamed to ...
56356         (__x86_raw_data_cache_size): This.
56357         (__x86_64_data_cache_size_half): Renamed to ...
56358         (__x86_data_cache_size_half): This.
56359         (__x86_64_raw_data_cache_size_half): Renamed to ...
56360         (__x86_raw_data_cache_size_half): This.
56361         (__x86_64_shared_cache_size): Renamed to ...
56362         (__x86_shared_cache_size): This.
56363         (__x86_64_raw_shared_cache_size): Renamed to ...
56364         (__x86_raw_shared_cache_size): This.
56365         (__x86_64_shared_cache_size_half): Renamed to ...
56366         (__x86_shared_cache_size_half): This.
56367         (__x86_64_raw_shared_cache_size_half): Renamed to ...
56368         (__x86_raw_shared_cache_size_half): This.
56369         * sysdeps/x86_64/memcpy.S: Updated.
56370         * sysdeps/x86_64/memset.S: Likewise.
56371         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56372         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56373         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56375 2013-01-04  David S. Miller  <davem@davemloft.net>
56377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56379 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
56381         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
56382         1 to avoid redefinition warning.
56383         (__USE_GNU): Don't define.
56384         (init_signaling_nan): Protoize.
56386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56388 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56390         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
56391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
56392         (__cpymn): Likewise.
56393         (norm): Remove commented code.
56394         (denorm): Likewise.
56395         (__mp_dbl): Likewise.
56396         (__inv): Likewise.
56397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
56398         (__cpymn): Likewise.
56399         (norm): Remove commented code.
56400         (denorm): Likewise.
56401         (__mp_dbl): Likewise.
56402         (__inv): Likewise.
56404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
56405         mp_no value for 1.0 and 2.0.
56406         (norm): Use RADIXI instead of radixi.d.
56407         (denorm): Likewise.
56408         (__mul): Use 0.0 instead of zero.d.
56409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
56410         mp_no value for 1.0 and 2.0.
56411         (norm): Use RADIXI instead of radixi.d.
56412         (denorm): Likewise.
56413         (__mul): Use 0.0 instead of zero.d.
56415 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
56417         [BZ #14994]
56418         * math/s_casinh.c (__casinh): Reduce finite argument to first
56419         quadrant then set signs of results at the end.
56420         * math/s_casinhf.c (__casinhf): Likewise.
56421         * math/s_casinhl.c (__casinhl): Likewise.
56422         * math/libm-test.inc (casin_test): Add more tests.
56423         (casinh_test): Likewise.
56424         * sysdeps/i386/fpu/libm-test-ulps: Update.
56425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56427 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56429         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
56431         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
56433         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
56434         declarations.
56435         (denorm): Likewise.
56436         (__mp_dbl): Likewise.
56437         (__inv): Likewise.
56439         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
56440         and adjust the header comment.
56442         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
56443         variable name from declaration.
56445 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
56447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56448         Initialize COMMON_CPUID_INDEX_7 element.
56449         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
56450         (CPUID_RTM): Likewise.
56451         (HAS_RTM): Likewise.
56452         (COMMON_CPUID_INDEX_7): New enum.
56454 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
56456         [BZ #14981]
56457         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
56458         size is zero, record memory as freed.
56460 2013-01-03  Andreas Jaeger  <aj@suse.de>
56462         * po/ia.po: Add new Interlingua translation.
56464 2012-01-03  Allan McRae  <allan@archlinux.org>
56466         * locale/programs/localedef.c: Fix description of '--posix' flag.
56468 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
56470         * NEWS: Update dates in second copyright notice.
56471         * README: Update copyright dates in example.
56472         * manual/libc.texinfo: Update copyright dates.
56473         * scripts/test-installation.pl: Update copyright date in --version
56474         output.
56476         * hurd/ctty-input.c: Fix copyright notice formatting.
56477         * hurd/ctty-output.c: Likewise.
56478         * hurd/dtable.c: Likewise.
56479         * hurd/hurd-raise.c: Likewise.
56480         * hurd/hurdprio.c: Likewise.
56481         * hurd/msgportdemux.c: Likewise.
56482         * misc/sys/file.h: Likewise.
56483         * misc/sys/ioctl.h: Likewise.
56484         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56485         * sysdeps/mach/hurd/chdir.c: Likewise.
56486         * sysdeps/mach/hurd/fchdir.c: Likewise.
56487         * sysdeps/mach/hurd/rename.c: Likewise.
56488         * sysdeps/mach/hurd/rmdir.c: Likewise.
56489         * sysdeps/mach/hurd/seekdir.c: Likewise.
56490         * sysdeps/mach/hurd/setsid.c: Likewise.
56491         * sysdeps/posix/wait3.c: Likewise.
56493         * All files with FSF copyright notices: Update copyright dates
56494         using scripts/update-copyrights.
56495         * intl/plural.c: Regenerated.
56496         * locale/programs/charmap-kw.h: Likewise.
56497         * locale/programs/locfile-kw.h: Likewise.
56499 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56501         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56502         four values.
56504         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56505         calculation loop and add branch prediction.
56507         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56508         check access beyond bounds of m1np.
56510         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56511         MPTWO.
56512         (__inv): Remove local variable MPTWO to use the global
56513         constant.
56514         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56515         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56516         variable MPTWO.
56517         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56518         MP3HALFS static const.
56520 2013-01-01  David S. Miller  <davem@davemloft.net>
56522         * po/ca.po: Update from translation team.
56524 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56526         * scripts/update-copyrights: New file.
56527         * Makeconfig: Reformat copyright notice.
56528         * ctype/ctype.h: Likewise.
56529         * debug/swprintf_chk.c: Likewise.
56530         * elf/dl-cache.c: Likewise.
56531         * elf/dl-debug.c: Likewise.
56532         * elf/dl-object.c: Likewise.
56533         * grp/initgroups.c: Likewise.
56534         * hurd/Makefile: Likewise.
56535         * hurd/hurd/signal.h: Likewise.
56536         * hurd/hurdfault.c: Likewise.
56537         * hurd/hurdioctl.c: Likewise.
56538         * hurd/hurdlookup.c: Likewise.
56539         * hurd/intr-msg.c: Likewise.
56540         * iconv/gconv_open.c: Likewise.
56541         * libio/swprintf.c: Likewise.
56542         * locale/lc-ctype.c: Likewise.
56543         * locale/nl_langinfo.c: Likewise.
56544         * mach/Machrules: Likewise.
56545         * mach/Makefile: Likewise.
56546         * malloc/obstack.h: Likewise.
56547         * manual/Makefile: Likewise.
56548         * manual/tsort.awk: Likewise.
56549         * misc/bits/stab.def: Likewise.
56550         * nis/nis_print_group_entry.c: Likewise.
56551         * nis/nis_table.c: Likewise.
56552         * nis/nss_compat/compat-pwd.c: Likewise.
56553         * nis/nss_compat/compat-spwd.c: Likewise.
56554         * po/Makefile: Likewise.
56555         * posix/fnmatch.c: Likewise.
56556         * posix/regex.h: Likewise.
56557         * resolv/Makefile: Likewise.
56558         * resolv/nss_dns/dns-network.c: Likewise.
56559         * resolv/res_hconf.c: Likewise.
56560         * scripts/gen-sorted.awk: Likewise.
56561         * soft-fp/soft-fp.h: Likewise.
56562         * stdio-common/printf.h: Likewise.
56563         * stdlib/monetary.h: Likewise.
56564         * stdlib/random.c: Likewise.
56565         * stdlib/random_r.c: Likewise.
56566         * sysdeps/generic/Makefile: Likewise.
56567         * sysdeps/gnu/Makefile: Likewise.
56568         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56570         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56572         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56573         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56574         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56575         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56577         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56578         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56579         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56580         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56581         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56582         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56583         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56584         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56585         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56586         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56587         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56588         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56589         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56590         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56591         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56592         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56593         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56594         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56595         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56596         * sysdeps/mach/hurd/errnos.awk: Likewise.
56597         * sysdeps/mach/hurd/fork.c: Likewise.
56598         * sysdeps/mach/hurd/getcwd.c: Likewise.
56599         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56600         * sysdeps/mach/hurd/mmap.c: Likewise.
56601         * sysdeps/mach/hurd/utimes.c: Likewise.
56602         * sysdeps/mach/hurd/xmknod.c: Likewise.
56603         * sysdeps/posix/profil.c: Likewise.
56604         * sysdeps/posix/readdir_r.c: Likewise.
56605         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56606         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56607         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56608         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56609         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56610         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56611         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56612         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56613         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56614         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56615         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56616         * sysdeps/pthread/lio_listio.c: Likewise.
56617         * sysdeps/sparc/dl-procinfo.h: Likewise.
56618         * sysdeps/unix/i386/sysdep.S: Likewise.
56619         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56620         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56621         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56622         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56624         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56625         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56626         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56627         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56628         * sysdeps/wordsize-32/divdi3.c: Likewise.
56629         * time/sys/time.h: Likewise.
56630         * wcsmbs/Makefile: Likewise.
56632 2013-01-01  David S. Miller  <davem@davemloft.net>
56634         * po/fr.po: Update from translation team.
56636         * catgets/gencat.c: Update copyright year.
56637         * csu/version.c: Likewise.
56638         * debug/catchsegv.sh: Likewise.
56639         * debug/pcprofiledump.c: Likewise.
56640         * debug/xtrace.sh: Likewise.
56641         * elf/ldconfig.c: Likewise.
56642         * elf/ldd.bash.in: Likewise.
56643         * elf/pldd.c: Likewise.
56644         * elf/sotruss.ksh: Likewise.
56645         * elf/sprof.c: Likewise.
56646         * iconv/iconv_prog.c: Likewise.
56647         * iconv/iconvconfig.c: Likewise.
56648         * locale/programs/locale.c: Likewise.
56649         * locale/programs/localedef.c: Likewise.
56650         * login/programs/pt_chown.c: Likewise.
56651         * malloc/memusage.sh: Likewise.
56652         * malloc/memusagestat.c: Likewise.
56653         * malloc/mtrace.pl: Likewise.
56654         * nscd/nscd.c: Likewise.
56655         * nss/getent.c: Likewise.
56656         * nss/makedb.c: Likewise.
56657         * posix/getconf.c: Likewise.
56659 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56661         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56662         numbers.
56664 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56666         * math/bits/mathcalls.h (modf): Use __nonnull.
56668 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56670         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56671         (split): Use macro CN instead of the bare value.
56672         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56673         could be used.
56674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56675         instead of the bare value.
56676         (power1): Likewise.
56678 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56680         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56681         __ATAN_TWOM.
56682         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56684         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56685         their values.
56686         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56687         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56688         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56689         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56691 2012-12-28  Andreas Jaeger  <aj@suse.de>
56693         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56694         values are from Linux 3.7.
56696         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56697         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56699 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56701         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56702         TRUE case.
56704         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56705         (norm): Likewise.
56706         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56707         variables with preprocessor constants.
56708         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56709         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56710         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56712 2012-12-27  Bruno Haible  <bruno@clisp.org>
56714         [BZ #14317]
56715         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56716         only if needed.
56718 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56720         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56721         and use variable directly.
56722         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56724         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56725         MPONE.
56726         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56728         variable MPONE.
56729         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56730         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56731         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56732         include directive.  Remove local variable MPONE.
56733         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56734         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56735         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56737 2012-12-25  David S. Miller  <davem@davemloft.net>
56739         * version.h (RELEASE): Set to "development".
56740         (VERSION): Set to "2.17.90".
56741         * NEWS: Add 2.18 section.
56743 2012-12-21  David S. Miller  <davem@davemloft.net>
56745         * po/hr.po: Update from translation team.
56747 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56749         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56751 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56753         * NEWS:  Mention new memcpy for MIPS.
56755 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56757         * manual/contrib.texi (Contributors): Spelling correction.
56759 2012-12-15  David S. Miller  <davem@davemloft.net>
56761         * po/ru.po: Update from translation team.
56763 2012-12-13  David S. Miller  <davem@davemloft.net>
56765         * NEWS: Mention IFUNC testsuite enhancements.
56767         * po/pl.po: Update from translation team.
56768         * po/bg.po: Likewise.
56770         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56771         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56773 2012-12-11  David S. Miller  <davem@davemloft.net>
56775         * po/sv.po: Update from translation team.
56777         * po/vi.po: Update from translation team.
56779         * po/cs.po: Update from translation team.
56781         * po/de.po: Update from translation team.
56782         * po/eo.po: Likewise.
56783         * po/nl.po: Likewise.
56785 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56787         [BZ #14246]
56788         * manual/argp.texi (Argp Helper Functions): Move node to follow
56789         Argp Parsing State.
56791         [BZ #14872]
56792         * manual/conf.texi (Limits on File System Capacity): Mention if
56793         terminating null is included in the max size.
56795 2012-12-10  Andreas Jaeger  <aj@suse.de>
56797         * po/cs.po: Update from translation team.
56799 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56801         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56802         void pointer and cast to uintptr_t.
56803         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56804         path.
56805         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56806         * sysdeps/s390/s390-64/memset.S: Likewise.
56808 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56810         [BZ #14833]
56811         * menual/message.texi (Message Translation): Fix typos.
56812         (Helper programs for gettext): Likewise.
56814 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56816         [BZ #14898]
56817         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56818         Change to -1.
56820 2012-12-07  David S. Miller  <davem@davemloft.net>
56822         * po/libc.pot: Update.
56824 2012-12-07  Richard Henderson  <rth@redhat.com>
56826         [BZ #10114]
56827         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56828         normal/normal case to before the switch.
56829         (_FP_DIV): Likewise.
56831 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56832             Mike Frysinger  <vapier@gentoo.org>
56834         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56835         check for __NR_fadvise64_64.
56837 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56839         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56840         0, not just to plain "0" as a statement.
56841         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56842         with cw.
56844 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56846         * NEWS: Use sourceware.org in Bugzilla URL.
56848 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56851         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56853         * stdio-common/tst-put-error.c (do_test): Add newline to the
56854         padded test to ensure flush.
56856 2012-12-05  Jeff Law  <law@redhat.com>
56858         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56860 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56862         * README: Don't refer to ports add-on as distributed separately.
56863         Mention AArch64 in list of systems supported in the ports add-on.
56865         * LICENSES: Add more non-FSF copyright and license notices.
56867         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56868         ((unused)).
56870         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56872         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56873         10000 as width of padded output.
56875 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56877         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56879         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56880         variable LX with __attribute__ ((unused)).
56881         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56882         Likewise.
56883         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56884         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56886         with __attribute__ ((unused)).
56888 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56890         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56892 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56894         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56895         (CFLAGS-nldbl-acos.c): New variable.
56896         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56897         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56898         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56899         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56900         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56901         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56902         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56903         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56904         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56905         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56906         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56907         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56908         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56909         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56910         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56911         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56912         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56913         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56914         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56915         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56916         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56917         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56918         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56919         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56920         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56921         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56922         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56923         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56924         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56925         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56926         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56927         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56928         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56929         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56930         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56931         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56932         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56933         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56934         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56935         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56936         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56937         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56938         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56939         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56940         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56941         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56942         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56943         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56944         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56945         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56946         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56947         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56948         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56949         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56950         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56951         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56952         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56953         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56954         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56955         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56956         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56957         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56958         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56959         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56960         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56961         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56962         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56963         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56964         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56965         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56966         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56967         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56968         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56969         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56970         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56971         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56972         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56973         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56974         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56975         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56976         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56977         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56978         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56979         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56980         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56981         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56982         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56983         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56984         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56985         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56986         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56987         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56988         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56989         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56990         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56991         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56992         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56995         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56997         [BZ #14914]
56998         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56999         whole low double instead of just low 47 bits when splitting values
57000         into two parts.
57002 2012-12-03  Allan McRae  <allan@archlinux.org>
57004         * manual/stdio.texi (Predefined Printf Handlers): Remove
57005         @hsep and @vsep usage.
57007 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
57009         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
57010         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
57012 2012-12-03  Jeff Law  <law@redhat.com>
57014         * time/sys/time.h (settimeofday): Do not mark TV argument
57015         as __nonnull.
57017 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
57019         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
57020         when currently writing and seek to current position when not.
57021         * libio/Makefile (tests): Remove bug-fclose1.
57022         * libio/bug-fclose1.c: Delete.
57024 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
57026         * manual/arith.texi (feenableexcept): Fix typo.
57027         (fedisableexcept): Likewise.
57029 2012-11-30  Roland McGrath  <roland@hack.frob.com>
57031         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
57032         second, differently-typed declaration, rather than a cast.
57034 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57036         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
57037         * include/rpc/svc.h: ... here.
57039 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
57041         [BZ #13013]
57042         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
57043         depending n and resplen2 to catch cases where answer
57044         equals answerp2.
57046 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
57048         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
57049         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
57051 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
57053         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
57055 2012-11-29  Roland McGrath  <roland@hack.frob.com>
57057         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
57059 2012-11-28  Jeff Law  <law@redhat.com>
57061         [BZ #13761]
57062         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
57063         dataset_temporary.  Track alloca usage into alloca_used.
57064         If dataset is large allocate and release it via malloc/free.
57066 2012-06-04  Florian Weimer  <fweimer@redhat.com>
57068         [BZ #14197]
57069         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
57071 2012-11-28  David S. Miller  <davem@davemloft.net>
57073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57075 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57077         [BZ #14803]
57078         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
57079         of pi/2 rounded to nearest to 64 bits.
57080         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
57081         nearest to 64 bits.
57082         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
57083         bits.
57085 2012-11-28  Jeff Law <law@redhat.com>
57086             Martin Osvald <mosvald@redhat.com>
57088         [BZ #14889]
57089         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
57090         * sunrpc/svc.c: Include time.h.
57091         (__svc_accept_failed): New function.
57092         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
57093         any reason other than EINTR, call __svc_accept_failed.
57094         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
57095         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
57097 2012-11-28  Andreas Schwab  <schwab@suse.de>
57099         * scripts/abilist.awk: Also handle indirect functions in .opd
57100         section.
57102 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
57104         [BZ #13881]
57105         * sysdeps/x86/fpu/powl_helper.c: New file.
57106         * sysdeps/x86/fpu/Makefile: Likewise.
57107         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
57108         (p3): New object.
57109         (__ieee754_powl): Use __powl_helper for finite arguments except
57110         integer exponents below 8.
57111         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
57112         (p3): New object.
57113         (__ieee754_powl): Use __powl_helper for finite arguments except
57114         integer exponents below 8.
57115         * math/libm-test.inc (pow_test): Add more tests and enable some
57116         previously disabled tests.
57117         * sysdeps/i386/fpu/libm-test-ulps: Update.
57118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57120 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57121             Carlos O'Donell  <carlos_odonell@mentor.com>
57123         * nss/makedb.c (is_prime): Assert that input is odd and greater
57124         than 4.  Note that fact in a comment too.
57125         (next_prime): Add 4 to input.
57127 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57129         [BZ #11741]
57130         * libio/Makefile (tests): Add test case tst-fwrite-error.
57131         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
57132         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
57133         * libio/tst-fwrite-error.c: New test case.
57135 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
57137         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
57138         before casting to void *.
57139         * include/libc-internal.h (__pointer_type): New macro.
57140         (__integer_if_pointer_type_sub): Likewise.
57141         (__integer_if_pointer_type): Likewise.
57142         (cast_to_integer): Likewise.
57143         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
57144         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
57145         before casting to atomic64_t.
57146         (atomic_exchange_acq): Likewise.
57147         (__arch_exchange_and_add_body): Likewise.
57148         (__arch_add_body): Likewise.
57149         (atomic_add_negative): Likewise.
57150         (atomic_add_zero): Likewise.
57152 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
57154         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
57155         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
57156         (add_fdes): Likewise.
57157         (linear_search_fdes): Likewise.
57158         (binary_search_unencoded_fdes): Likewise.
57160 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
57162         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
57164 2012-11-24  Adam Conrad  <adconrad@0c3.net>
57166         * configure.in: Autodetect C++ header directories.
57167         * configure: Regenerated.
57169 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
57171         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
57173 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
57175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57177 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
57179         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
57180         LDBL_MANT_DIG == 106]: Disable some tests.
57181         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57182         Likewise.
57183         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
57184         Likewise.
57186         [BZ #14871]
57187         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
57188         input for small inputs.  Return +/- pi/2 for large inputs.
57189         * math/libm-test.inc (atan_test): Add more tests.
57191         * sysdeps/generic/unwind-dw2-fde-glibc.c
57192         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
57193         __attribute__ ((unused)).
57195         [BZ #14645]
57196         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
57197         x * y if x and y are nonzero and z is zero.
57199         [BZ #14811]
57200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
57201         nonzero exponents with absolute value below 0x1p-117 to +/-
57202         0x1p-117.
57204         [BZ #14869]
57205         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
57206         up arguments below 2**-450, not just those below 2**-500.
57207         * math/libm-test.inc (hypot_test): Add another test.
57209         [BZ #14868]
57210         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
57211         Return a+b for ratio over 2**120, not 2**60.
57212         * math/libm-test.inc (hypot_test): Add another test.
57214         * math/libm-test.inc (clog_test): Use
57215         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
57216         (clog10_test): Likewise.
57218         [BZ #6778]
57219         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
57221 2012-11-22  Andreas Schwab  <schwab@suse.de>
57223         * sysdeps/i386/fpu/libm-test-ulps: Update.
57225 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
57227         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
57228         printf output with newline.
57230 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
57232         [BZ #14865]
57233         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
57234         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
57235         -z nodlopen, -z initfirst and -z execstack support.
57236         * configure: Regenerated.
57238         * elf/elf.h (DF_1_NODIRECT): New macro.
57239         (DF_1_IGNMULDEF): Likewise.
57240         (DF_1_NOKSYMS): Likewise.
57241         (DF_1_NOHDR): Likewise.
57242         (DF_1_EDITED): Likewise.
57243         (DF_1_NORELOC): Likewise.
57244         (DF_1_SYMINTPOSE): Likewise.
57245         (DF_1_GLOBAUDIT): Likewise.
57246         (DF_1_SINGLETON): Likewise.
57247         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
57248         DT_1_SUPPORTED_MASK bits.
57249         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
57251 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
57253         * sysdeps/unix/make-syscalls.sh: Document prefixes.
57255 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
57257         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
57258         macro.
57260         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
57261         (sendmmsg): Move declarations...
57262         * socket/sys/socket.h: ... here.
57263         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
57264         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
57265         include it from...
57266         * socket/recvmmsg.c: ... this new file.
57267         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
57268         (sendmmsg): Rename to __sendmmsg, create weak alias and make
57269         definition of __sendmmsg hidden.
57270         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
57271         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
57272         Move ENOSYS stub into and include it from...
57273         * socket/sendmmsg.c: ... this new file.
57274         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
57275         (sysdep_routines): Move recvmmsg and sendmmsg...
57276         * socket/Makefile (routines): ... here.
57277         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
57278         (GLIBC_PRIVATE): Add __sendmmsg.
57279         * include/sys/socket.h (__sendmmsg): Add declarations.
57280         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
57281         sendmmsg.
57283 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
57285         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
57286         variable I1 with __attribute__ ((unused)).
57287         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
57289 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57291         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
57292         DUMMY variables with __attribute__ ((unused)).
57294         * bits/byteswap.h: Include <bits/types.h>.
57295         (__bswap_64): Use __uint64_t instead of unsigned long long int.
57297 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57299         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
57300         string_t.  Do not manually set errno.
57301         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
57302         length with __strnlen.  Make sure to both set errno and return it on
57303         failure.
57305 2012-11-19  David S. Miller  <davem@davemloft.net>
57307         With help from Joseph Myers.
57308         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
57309         very large arguments properly.
57310         * math/libm-test.inc (atan_test): New tests.
57311         (atan2_test): New tests.
57312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57313         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57315 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
57317         [BZ #14856]
57318         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
57319         Define to 3.
57321         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
57322         [POSIX] (EADDRNOTAVAIL): Likewise.
57323         [POSIX] (EAFNOSUPPORT): Likewise.
57324         [POSIX] (EALREADY): Likewise.
57325         [POSIX] (ECONNABORTED): Likewise.
57326         [POSIX] (ECONNREFUSED): Likewise.
57327         [POSIX] (ECONNRESET): Likewise.
57328         [POSIX] (EDESTADDRREQ): Likewise.
57329         [POSIX] (EDQUOT): Likewise.
57330         [POSIX] (EHOSTUNREACH): Likewise.
57331         [POSIX] (EIDRM): Likewise.
57332         [POSIX] (EISCONN): Likewise.
57333         [POSIX] (ELOOP): Likewise.
57334         [POSIX] (EMULTIHOP): Likewise.
57335         [POSIX] (ENETDOWN): Likewise.
57336         [POSIX] (ENETUNREACH): Likewise.
57337         [POSIX] (ENOBUFS): Likewise.
57338         [POSIX] (ENODATA): Likewise.
57339         [POSIX] (ENOLINK): Likewise.
57340         [POSIX] (ENOMSG): Likewise.
57341         [POSIX] (ENOPROTOOPT): Likewise.
57342         [POSIX] (ENOSR): Likewise.
57343         [POSIX] (ENOSTR): Likewise.
57344         [POSIX] (ENOTCONN): Likewise.
57345         [POSIX] (ENOTSOCK): Likewise.
57346         [POSIX] (EOPNOTSUPP): Likewise.
57347         [POSIX] (EOVERFLOW): Likewise.
57348         [POSIX] (EPROTO): Likewise.
57349         [POSIX] (EPROTONOSUPPORT): Likewise.
57350         [POSIX] (EPROTOTYPE): Likewise.
57351         [POSIX] (ESTALE): Likewise.
57352         [POSIX] (ETIME): Likewise.
57353         [POSIX] (ETXTBSY): Likewise.
57354         [POSIX] (EWOULDBLOCK): Likewise.
57355         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
57356         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
57357         [POSIX] (SEEK_CUR): Likewise.
57358         [POSIX] (SEEK_END): Likewise.
57359         [POSIX || UNIX98] (mode_t): Do not require.
57360         [POSIX] (off_t): Likewise.
57361         [POSIX] (pid_t): Likewise.
57362         [POSIX] (sys/stat.h): Do not allow header.
57363         [POSIX] (unistd.h): Likewise.
57364         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
57365         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
57366         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
57367         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
57368         require.
57369         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
57370         sigevent): Specify elements.
57371         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
57372         entry.
57373         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
57374         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
57376         * conform/data/cpio.h-data [POSIX]: Disable whole file.
57377         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
57378         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
57379         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
57380         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
57381         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
57382         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
57383         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
57384         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
57385         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
57386         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
57387         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
57388         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
57389         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
57390         Likewise.
57391         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
57392         Likewise.
57393         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
57394         Likewise.
57395         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
57396         Likewise.
57397         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
57398         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
57399         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
57400         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
57401         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
57402         Specify lower bound on value.
57403         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
57404         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
57405         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
57406         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
57407         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
57408         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
57409         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
57410         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
57411         value.
57412         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
57413         as optional.
57414         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
57415         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
57416         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
57417         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
57418         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
57419         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
57420         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
57421         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
57422         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
57423         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
57424         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
57425         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
57426         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
57427         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
57428         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
57429         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
57430         entry.
57431         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
57432         optional.
57433         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
57434         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
57435         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
57436         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
57437         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
57438         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
57439         Likewise.
57440         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
57441         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
57442         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
57443         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
57444         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
57445         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
57446         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
57447         as optional.
57448         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
57449         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
57450         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
57451         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
57452         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
57453         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
57454         specify as optional.
57455         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
57456         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
57457         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
57458         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
57459         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
57460         [XPG3] (NL_LANGMAX): Likewise.
57461         [POSIX || XPG3] (NL_MSGMAX): Likewise.
57462         [POSIX || XPG3] (NL_NMAX): Likewise.
57463         [POSIX || XPG3] (NL_SETMAX): Likewise.
57464         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
57465         [XPG3] (NZERO): Likewise.
57466         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
57467         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
57468         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
57469         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
57470         (REG_ERANGE): Expect.
57471         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
57472         optional-constant.
57473         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57474         Use (void) in prototype.
57475         [POSIX] (*_t): Allow.
57476         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57477         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57478         (WRDE_BADVAL): Expect.
57480         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57481         expect.
57482         [XPG3 || XPG4] (O_RSYNC): Likewise.
57483         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57484         Likewise.
57485         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57486         [XPG3 || XPG4] (sigqueue): Likewise.
57487         [XPG3 || XPG4] (sigtimedwait): Likewise.
57488         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57489         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57490         [XPG3 || XPG4] (vsnprintf): Likewise.
57491         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57492         Likewise.
57493         [XPG3 || XPG4] (blksize_t): Likewise.
57494         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57495         Likewise.
57496         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57497         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57498         [XPG3 || XPG4] (struct itimerspec): Likewise.
57499         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57500         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57501         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57502         [XPG3 || XPG4] (clockid_t): Likewise.
57503         [XPG3 || XPG4] (timer_t): Likewise.
57504         [XPG3 || XPG4] (clock_getres): Likewise.
57505         [XPG3 || XPG4] (clock_gettime): Likewise.
57506         [XPG3 || XPG4] (clock_settime): Likewise.
57507         [XPG3 || XPG4] (nanosleep): Likewise.
57508         [XPG3 || XPG4] (timer_create): Likewise.
57509         [XPG3 || XPG4] (timer_delete): Likewise.
57510         [XPG3 || XPG4] (timer_gettime): Likewise.
57511         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57512         [XPG3 || XPG4] (timer_settime): Likewise.
57513         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57514         [XPG3 || XPG4] (getlogin_r): Likewise.
57515         [XPG3 || XPG4] (pread): Likewise.
57516         [XPG3 || XPG4] (pthread_atfork): Likewise.
57517         [XPG3 || XPG4] (pwrite): Likewise.
57519         [BZ #14835]
57520         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57521         <bits/siginfo.h>.
57523 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57525         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57526         finalizing MALLSTREAM.
57528         * sysdeps/mach/hurd/syncfs.c: New file.
57530 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57532         [BZ #14719]
57533         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57534         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57535         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57536         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57537         (_nss_dns_gethostbyname4_r): Likewise.
57538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57539         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57541 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57543         [BZ #13763]
57544         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57546 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57548         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57549         * elf/cache.c (print_entry): Print ",AArch64" for
57550         FLAG_AARCH64_LIB64
57552         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57553         * elf/cache.c (print_entry): Print ",hard-float" for
57554         FLAG_ARM_LIBHF.
57556 2012-11-18  David S. Miller  <davem@davemloft.net>
57558         With help from Joseph Myers.
57559         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57560         cutoff to 2**-13.
57561         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57562         cutoff to 2**-25.
57563         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57564         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57565         small.
57566         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57567         * math/libm-test.inc (y0_test): New tests.
57568         (y1_test): New tests.
57569         * sysdeps/i386/fpu/libm-test-ulps: Update.
57570         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57573 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57575         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57576         64-bit targets.
57577         * configure: Regenerated.
57579 2012-11-17  David S. Miller  <davem@davemloft.net>
57581         [BZ #14811]
57582         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57583         nonzero exponents with absolute value below 0x1p-128 to +/-
57584         0x1p-128.
57586 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57588         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57590         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57592         * posix/getconf-speclist.c: New file.
57593         * posix/posix-envs.def: Likewise.
57594         * posix/confstr.c (START_ENV_GROUP): New macro.
57595         (END_ENV_GROUP): Likewise.
57596         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57597         (KNOWN_PRESENT_ENV_STRING): Likewise.
57598         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57599         (UNKNOWN_ENVIRONMENT): Likewise.
57600         (confstr): Include posix-envs.def instead of handling
57601         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57602         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57603         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57604         (END_ENV_GROUP): Likewise.
57605         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57606         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57607         (UNKNOWN_ENVIRONMENT): Likewise.
57608         (__sysconf): Include posix-envs.def instead of handling associated
57609         cases directly here.
57610         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57611         preprocessing getconf-speclist.c rather than running getconf or
57612         generating empty file.
57614 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57616         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57618 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57620         [BZ #14672]
57621         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57623 2012-11-16  David S. Miller  <davem@davemloft.net>
57625         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57626         smaller than LDBL_EPSILON/2.0L, just return xm1.
57628 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57630         * elf/tst-array1.c (init): Set constructor priority to 1000.
57631         (fini): Set destructor priority to 1000.
57632         * elf/tst-array2dep.c: Likewise.
57634 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57636         [BZ #11741]
57637         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57638         (_IO_new_file_xsputn): Also return EOF if none of the input
57639         data was written when overflow failed.
57640         * libio/iopadn.c (_IO_padn): Likewise.
57641         * libio/iowpadn.c (_IO_wpadn): Likewise.
57642         * stdio-common/tst-put-error.c: Add copyright notice.
57643         (do_test): Add case for printing padded string.
57644         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57645         _IO_padn returned error.
57646         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57647         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57648         return EOF.
57650 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57652         * libio/libioP.h: Add comment note that the references to C++
57653         bits are now obsolete.
57655 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57657         * math/libm-test.inc (check_complex): Use asprintf.
57659 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57661         * debug/pcprofiledump.c (print_version): Update copyright year.
57662         * malloc/memusagestat.c (print_version): Likewise.
57664 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57666         [BZ #14831]
57667         * elf/Makefile (tests): Add tst-audit8.
57668         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57669         ($(objpfx)tst-audit8.out): New target.
57670         (tst-audit8-ENV): New variable.
57671         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57672         audit if l_reloc_result is NULL.
57673         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57674         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57675         * elf/tst-audit8.c: New file.
57677 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57679         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57680         * misc/Makefile (CFLAGS-select.c): Define.
57681         * posix/Makefile (CFLAGS-pause.c): Define.
57683 2012-11-13  David S. Miller  <davem@davemloft.net>
57685         * crypt/Makefile: Move test targets after toplevel Rules
57686         inclusion.  Grab any necessary sysdep routines when linking.
57687         * crypt/md5.c (md5_process_block): Remove define, we will always
57688         name it __md5_process_block.
57689         (md5_finish_ctx): Update md5_process_block call.
57690         (md5_stream): Likewise.
57691         (md5_process_bytes): Likewise.
57692         (md5_process_block): Rename to __md5_process_block and move to ...
57693         * crypt/md5-block.c: ... here.
57694         * crypt/sha256.c (sha256_process_block): Move to ...
57695         * crypt/sha256-block.c: ... here.
57696         * crypt/sha512.c (sha512_process_block): Move to ...
57697         * crypt/sha512-block.c: ... here.
57698         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57699         path.
57700         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57701         * sysdeps/sparc/sparc64/multiarch/Makefile
57702         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57703         crypt subdir.
57704         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57705         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57706         multiarch changes.
57707         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57708         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57709         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57710         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57711         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57712         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57713         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57714         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57715         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57716         file.
57717         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57718         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57719         file.
57720         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57722 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57724         * timezone/tzselect.ksh: Update from tzcode git revision
57725         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57726         * timezone/zdump.c: Likewise.
57727         * timezone/zic.c: Likewise.
57728         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57729         in TZVERSION setting, not $(PKGVERSION).
57730         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57731         REPORT_BUGS_TO settings.
57733         [BZ #14838]
57734         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57735         macro.
57737 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57739         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57740         detection to immediately after _FP_ROUND().
57741         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57742         bits are 0.
57744 2012-11-11  David S. Miller  <davem@davemloft.net>
57746         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57747         inttypes.h
57748         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57749         __close rather than their public counterparts.
57751 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57753         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57754         file.
57755         [UNIX98] (sem_timedwait): Do not expect.
57756         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57757         [XPG4 || UNIX98] (sockatmark): Do not expect.
57758         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57759         (clock_getcpuclockid): Do not expect.
57760         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57761         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57762         Do not expect.
57763         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57764         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57765         [UNIX98] (vwscanf): Likewise.
57766         [UNIX98] (vswscanf): Likewise.
57768 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57770         * timezone/version.h: Remove file.
57771         * timezone/README: Do not refer to version.h.
57772         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57773         $(objpfx)version.h.
57774         ($(objpfx)zdump.o): Likewise.
57775         ($(objpfx)version.h): New target.
57777         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57778         2012i.
57779         * timezone/README: Don't mention modification to tzselect.ksh.
57780         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57781         work on unmodified tzselect.ksh.  Substitute version numbers in
57782         tzselect.ksh.
57784         * Makefile (format-me): Remove.
57785         (INSTALL): Adjust indentation.  Use commands directly instead of
57786         using $(format-me).
57788         * aclocal.m4 (ACX_PKGVERSION): New macro.
57789         (ACX_BUGURL): Likewise.
57790         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57791         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57792         (REPORT_BUGS_TO): Likewise.
57793         * configure: Regenerated.
57794         * config.h.in (PKGVERSION): New macro.
57795         (REPORT_BUGS_TO): Likewise.
57796         * config.make.in (PKGVERSION): New variable.
57797         (PKGVERSION_TEXI): Likewise.
57798         (REPORT_BUGS_TO): Likewise.
57799         (REPORT_BUGS_TEXI): Likewise.
57800         * Makefile (format-me): Use -I$(common-objpfx)manual.
57801         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57802         ($(common-objpfx)manual/%): New target.
57803         (manual/%): Remove target.
57804         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57805         (print_version): Use PKGVERSION.
57806         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57807         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57808         and REPORT_BUGS_TO.
57809         ($(objpfx)xtrace): Likewise.
57810         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57811         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57812         (print_version): Use PKGVERSION.
57813         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57814         (do_version): Use PKGVERSION.
57815         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57816         REPORT_BUGS_TO.
57817         (common-ldd-rewrite): Likewise.
57818         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57819         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57820         (print_version): Use PKGVERSION.
57821         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57822         * elf/pldd.c (argp_program_bug_address): Remove variable.
57823         (more_help): New function.
57824         (argp): Use more_help.
57825         (print_version): Use PKGVERSION.
57826         * elf/sln.c (main): Use PKGVERSION.
57827         (usage): Use REPORT_BUGS_TO.
57828         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57829         (top level): Use PKGVERSION.
57830         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57831         (print_version): Use PKGVERSION.
57832         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57833         (print_version): Use PKGVERSION.
57834         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57835         (print_version): Use PKGVERSION.
57836         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57837         (print_version): Use PKGVERSION.
57838         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57839         (print_version): Use PKGVERSION.
57840         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57841         (print_version): Use PKGVERSION.
57842         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57843         and BUGURL.
57844         ($(objpfx)memusage): Likewise.
57845         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57846         (do_version): Use PKGVERSION.
57847         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57848         (print_version): Use PKGVERSION.
57849         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57850         ($PKGVERSION): New variable.
57851         ($REPORT_BUGS_TO): Likewise.
57852         (usage): Use $REPORT_BUGS_TO.
57853         (top level): Use $PKGVERSION.
57854         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57855         ($(objpfx)pkgvers.texi): New rule.
57856         ($(objpfx)stamp-pkgvers): Likewise.
57857         * manual/install.texi: Include pkgvers.texi.
57858         (--with-pkgversion): Document new configure option.
57859         (--with-bugurl): Likewise.
57860         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57861         than necessarily for this particular distribution.  Use
57862         REPORT_BUGS_TO for where to report bugs.
57863         * INSTALL: Regenerated.
57864         * manual/libc.texinfo: Include pkgvers.texi.
57865         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57866         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57867         (print_version): Use PKGVERSION.
57868         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57869         (print_version): Use PKGVERSION.
57870         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57871         (print_version): Use PKGVERSION.
57872         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57873         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57874         macro.
57875         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57876         (print_version): Use PKGVERSION.
57877         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57878         (print_version): Use PKGVERSION.
57879         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57880         and PKGVERSION.
57882         * timezone/checktab.awk: Update from tzcode 2012i.
57883         * timezone/ialloc.c: Likewise.
57884         * timezone/private.h: Likewise.
57885         * timezone/scheck.c: Likewise.
57886         * timezone/tzfile.h: Likewise.
57887         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57888         (TZVERSION): Hardcode tzcode version number.
57889         * timezone/zdump.c: Update from tzcode 2012i.
57890         * timezone/zic.c: Likewise.
57891         * timezone/version.h: New file.
57892         * timezone/README: Describe version.h.  Update upstream location.
57894         [BZ #14824]
57895         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57896         (mktemp): Enable declaration.
57897         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57898         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57899         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57900         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57901         Likewise.
57902         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57903         Likewise.
57904         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57905         Likewise.
57906         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57907         Likewise.
57908         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57909         Likewise.
57910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57911         Likewise.
57913         [BZ #14821]
57914         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57915         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57916         for copies of such integer values.
57917         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57918         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57920 2012-11-09  Andreas Jaeger  <aj@suse.de>
57922         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57923         definitions and declarations that are provided by
57924         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57926 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57928         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57929         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57930         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57931         definition.
57933 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57935         * elf/elf.h: Update comment before AArch64 relocations.
57937 2012-11-07  David S. Miller  <davem@davemloft.net>
57939         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57940         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57941         (__start_context): Declare.
57942         (__makecontext_ret): Delete.
57943         (__makecontext): Hook up __start_context instead of
57944         __makecontext_ret.
57945         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57946         (sysdep_routines): Add __start_context when in stdlib.
57948 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57950         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57951         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57952         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57953         hardcoded "nm".
57954         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57955         (READELF): New variable.  Use it instead of hardcoded "readelf".
57957 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57959         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57960         * sysdeps/x86/Makefile: Here.
57961         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57962         * sysdeps/x86/tst-xmmymm.sh: This.
57964 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57966         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57967         expectations.
57968         [UNIX98] (pthread_barrier_t): Do not expect.
57969         [UNIX98] (pthread_barrierattr_t): Likewise.
57970         [UNIX98] (pthread_spinlock_t): Likewise.
57971         [UNIX98] (pthread_barrier_destroy): Likewise.
57972         [UNIX98] (pthread_barrier_init): Likewise.
57973         [UNIX98] (pthread_barrier_wait): Likewise.
57974         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57975         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57976         [UNIX98] (pthread_barrierattr_init): Likewise.
57977         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57978         [UNIX98] (pthread_getcpuclockid): Likewise.
57979         [UNIX98] (pthread_mutex_timedlock): Likewise.
57980         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57981         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57982         [UNIX98] (pthread_sigmask): Likewise.
57983         [UNIX98] (pthread_spin_destroy): Likewise.
57984         [UNIX98] (pthread_spin_init): Likewise.
57985         [UNIX98] (pthread_spin_lock): Likewise.
57986         [UNIX98] (pthread_spin_trylock): Likewise.
57987         [UNIX98] (pthread_spin_unlock): Likewise.
57988         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57989         Do not expect.
57990         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57991         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57992         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57993         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57994         [XPG3 || XPG4] (pthread_key_t): Likewise.
57995         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57996         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57997         [XPG3 || XPG4] (pthread_once_t): Likewise.
57998         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57999         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
58000         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
58001         [XPG3 || XPG4] (pthread_t): Likewise.
58003         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
58004         not expect.
58005         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
58007         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
58008         Change function return type to int.
58010         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
58011         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
58012         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
58013         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
58014         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
58015         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
58016         [!POSIX] (posix_madvise): Likewise.
58017         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
58018         && !UNIX98].
58019         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
58020         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
58021         (mode_t): Likewise.
58022         (posix_mem_offset): Likewise.
58023         (posix_typed_mem_get_info): Likewise.
58024         (posix_typed_mem_open): Likewise.
58026         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
58027         Change condition to [XOPEN2K8].
58029         * conform/conformtest.pl: Preprocess allow-header data with -x c
58030         instead of from stdin.
58031         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
58032         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
58033         [C99-based standards] (cerfc): Likewise.
58034         [C99-based standards] (cexp2): Likewise.
58035         [C99-based standards] (cexpm1): Likewise.
58036         [C99-based standards] (clog10): Likewise.
58037         [C99-based standards] (clog1p): Likewise.
58038         [C99-based standards] (clog2): Likewise.
58039         [C99-based standards] (clgamma): Likewise.
58040         [C99-based standards] (ctgamma): Likewise.
58041         [C99-based standards] (cerff): Likewise.
58042         [C99-based standards] (cerfcf): Likewise.
58043         [C99-based standards] (cexp2f): Likewise.
58044         [C99-based standards] (cexpm1f): Likewise.
58045         [C99-based standards] (clog10f): Likewise.
58046         [C99-based standards] (clog1pf): Likewise.
58047         [C99-based standards] (clog2f): Likewise.
58048         [C99-based standards] (clgammaf): Likewise.
58049         [C99-based standards] (ctgammaf): Likewise.
58050         [C99-based standards] (cerfl): Likewise.
58051         [C99-based standards] (cerfcl): Likewise.
58052         [C99-based standards] (cexp2l): Likewise.
58053         [C99-based standards] (cexpm1l): Likewise.
58054         [C99-based standards] (clog10l): Likewise.
58055         [C99-based standards] (clog1pl): Likewise.
58056         [C99-based standards] (clog2l): Likewise.
58057         [C99-based standards] (clgammal): Likewise.
58058         [C99-based standards] (ctgammal): Likewise.
58059         * conform/data/inttypes.h-data [C99-based standards]: Include
58060         stdint.h-data.  Remove all expectations for stdint.h contents.
58061         [C99-based standards] (PRI*): Do not allow.
58062         [C99-based standards] (SCN*): Likewise.
58063         [C99-based standards] (*_t): Likewise.
58064         [C99-based-standards] (PRId8): Expect macro.
58065         [C99-based-standards] (PRIi8): Likewise.
58066         [C99-based-standards] (PRIo8): Likewise.
58067         [C99-based-standards] (PRIu8): Likewise.
58068         [C99-based-standards] (PRIx8): Likewise.
58069         [C99-based-standards] (PRIX8): Likewise.
58070         [C99-based-standards] (SCNd8): Likewise.
58071         [C99-based-standards] (SCNi8): Likewise.
58072         [C99-based-standards] (SCNo8): Likewise.
58073         [C99-based-standards] (SCNu8): Likewise.
58074         [C99-based-standards] (SCNx8): Likewise.
58075         [C99-based-standards] (PRIdLEAST8): Likewise.
58076         [C99-based-standards] (PRIiLEAST8): Likewise.
58077         [C99-based-standards] (PRIoLEAST8): Likewise.
58078         [C99-based-standards] (PRIuLEAST8): Likewise.
58079         [C99-based-standards] (PRIxLEAST8): Likewise.
58080         [C99-based-standards] (PRIXLEAST8): Likewise.
58081         [C99-based-standards] (SCNdLEAST8): Likewise.
58082         [C99-based-standards] (SCNiLEAST8): Likewise.
58083         [C99-based-standards] (SCNoLEAST8): Likewise.
58084         [C99-based-standards] (SCNuLEAST8): Likewise.
58085         [C99-based-standards] (SCNxLEAST8): Likewise.
58086         [C99-based-standards] (PRIdFAST8): Likewise.
58087         [C99-based-standards] (PRIiFAST8): Likewise.
58088         [C99-based-standards] (PRIoFAST8): Likewise.
58089         [C99-based-standards] (PRIuFAST8): Likewise.
58090         [C99-based-standards] (PRIxFAST8): Likewise.
58091         [C99-based-standards] (PRIXFAST8): Likewise.
58092         [C99-based-standards] (SCNdFAST8): Likewise.
58093         [C99-based-standards] (SCNiFAST8): Likewise.
58094         [C99-based-standards] (SCNoFAST8): Likewise.
58095         [C99-based-standards] (SCNuFAST8): Likewise.
58096         [C99-based-standards] (SCNxFAST8): Likewise.
58097         [C99-based-standards] (PRId16): Likewise.
58098         [C99-based-standards] (PRIi16): Likewise.
58099         [C99-based-standards] (PRIo16): Likewise.
58100         [C99-based-standards] (PRIu16): Likewise.
58101         [C99-based-standards] (PRIx16): Likewise.
58102         [C99-based-standards] (PRIX16): Likewise.
58103         [C99-based-standards] (SCNd16): Likewise.
58104         [C99-based-standards] (SCNi16): Likewise.
58105         [C99-based-standards] (SCNo16): Likewise.
58106         [C99-based-standards] (SCNu16): Likewise.
58107         [C99-based-standards] (SCNx16): Likewise.
58108         [C99-based-standards] (PRIdLEAST16): Likewise.
58109         [C99-based-standards] (PRIiLEAST16): Likewise.
58110         [C99-based-standards] (PRIoLEAST16): Likewise.
58111         [C99-based-standards] (PRIuLEAST16): Likewise.
58112         [C99-based-standards] (PRIxLEAST16): Likewise.
58113         [C99-based-standards] (PRIXLEAST16): Likewise.
58114         [C99-based-standards] (SCNdLEAST16): Likewise.
58115         [C99-based-standards] (SCNiLEAST16): Likewise.
58116         [C99-based-standards] (SCNoLEAST16): Likewise.
58117         [C99-based-standards] (SCNuLEAST16): Likewise.
58118         [C99-based-standards] (SCNxLEAST16): Likewise.
58119         [C99-based-standards] (PRIdFAST16): Likewise.
58120         [C99-based-standards] (PRIiFAST16): Likewise.
58121         [C99-based-standards] (PRIoFAST16): Likewise.
58122         [C99-based-standards] (PRIuFAST16): Likewise.
58123         [C99-based-standards] (PRIxFAST16): Likewise.
58124         [C99-based-standards] (PRIXFAST16): Likewise.
58125         [C99-based-standards] (SCNdFAST16): Likewise.
58126         [C99-based-standards] (SCNiFAST16): Likewise.
58127         [C99-based-standards] (SCNoFAST16): Likewise.
58128         [C99-based-standards] (SCNuFAST16): Likewise.
58129         [C99-based-standards] (SCNxFAST16): Likewise.
58130         [C99-based-standards] (PRId32): Likewise.
58131         [C99-based-standards] (PRIi32): Likewise.
58132         [C99-based-standards] (PRIo32): Likewise.
58133         [C99-based-standards] (PRIu32): Likewise.
58134         [C99-based-standards] (PRIx32): Likewise.
58135         [C99-based-standards] (PRIX32): Likewise.
58136         [C99-based-standards] (SCNd32): Likewise.
58137         [C99-based-standards] (SCNi32): Likewise.
58138         [C99-based-standards] (SCNo32): Likewise.
58139         [C99-based-standards] (SCNu32): Likewise.
58140         [C99-based-standards] (SCNx32): Likewise.
58141         [C99-based-standards] (PRIdLEAST32): Likewise.
58142         [C99-based-standards] (PRIiLEAST32): Likewise.
58143         [C99-based-standards] (PRIoLEAST32): Likewise.
58144         [C99-based-standards] (PRIuLEAST32): Likewise.
58145         [C99-based-standards] (PRIxLEAST32): Likewise.
58146         [C99-based-standards] (PRIXLEAST32): Likewise.
58147         [C99-based-standards] (SCNdLEAST32): Likewise.
58148         [C99-based-standards] (SCNiLEAST32): Likewise.
58149         [C99-based-standards] (SCNoLEAST32): Likewise.
58150         [C99-based-standards] (SCNuLEAST32): Likewise.
58151         [C99-based-standards] (SCNxLEAST32): Likewise.
58152         [C99-based-standards] (PRIdFAST32): Likewise.
58153         [C99-based-standards] (PRIiFAST32): Likewise.
58154         [C99-based-standards] (PRIoFAST32): Likewise.
58155         [C99-based-standards] (PRIuFAST32): Likewise.
58156         [C99-based-standards] (PRIxFAST32): Likewise.
58157         [C99-based-standards] (PRIXFAST32): Likewise.
58158         [C99-based-standards] (SCNdFAST32): Likewise.
58159         [C99-based-standards] (SCNiFAST32): Likewise.
58160         [C99-based-standards] (SCNoFAST32): Likewise.
58161         [C99-based-standards] (SCNuFAST32): Likewise.
58162         [C99-based-standards] (SCNxFAST32): Likewise.
58163         [C99-based-standards] (PRId64): Likewise.
58164         [C99-based-standards] (PRIi64): Likewise.
58165         [C99-based-standards] (PRIo64): Likewise.
58166         [C99-based-standards] (PRIu64): Likewise.
58167         [C99-based-standards] (PRIx64): Likewise.
58168         [C99-based-standards] (PRIX64): Likewise.
58169         [C99-based-standards] (SCNd64): Likewise.
58170         [C99-based-standards] (SCNi64): Likewise.
58171         [C99-based-standards] (SCNo64): Likewise.
58172         [C99-based-standards] (SCNu64): Likewise.
58173         [C99-based-standards] (SCNx64): Likewise.
58174         [C99-based-standards] (PRIdLEAST64): Likewise.
58175         [C99-based-standards] (PRIiLEAST64): Likewise.
58176         [C99-based-standards] (PRIoLEAST64): Likewise.
58177         [C99-based-standards] (PRIuLEAST64): Likewise.
58178         [C99-based-standards] (PRIxLEAST64): Likewise.
58179         [C99-based-standards] (PRIXLEAST64): Likewise.
58180         [C99-based-standards] (SCNdLEAST64): Likewise.
58181         [C99-based-standards] (SCNiLEAST64): Likewise.
58182         [C99-based-standards] (SCNoLEAST64): Likewise.
58183         [C99-based-standards] (SCNuLEAST64): Likewise.
58184         [C99-based-standards] (SCNxLEAST64): Likewise.
58185         [C99-based-standards] (PRIdFAST64): Likewise.
58186         [C99-based-standards] (PRIiFAST64): Likewise.
58187         [C99-based-standards] (PRIoFAST64): Likewise.
58188         [C99-based-standards] (PRIuFAST64): Likewise.
58189         [C99-based-standards] (PRIxFAST64): Likewise.
58190         [C99-based-standards] (PRIXFAST64): Likewise.
58191         [C99-based-standards] (SCNdFAST64): Likewise.
58192         [C99-based-standards] (SCNiFAST64): Likewise.
58193         [C99-based-standards] (SCNoFAST64): Likewise.
58194         [C99-based-standards] (SCNuFAST64): Likewise.
58195         [C99-based-standards] (SCNxFAST64): Likewise.
58196         [C99-based-standards] (PRIdMAX): Likewise.
58197         [C99-based-standards] (PRIiMAX): Likewise.
58198         [C99-based-standards] (PRIoMAX): Likewise.
58199         [C99-based-standards] (PRIuMAX): Likewise.
58200         [C99-based-standards] (PRIxMAX): Likewise.
58201         [C99-based-standards] (PRIXMAX): Likewise.
58202         [C99-based-standards] (SCNdMAX): Likewise.
58203         [C99-based-standards] (SCNiMAX): Likewise.
58204         [C99-based-standards] (SCNoMAX): Likewise.
58205         [C99-based-standards] (SCNuMAX): Likewise.
58206         [C99-based-standards] (SCNxMAX): Likewise.
58207         [C99-based-standards] (PRIdPTR): Likewise.
58208         [C99-based-standards] (PRIiPTR): Likewise.
58209         [C99-based-standards] (PRIoPTR): Likewise.
58210         [C99-based-standards] (PRIuPTR): Likewise.
58211         [C99-based-standards] (PRIxPTR): Likewise.
58212         [C99-based-standards] (PRIXPTR): Likewise.
58213         [C99-based-standards] (SCNdPTR): Likewise.
58214         [C99-based-standards] (SCNiPTR): Likewise.
58215         [C99-based-standards] (SCNoPTR): Likewise.
58216         [C99-based-standards] (SCNuPTR): Likewise.
58217         [C99-based-standards] (SCNxPTR): Likewise.
58218         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
58219         allow.
58220         * conform/data/stdint.h-data: Update comments to clarify
58221         requirements.
58222         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
58223         type.
58224         [C99-based standards] (INT8_MAX): Likewise.
58225         [C99-based standards] (INT16_MIN): Likewise.
58226         [C99-based standards] (INT16_MAX): Likewise.
58227         [C99-based standards] (INT32_MIN): Likewise.
58228         [C99-based standards] (INT32_MAX): Likewise.
58229         [C99-based standards] (INT64_MIN): Likewise.
58230         [C99-based standards] (INT64_MAX): Likewise.
58231         [C99-based standards] (UINT8_MAX): Likewise.
58232         [C99-based standards] (UINT16_MAX): Likewise.
58233         [C99-based standards] (UINT32_MAX): Likewise.
58234         [C99-based standards] (UINT64_MAX): Likewise.
58235         [C99-based standards] (INT_LEAST8_MIN): Likewise.
58236         [C99-based standards] (INT_LEAST8_MAX): Likewise.
58237         [C99-based standards] (INT_LEAST16_MIN): Likewise.
58238         [C99-based standards] (INT_LEAST16_MAX): Likewise.
58239         [C99-based standards] (INT_LEAST32_MIN): Likewise.
58240         [C99-based standards] (INT_LEAST32_MAX): Likewise.
58241         [C99-based standards] (INT_LEAST64_MIN): Likewise.
58242         [C99-based standards] (INT_LEAST64_MAX): Likewise.
58243         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
58244         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
58245         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
58246         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
58247         [C99-based standards] (INT_FAST8_MIN): Likewise.
58248         [C99-based standards] (INT_FAST8_MAX): Likewise.
58249         [C99-based standards] (INT_FAST16_MIN): Likewise.
58250         [C99-based standards] (INT_FAST16_MAX): Likewise.
58251         [C99-based standards] (INT_FAST32_MIN): Likewise.
58252         [C99-based standards] (INT_FAST32_MAX): Likewise.
58253         [C99-based standards] (INT_FAST64_MIN): Likewise.
58254         [C99-based standards] (INT_FAST64_MAX): Likewise.
58255         [C99-based standards] (UINT_FAST8_MAX): Likewise.
58256         [C99-based standards] (UINT_FAST16_MAX): Likewise.
58257         [C99-based standards] (UINT_FAST32_MAX): Likewise.
58258         [C99-based standards] (UINT_FAST64_MAX): Likewise.
58259         [C99-based standards] (INTPTR_MIN): Likewise.
58260         [C99-based standards] (INTPTR_MAX): Likewise.
58261         [C99-based standards] (UINTPTR_MAX): Likewise.
58262         [C99-based standards] (INTMAX_MIN): Likewise.
58263         [C99-based standards] (INTMAX_MAX): Likewise.
58264         [C99-based standards] (UINTMAX_MAX): Likewise.
58265         [C99-based standards] (PTRDIFF_MIN): Likewise.
58266         [C99-based standards] (PTRDIFF_MAX): Likewise.
58267         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
58268         [C99-based standards] (SIZE_MAX): Likewise.
58269         [C99-based standards] (WCHAR_MAX): Likewise.
58270         [C99-based standards] (WINT_MAX): Likewise.
58271         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
58272         constraint on value.
58273         [C99-based standards] (WCHAR_MIN): Likewise.
58274         [C99-based standards] (WINT_MIN): Likewise.
58275         [C99-based standards] (*_t): Allow.
58276         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
58277         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
58278         Include math.h-data and complex.h-data.  Remove all expectations
58279         of math.h and complex.h contents.
58280         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
58281         at end of line.
58282         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
58283         (struct tm): Expect tag.
58284         [C99-based-standards] (wcstof): Expect function.
58285         [C99-based-standards] (wcstold): Likewise.
58286         [C99-based-standards] (wcstoll): Likewise.
58287         [C99-based-standards] (wcstoull): Likewise.
58288         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
58289         macro-int-constant.  Specify type.
58290         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
58291         constraint on value.
58292         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58293         Specify type.
58294         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
58295         Specify value.
58296         [ISO C standards]: Do not allow headers.
58297         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
58298         wcs[abcdefghijklmnopqrstuvwxyz]*.
58299         [ISO C standards] (*_t): Do not allow.
58300         * conform/data/wctype.h-data [C99-based standards] (iswblank):
58301         Expect function.
58302         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
58303         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
58304         Specify type.
58305         [ISO C standards]: Do not allow headers.
58306         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
58307         is[abcdefghijklmnopqrstuvwxyz]*.
58308         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
58309         to[abcdefghijklmnopqrstuvwxyz]*.
58310         [ISO C standards] (*_t): Do not allow.
58311         * conform/data/stdalign.h-data: New file.
58312         * conform/data/stdbool.h-data: Likewise.
58313         * conform/data/stdnoreturn.h-data: Likewise.
58315 2012-11-07  Roland McGrath  <roland@hack.frob.com>
58317         [BZ #14815]
58318         * manual/filesys.texi (Directory Entries): Typo fix.
58319         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
58321 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58323         * elf/elf.h (EM_AARCH64): New macro.
58324         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
58325         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
58326         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
58327         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
58328         (R_AARCH64_TLSDESC): Likewise.
58329         (NT_ARM_TLS): Likewise.
58330         (NT_ARM_HW_BREAK): Likewise.
58331         (NT_ARM_HW_WATCH): Likewise.
58333 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58335         [BZ #14811]
58336         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
58337         (__ieee754_powl): Saturate nonzero exponents with absolute value
58338         below 0x1p-79 to +/- 0x1p-79.
58339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
58340         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
58341         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
58342         nonzero exponents with absolute value below 0x1p-32 to +/-
58343         0x1p-32.
58344         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
58345         (__ieee754_powl): Saturate nonzero exponents with absolute value
58346         below 0x1p-79 to +/- 0x1p-79.
58347         * math/libm-test.inc (pow_test): Add more tests.
58349 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58351         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
58352         _dl_s390_cap_flags with kernel. Increase string length.
58353         (_dl_s390_platforms): Add z196 and zEC12.
58355 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
58357         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
58358         Change XOPEN21K to XOPEN2K.
58360 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
58362         * string/memmove.c: Use memcpy when possible.
58364 2012-11-06  Andreas Jaeger  <aj@suse.de>
58366         * po/eo.po: Update from translation team.
58368 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
58370         [BZ #14793]
58371         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
58372         exponent and small x and y exponents, scale x or y up.  Increase
58373         by 2 the exponent used in scaling up.
58374         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58376         * math/libm-test.inc (fma_test): Add more tests.
58377         (fma_test_towardzero): Likewise.
58378         (fma_test_downward): Likewise.
58379         (fma_test_upward): Likewise.
58381 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
58383         [BZ #14805]
58384         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
58385         fenv_t *.
58387         [BZ #14801]
58388         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
58389         namespace for names of struct fields.
58390         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
58391         fenv_t fields.
58392         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
58393         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
58395 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58397         [BZ #3665]
58398         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
58400 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58402         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
58403         PTR_DEMANGLE.
58405         [BZ #5246]
58406         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
58407         PTR_DEMANGLE.
58409 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
58411         [BZ #14797]
58412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
58413         definitely overflow as x * y not x * y + z.
58414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58416         * math/libm-test.inc (fma_test): Add more tests.
58417         (fma_test_towardzero): Likewise.
58418         (fma_test_downward): Likewise.
58419         (fma_test_upward): Likewise.
58421 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
58423         [BZ #157]
58425         * include/stub-tag.h: Remove file.
58426         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
58427         '#include' of it.
58428         * manual/maint.texi (Porting): Don't reference it.
58429         * Makerules ($(objpfx)stubs): Likewise.
58430         * dirent/closedir.c: Don't include <stub-tag.h>.
58431         * dirent/dirfd.c: Likewise.
58432         * dirent/fdopendir.c: Likewise.
58433         * dirent/getdents.c: Likewise.
58434         * dirent/getdents64.c: Likewise.
58435         * dirent/opendir.c: Likewise.
58436         * dirent/readdir.c: Likewise.
58437         * dirent/readdir64.c: Likewise.
58438         * dirent/readdir64_r.c: Likewise.
58439         * dirent/readdir_r.c: Likewise.
58440         * dirent/rewinddir.c: Likewise.
58441         * dirent/seekdir.c: Likewise.
58442         * dirent/telldir.c: Likewise.
58443         * gmon/profil.c: Likewise.
58444         * grp/setgroups.c: Likewise.
58445         * inet/if_index.c: Likewise.
58446         * io/access.c: Likewise.
58447         * io/chdir.c: Likewise.
58448         * io/chmod.c: Likewise.
58449         * io/chown.c: Likewise.
58450         * io/close.c: Likewise.
58451         * io/dup.c: Likewise.
58452         * io/dup2.c: Likewise.
58453         * io/dup3.c: Likewise.
58454         * io/euidaccess.c: Likewise.
58455         * io/faccessat.c: Likewise.
58456         * io/fchdir.c: Likewise.
58457         * io/fchmod.c: Likewise.
58458         * io/fchmodat.c: Likewise.
58459         * io/fchown.c: Likewise.
58460         * io/fchownat.c: Likewise.
58461         * io/fcntl.c: Likewise.
58462         * io/flock.c: Likewise.
58463         * io/fstatfs.c: Likewise.
58464         * io/fstatfs64.c: Likewise.
58465         * io/fstatvfs.c: Likewise.
58466         * io/fstatvfs64.c: Likewise.
58467         * io/futimens.c: Likewise.
58468         * io/fxstat.c: Likewise.
58469         * io/fxstat64.c: Likewise.
58470         * io/fxstatat.c: Likewise.
58471         * io/fxstatat64.c: Likewise.
58472         * io/getcwd.c: Likewise.
58473         * io/isatty.c: Likewise.
58474         * io/lchmod.c: Likewise.
58475         * io/lchown.c: Likewise.
58476         * io/link.c: Likewise.
58477         * io/linkat.c: Likewise.
58478         * io/lseek.c: Likewise.
58479         * io/lseek64.c: Likewise.
58480         * io/lxstat64.c: Likewise.
58481         * io/mkdir.c: Likewise.
58482         * io/mkdirat.c: Likewise.
58483         * io/mkfifo.c: Likewise.
58484         * io/mkfifoat.c: Likewise.
58485         * io/open.c: Likewise.
58486         * io/open64.c: Likewise.
58487         * io/openat.c: Likewise.
58488         * io/openat64.c: Likewise.
58489         * io/pipe.c: Likewise.
58490         * io/pipe2.c: Likewise.
58491         * io/poll.c: Likewise.
58492         * io/posix_fadvise.c: Likewise.
58493         * io/posix_fadvise64.c: Likewise.
58494         * io/posix_fallocate.c: Likewise.
58495         * io/posix_fallocate64.c: Likewise.
58496         * io/read.c: Likewise.
58497         * io/readlink.c: Likewise.
58498         * io/readlinkat.c: Likewise.
58499         * io/rmdir.c: Likewise.
58500         * io/sendfile.c: Likewise.
58501         * io/sendfile64.c: Likewise.
58502         * io/statfs.c: Likewise.
58503         * io/statfs64.c: Likewise.
58504         * io/statvfs.c: Likewise.
58505         * io/statvfs64.c: Likewise.
58506         * io/symlink.c: Likewise.
58507         * io/symlinkat.c: Likewise.
58508         * io/ttyname.c: Likewise.
58509         * io/ttyname_r.c: Likewise.
58510         * io/umask.c: Likewise.
58511         * io/unlink.c: Likewise.
58512         * io/unlinkat.c: Likewise.
58513         * io/utime.c: Likewise.
58514         * io/utimensat.c: Likewise.
58515         * io/write.c: Likewise.
58516         * io/xmknod.c: Likewise.
58517         * io/xmknodat.c: Likewise.
58518         * io/xstat.c: Likewise.
58519         * io/xstat64.c: Likewise.
58520         * login/getpt.c: Likewise.
58521         * login/grantpt.c: Likewise.
58522         * login/unlockpt.c: Likewise.
58523         * math/e_acoshl.c: Likewise.
58524         * math/e_acosl.c: Likewise.
58525         * math/e_asinl.c: Likewise.
58526         * math/e_atan2l.c: Likewise.
58527         * math/e_atanhl.c: Likewise.
58528         * math/e_coshl.c: Likewise.
58529         * math/e_expl.c: Likewise.
58530         * math/e_fmodl.c: Likewise.
58531         * math/e_gammal_r.c: Likewise.
58532         * math/e_hypotl.c: Likewise.
58533         * math/e_j0l.c: Likewise.
58534         * math/e_j1l.c: Likewise.
58535         * math/e_jnl.c: Likewise.
58536         * math/e_lgammal_r.c: Likewise.
58537         * math/e_log10l.c: Likewise.
58538         * math/e_log2l.c: Likewise.
58539         * math/e_logl.c: Likewise.
58540         * math/e_powl.c: Likewise.
58541         * math/e_rem_pio2l.c: Likewise.
58542         * math/e_sinhl.c: Likewise.
58543         * math/e_sqrtl.c: Likewise.
58544         * math/fclrexcpt.c: Likewise.
58545         * math/fedisblxcpt.c: Likewise.
58546         * math/feenablxcpt.c: Likewise.
58547         * math/fegetenv.c: Likewise.
58548         * math/fegetexcept.c: Likewise.
58549         * math/fegetround.c: Likewise.
58550         * math/feholdexcpt.c: Likewise.
58551         * math/fesetenv.c: Likewise.
58552         * math/fesetround.c: Likewise.
58553         * math/feupdateenv.c: Likewise.
58554         * math/fgetexcptflg.c: Likewise.
58555         * math/fraiseexcpt.c: Likewise.
58556         * math/fsetexcptflg.c: Likewise.
58557         * math/ftestexcept.c: Likewise.
58558         * math/k_cosl.c: Likewise.
58559         * math/k_rem_pio2l.c: Likewise.
58560         * math/k_sinl.c: Likewise.
58561         * math/k_tanl.c: Likewise.
58562         * math/s_asinhl.c: Likewise.
58563         * math/s_atanl.c: Likewise.
58564         * math/s_cbrtl.c: Likewise.
58565         * math/s_erfl.c: Likewise.
58566         * math/s_expm1l.c: Likewise.
58567         * math/s_log1pl.c: Likewise.
58568         * math/s_tanhl.c: Likewise.
58569         * misc/acct.c: Likewise.
58570         * misc/brk.c: Likewise.
58571         * misc/chflags.c: Likewise.
58572         * misc/chroot.c: Likewise.
58573         * misc/fchflags.c: Likewise.
58574         * misc/fgetxattr.c: Likewise.
58575         * misc/flistxattr.c: Likewise.
58576         * misc/fremovexattr.c: Likewise.
58577         * misc/fsetxattr.c: Likewise.
58578         * misc/fsync.c: Likewise.
58579         * misc/ftruncate.c: Likewise.
58580         * misc/futimes.c: Likewise.
58581         * misc/futimesat.c: Likewise.
58582         * misc/getdomain.c: Likewise.
58583         * misc/getdtsz.c: Likewise.
58584         * misc/gethostid.c: Likewise.
58585         * misc/gethostname.c: Likewise.
58586         * misc/getloadavg.c: Likewise.
58587         * misc/getpagesize.c: Likewise.
58588         * misc/getsysstats.c: Likewise.
58589         * misc/getxattr.c: Likewise.
58590         * misc/gtty.c: Likewise.
58591         * misc/ioctl.c: Likewise.
58592         * misc/lgetxattr.c: Likewise.
58593         * misc/listxattr.c: Likewise.
58594         * misc/llistxattr.c: Likewise.
58595         * misc/lremovexattr.c: Likewise.
58596         * misc/lsetxattr.c: Likewise.
58597         * misc/lutimes.c: Likewise.
58598         * misc/madvise.c: Likewise.
58599         * misc/mincore.c: Likewise.
58600         * misc/mlock.c: Likewise.
58601         * misc/mlockall.c: Likewise.
58602         * misc/mmap.c: Likewise.
58603         * misc/mprotect.c: Likewise.
58604         * misc/msync.c: Likewise.
58605         * misc/munlock.c: Likewise.
58606         * misc/munlockall.c: Likewise.
58607         * misc/munmap.c: Likewise.
58608         * misc/preadv.c: Likewise.
58609         * misc/preadv64.c: Likewise.
58610         * misc/ptrace.c: Likewise.
58611         * misc/pwritev.c: Likewise.
58612         * misc/pwritev64.c: Likewise.
58613         * misc/readv.c: Likewise.
58614         * misc/reboot.c: Likewise.
58615         * misc/remap_file_pages.c: Likewise.
58616         * misc/removexattr.c: Likewise.
58617         * misc/revoke.c: Likewise.
58618         * misc/select.c: Likewise.
58619         * misc/setdomain.c: Likewise.
58620         * misc/setegid.c: Likewise.
58621         * misc/seteuid.c: Likewise.
58622         * misc/sethostid.c: Likewise.
58623         * misc/sethostname.c: Likewise.
58624         * misc/setregid.c: Likewise.
58625         * misc/setreuid.c: Likewise.
58626         * misc/setxattr.c: Likewise.
58627         * misc/sstk.c: Likewise.
58628         * misc/stty.c: Likewise.
58629         * misc/swapoff.c: Likewise.
58630         * misc/swapon.c: Likewise.
58631         * misc/sync.c: Likewise.
58632         * misc/syncfs.c: Likewise.
58633         * misc/syscall.c: Likewise.
58634         * misc/truncate.c: Likewise.
58635         * misc/ualarm.c: Likewise.
58636         * misc/usleep.c: Likewise.
58637         * misc/ustat.c: Likewise.
58638         * misc/utimes.c: Likewise.
58639         * misc/vhangup.c: Likewise.
58640         * misc/writev.c: Likewise.
58641         * posix/_exit.c: Likewise.
58642         * posix/alarm.c: Likewise.
58643         * posix/execve.c: Likewise.
58644         * posix/fexecve.c: Likewise.
58645         * posix/fork.c: Likewise.
58646         * posix/fpathconf.c: Likewise.
58647         * posix/getaddrinfo.c: Likewise.
58648         * posix/getegid.c: Likewise.
58649         * posix/geteuid.c: Likewise.
58650         * posix/getgid.c: Likewise.
58651         * posix/getgroups.c: Likewise.
58652         * posix/getlogin.c: Likewise.
58653         * posix/getlogin_r.c: Likewise.
58654         * posix/getpgid.c: Likewise.
58655         * posix/getpid.c: Likewise.
58656         * posix/getppid.c: Likewise.
58657         * posix/getresgid.c: Likewise.
58658         * posix/getresuid.c: Likewise.
58659         * posix/getsid.c: Likewise.
58660         * posix/getuid.c: Likewise.
58661         * posix/glob64.c: Likewise.
58662         * posix/nanosleep.c: Likewise.
58663         * posix/pathconf.c: Likewise.
58664         * posix/pause.c: Likewise.
58665         * posix/posix_madvise.c: Likewise.
58666         * posix/pread.c: Likewise.
58667         * posix/pread64.c: Likewise.
58668         * posix/pwrite.c: Likewise.
58669         * posix/pwrite64.c: Likewise.
58670         * posix/sched_getaffinity.c: Likewise.
58671         * posix/sched_getp.c: Likewise.
58672         * posix/sched_gets.c: Likewise.
58673         * posix/sched_primax.c: Likewise.
58674         * posix/sched_primin.c: Likewise.
58675         * posix/sched_rr_gi.c: Likewise.
58676         * posix/sched_setaffinity.c: Likewise.
58677         * posix/sched_setp.c: Likewise.
58678         * posix/sched_sets.c: Likewise.
58679         * posix/sched_yield.c: Likewise.
58680         * posix/setgid.c: Likewise.
58681         * posix/setlogin.c: Likewise.
58682         * posix/setpgid.c: Likewise.
58683         * posix/setresgid.c: Likewise.
58684         * posix/setresuid.c: Likewise.
58685         * posix/setsid.c: Likewise.
58686         * posix/setuid.c: Likewise.
58687         * posix/sleep.c: Likewise.
58688         * posix/spawni.c: Likewise.
58689         * posix/sysconf.c: Likewise.
58690         * posix/times.c: Likewise.
58691         * posix/wait.c: Likewise.
58692         * posix/wait3.c: Likewise.
58693         * posix/wait4.c: Likewise.
58694         * posix/waitpid.c: Likewise.
58695         * resolv/gai_sigqueue.c: Likewise.
58696         * resource/getpriority.c: Likewise.
58697         * resource/getrlimit.c: Likewise.
58698         * resource/getrusage.c: Likewise.
58699         * resource/nice.c: Likewise.
58700         * resource/setpriority.c: Likewise.
58701         * resource/setrlimit.c: Likewise.
58702         * resource/ulimit.c: Likewise.
58703         * rt/aio_cancel.c: Likewise.
58704         * rt/aio_fsync.c: Likewise.
58705         * rt/aio_read.c: Likewise.
58706         * rt/aio_sigqueue.c: Likewise.
58707         * rt/aio_suspend.c: Likewise.
58708         * rt/aio_write.c: Likewise.
58709         * rt/clock_getres.c: Likewise.
58710         * rt/clock_gettime.c: Likewise.
58711         * rt/clock_nanosleep.c: Likewise.
58712         * rt/clock_settime.c: Likewise.
58713         * rt/lio_listio.c: Likewise.
58714         * rt/mq_close.c: Likewise.
58715         * rt/mq_getattr.c: Likewise.
58716         * rt/mq_notify.c: Likewise.
58717         * rt/mq_open.c: Likewise.
58718         * rt/mq_receive.c: Likewise.
58719         * rt/mq_send.c: Likewise.
58720         * rt/mq_setattr.c: Likewise.
58721         * rt/mq_timedreceive.c: Likewise.
58722         * rt/mq_timedsend.c: Likewise.
58723         * rt/mq_unlink.c: Likewise.
58724         * rt/shm_open.c: Likewise.
58725         * rt/shm_unlink.c: Likewise.
58726         * rt/timer_create.c: Likewise.
58727         * rt/timer_delete.c: Likewise.
58728         * rt/timer_getoverr.c: Likewise.
58729         * rt/timer_gettime.c: Likewise.
58730         * rt/timer_settime.c: Likewise.
58731         * setjmp/__longjmp.c: Likewise.
58732         * setjmp/setjmp.c: Likewise.
58733         * signal/kill.c: Likewise.
58734         * signal/killpg.c: Likewise.
58735         * signal/raise.c: Likewise.
58736         * signal/sigaction.c: Likewise.
58737         * signal/sigaltstack.c: Likewise.
58738         * signal/sigblock.c: Likewise.
58739         * signal/sigignore.c: Likewise.
58740         * signal/sigintr.c: Likewise.
58741         * signal/signal.c: Likewise.
58742         * signal/sigpause.c: Likewise.
58743         * signal/sigpending.c: Likewise.
58744         * signal/sigqueue.c: Likewise.
58745         * signal/sigreturn.c: Likewise.
58746         * signal/sigset.c: Likewise.
58747         * signal/sigsetmask.c: Likewise.
58748         * signal/sigstack.c: Likewise.
58749         * signal/sigsuspend.c: Likewise.
58750         * signal/sigtimedwait.c: Likewise.
58751         * signal/sigvec.c: Likewise.
58752         * signal/sigwait.c: Likewise.
58753         * signal/sigwaitinfo.c: Likewise.
58754         * signal/sysv_signal.c: Likewise.
58755         * socket/accept.c: Likewise.
58756         * socket/accept4.c: Likewise.
58757         * socket/bind.c: Likewise.
58758         * socket/connect.c: Likewise.
58759         * socket/getpeername.c: Likewise.
58760         * socket/getsockname.c: Likewise.
58761         * socket/getsockopt.c: Likewise.
58762         * socket/isfdtype.c: Likewise.
58763         * socket/listen.c: Likewise.
58764         * socket/recv.c: Likewise.
58765         * socket/recvfrom.c: Likewise.
58766         * socket/recvmsg.c: Likewise.
58767         * socket/send.c: Likewise.
58768         * socket/sendmsg.c: Likewise.
58769         * socket/sendto.c: Likewise.
58770         * socket/setsockopt.c: Likewise.
58771         * socket/shutdown.c: Likewise.
58772         * socket/sockatmark.c: Likewise.
58773         * socket/socket.c: Likewise.
58774         * socket/socketpair.c: Likewise.
58775         * stdio-common/ctermid.c: Likewise.
58776         * stdio-common/cuserid.c: Likewise.
58777         * stdio-common/remove.c: Likewise.
58778         * stdio-common/rename.c: Likewise.
58779         * stdio-common/renameat.c: Likewise.
58780         * stdio-common/tempname.c: Likewise.
58781         * stdlib/getcontext.c: Likewise.
58782         * stdlib/makecontext.c: Likewise.
58783         * stdlib/setcontext.c: Likewise.
58784         * stdlib/swapcontext.c: Likewise.
58785         * stdlib/system.c: Likewise.
58786         * streams/fattach.c: Likewise.
58787         * streams/fdetach.c: Likewise.
58788         * streams/getmsg.c: Likewise.
58789         * streams/getpmsg.c: Likewise.
58790         * streams/putmsg.c: Likewise.
58791         * streams/putpmsg.c: Likewise.
58792         * sysdeps/unix/bsd/getpt.c: Likewise.
58793         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58794         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58795         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58797         Likewise.
58798         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58799         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58800         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58801         * sysvipc/msgctl.c: Likewise.
58802         * sysvipc/msgget.c: Likewise.
58803         * sysvipc/msgrcv.c: Likewise.
58804         * sysvipc/msgsnd.c: Likewise.
58805         * sysvipc/semctl.c: Likewise.
58806         * sysvipc/semget.c: Likewise.
58807         * sysvipc/semop.c: Likewise.
58808         * sysvipc/semtimedop.c: Likewise.
58809         * sysvipc/shmat.c: Likewise.
58810         * sysvipc/shmctl.c: Likewise.
58811         * sysvipc/shmdt.c: Likewise.
58812         * sysvipc/shmget.c: Likewise.
58813         * termios/tcdrain.c: Likewise.
58814         * termios/tcflow.c: Likewise.
58815         * termios/tcflush.c: Likewise.
58816         * termios/tcgetattr.c: Likewise.
58817         * termios/tcgetpgrp.c: Likewise.
58818         * termios/tcsendbrk.c: Likewise.
58819         * termios/tcsetattr.c: Likewise.
58820         * termios/tcsetpgrp.c: Likewise.
58821         * time/adjtime.c: Likewise.
58822         * time/clock.c: Likewise.
58823         * time/getitimer.c: Likewise.
58824         * time/gettimeofday.c: Likewise.
58825         * time/setitimer.c: Likewise.
58826         * time/settimeofday.c: Likewise.
58827         * time/stime.c: Likewise.
58828         * time/time.c: Likewise.
58830 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58832         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58833         /usr/old/bin.
58835         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58836         instead of spaces.
58837         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58839 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58841         [BZ #14796]
58842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58843         FE_TONEAREST before applying Dekker multiplication and Knuth
58844         addition.  Clear inexact exceptions and check for exact zero
58845         results afterwards.
58846         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58847         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58848         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58849         * math/libm-test.inc (fma_test): Add more tests.
58850         (fma_test_towardzero): Likewise.
58851         (fma_test_downward): Likewise.
58852         (fma_test_upward): Likewise.
58853         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58854         function.
58855         (libc_fesetround): New macro.
58856         (libc_fesetroundf): Likewise.
58857         (libc_fesetroundl): Likewise.
58858         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58859         function.
58860         (libc_fesetround_387): Likewise.
58861         (libc_fesetroundf): New macro.
58862         (libc_fesetround): Likewise.
58863         (libc_fesetroundl): Likewise.
58864         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58865         function.
58866         (libc_fesetroundf): New macro.
58867         (libc_fesetround): Likewise.
58868         (libc_fesetroundl): Likewise.
58869         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58870         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58871         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58872         libm_hidden_ver.
58873         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58874         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58875         libm_hidden_def.
58876         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58877         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58878         libm_hidden_ver.
58879         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58880         libm_hidden_def.
58882         [BZ #3439]
58883         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58884         integer constant usable in #if and use that to give value to enum
58885         constant.
58886         (FE_DIVBYZERO): Likewise.
58887         (FE_UNDERFLOW): Likewise.
58888         (FE_OVERFLOW): Likewise.
58889         (FE_INVALID): Likewise.
58890         (FE_INVALID_SNAN): Likewise.
58891         (FE_INVALID_ISI): Likewise.
58892         (FE_INVALID_IDI): Likewise.
58893         (FE_INVALID_ZDZ): Likewise.
58894         (FE_INVALID_IMZ): Likewise.
58895         (FE_INVALID_COMPARE): Likewise.
58896         (FE_INVALID_SOFTWARE): Likewise.
58897         (FE_INVALID_SQRT): Likewise.
58898         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58899         (FE_TONEAREST): Likewise.
58900         (FE_TOWARDZERO): Likewise.
58901         (FE_UPWARD): Likewise.
58902         (FE_DOWNWARD): Likewise.
58903         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58904         (FE_DIVBYZERO): Likewise.
58905         (FE_OVERFLOW): Likewise.
58906         (FE_UNDERFLOW): Likewise.
58907         (FE_INEXACT): Likewise.
58908         (FE_TONEAREST): Likewise.
58909         (FE_DOWNWARD): Likewise.
58910         (FE_UPWARD): Likewise.
58911         (FE_TOWARDZERO): Likewise.
58912         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58913         (FE_UNDERFLOW): Likewise.
58914         (FE_OVERFLOW): Likewise.
58915         (FE_DIVBYZERO): Likewise.
58916         (FE_INVALID): Likewise.
58917         (FE_TONEAREST): Likewise.
58918         (FE_TOWARDZERO): Likewise.
58919         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58920         (FE_OVERFLOW): Likewise.
58921         (FE_UNDERFLOW): Likewise.
58922         (FE_DIVBYZERO): Likewise.
58923         (FE_INEXACT): Likewise.
58924         (FE_TONEAREST): Likewise.
58925         (FE_TOWARDZERO): Likewise.
58926         (FE_UPWARD): Likewise.
58927         (FE_DOWNWARD): Likewise.
58928         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58929         (FE_DIVBYZERO): Likewise.
58930         (FE_OVERFLOW): Likewise.
58931         (FE_UNDERFLOW): Likewise.
58932         (FE_INEXACT): Likewise.
58933         (FE_TONEAREST): Likewise.
58934         (FE_DOWNWARD): Likewise.
58935         (FE_UPWARD): Likewise.
58936         (FE_TOWARDZERO): Likewise.
58938 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58940         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58942 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58944         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58945         commands.  Quote $PWD.
58946         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58947         -x" by "export".
58948         (remove_newlines): Remove.
58950 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58952         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58953         * stdlib/stdlib.h (atof): Moved to ...
58954         * include/bits/stdlib-float.h: Here.  New file.
58955         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58956         * stdlib/bits/stdlib-float.h: New file.
58957         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58958         -mno-sse -mno-mmx.
58959         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58960         <xmmintrin.h>.
58962 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58964         * conform/conformtest.pl (@headers): Add fenv.h.
58965         * conform/data/fenv.h-data: New file.
58966         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58967         include of <math/fenv.h>.
58969         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58970         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58971         && !UNIX98].  Enables tests for XOPEN2K8.
58972         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58973         POSIX2008]: Likewise.
58975         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58976         (struct rusage): Do not expect type or its members.
58978         [BZ #3439]
58979         * math/math.h (FP_NAN): Define macro to integer constant usable in
58980         #if and use that to give value to enum constant.
58981         (FP_INFINITE): Likewise.
58982         (FP_ZERO): Likewise.
58983         (FP_SUBNORMAL): Likewise.
58984         (FP_NORMAL): Likewise.
58986 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58988         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58989         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58990         arguments.
58992 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58994         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58995         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58996         autoconf-time if not.
58997         * configure.in: Remove AC_PREREQ.
58999 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59001         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
59002         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
59003         of the internal implementation.
59005 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
59007         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
59008         except include of <misc/sys/syslog.h>.
59010 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
59013         function returns with a NULL context exit with zero.
59015 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59017         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
59019 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
59021         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
59022         (run_program_cmd): This.
59023         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
59024         (tst_langinfo): New variable.  Use it.
59026 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
59028         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
59029         floating point opcodes.
59031 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59033         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
59034         variable.
59036         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
59038         * sysdeps/mach/hurd/powerpc: Remove directory.
59039         * sysdeps/mach/powerpc: Likewise.
59041 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59043         * scripts/check-local-headers.sh: Ignore c++ headers.
59045 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59047         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
59048         __libc_cleanup_region_start argument.
59050 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
59052         [BZ #14784]
59053         [BZ #14785]
59054         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
59055         x * y using scaling, not as x * y + z.
59056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59058         * math/libm-test.inc (fma_test): Add more tests.
59059         (fma_test_towardzero): Likewise.
59060         (fma_test_downward): Likewise.
59061         (fma_test_upward): Likewise.
59063 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
59065         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
59067 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59069         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
59070         New variable.
59072 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
59074         * rt/tst-shm.c (worker): Correct checking for mmap failure.
59076 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59079         Fix sort order.
59080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59081         Likewise.
59083 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59086         Fix the order of the list for glibc 2.17.
59087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59088         Likewise.
59090 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
59092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59094 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
59096         [BZ #14610]
59097         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
59098         for low part of x being zero before using __atanl (y).
59099         * math/libm-test.inc (atan2_test): Add another test.
59101         * manual/install.texi (Configuring and compiling): Document
59102         general use of test-wrapper and test-wrapper-env.
59103         * INSTALL: Regenerated.
59105         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
59106         (__fma): Do not extract and scale down low bits on after-rounding
59107         systems when result rounded to normal precision would have normal
59108         exponent.
59109         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
59110         (__fmal): Do not extract and scale down low bits on after-rounding
59111         systems when result rounded to normal precision would have normal
59112         exponent.
59113         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
59114         (__fmal): Do not extract and scale down low bits on after-rounding
59115         systems when result rounded to normal precision would have normal
59116         exponent.
59117         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
59118         macro.
59119         (fma_test): Add more tests.
59120         (fma_test_towardzero): Likewise.
59121         (fma_test_downward): Likewise.
59122         (fma_test_upward): Likewise.
59124 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
59126         * sysdeps/i386/tininess.h: Renamed to ...
59127         * sysdeps/x86/tininess.h: This.
59128         * sysdeps/x86_64/tininess.h: Removed.
59130 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59132         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
59133         input.  Use $(build-program-cmd).
59134         ($(objpfx)tst-array1-static.out): Likewise.
59135         ($(objpfx)tst-array2.out): Likewise.
59136         ($(objpfx)tst-array3.out): Likewise.
59137         ($(objpfx)tst-array4.out): Likewise.
59138         ($(objpfx)tst-array5.out): Likewise.
59139         ($(objpfx)tst-array5-static.out): Likewise.
59141 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
59143         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
59144         if defined.
59146         * nss/nsswitch.h (nss_interface_function): Provide new
59147         macro for use with NSS functions.
59148         * grp/initgroups.c: Use new macro.
59149         * nss/getXXbyYY.c: Likewise.
59150         * nss/getXXbyYY_r.c: Likewise.
59151         * nss/getXXent.c: Likewise.
59152         * nss/getXXent_r.c: Likewise.
59153         * sysdeps/posix/getaddrinfo.c: Likewise.
59155 2012-10-30  Andreas Jaeger  <aj@suse.de>
59157         * po/ru.po: Update Russion translation from translation project.
59159 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
59161         [BZ #14152]
59162         [BZ #14783]
59163         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
59164         result and shift together with sticky bit instead of replicating
59165         round-to-nearest rounding.
59166         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59167         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59168         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
59169         missing underflow exceptions.
59170         (fma_test_towardzero): Add more tests.
59171         (fma_test_downward): Likewise.
59172         (fma_test_upward): Likewise.
59174         [BZ #14047]
59175         * sysdeps/generic/tininess.h: New file.
59176         * sysdeps/i386/tininess.h: Likewise.
59177         * sysdeps/sh/tininess.h: Likewise.
59178         * sysdeps/x86_64/tininess.h: Likewise.
59179         * stdlib/tst-strtod-underflow.c: Likewise.
59180         * stdlib/tst-tininess.c: Likewise.
59181         * stdlib/strtod_l.c: Include <tininess.h>.
59182         (round_and_return): Do not set errno for exact underflow cases.
59183         Force an underflow exception when setting errno for underflow.
59184         Determine underflow based on rounding to normal precision if
59185         TININESS_AFTER_ROUNDING.
59186         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
59187         ERANGE for exact underflow cases.
59188         * stdlib/Makefile (tests): Add tst-tininess and
59189         tst-strtod-underflow.
59190         ($(objpfx)tst-tininess): Use $(link-libm).
59191         ($(objpfx)tst-strtod-underflow): Likewise.
59193 2012-10-30  Andreas Jaeger  <aj@suse.de>
59195         [BZ#14767]
59196         * elf/Makefile (tests): Remove conditional for have-initfini-array
59197         since this is now always required and the variable does not exist
59198         anymore.
59199         (tests-static): Likewise.
59200         (modules-names): Likewise.
59202         * po/eo.po: Add Esperanto translation from translation project.
59204         * elf/tst-array1.c (fini_array): Make writeable so that it can be
59205         merged with constructor/destructor.
59206         (init_array): Likewise.
59207         * elf/tst-array2dep.c (fini_array): Likewise.
59208         (init_array): Likewise.
59210 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
59212         * manual/message.texi: Delete @cartouche tags.
59214 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
59216         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
59217         EOPNOTSUPP.
59218         * sysdeps/mach/hurd/fsync.c: Likewise.
59220         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
59221         [_POSIX_REALTIME_SIGNALS]: Change condition to
59222         [_POSIX_REALTIME_SIGNALS > 0].
59224 2012-10-27  Andreas Jaeger  <aj@suse.de>
59226         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
59227         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
59228         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
59229         [__WORDSIZE != 64]: Likewise.
59231 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
59233         *  iconvdata/tst-table.sh: Remove ${SHELL}.
59234         *  iconvdata/tst-tables.sh: Likewise.
59236 2012-10-25  David S. Miller  <davem@davemloft.net>
59238         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59239         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
59240         of strtoull.
59242         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
59243         ifunc-impl-list.c
59244         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
59245         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
59246         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
59247         file.
59249 2012-10-25  Roland McGrath  <roland@hack.frob.com>
59251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59252         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
59253         __getdirentries.
59255 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59256             Jim Blandy  <jimb@codesourcery.com>
59258         * scripts/cross-test-ssh.sh: New file.
59259         * manual/install.texi (Configuring and compiling): Document use of
59260         cross-test-ssh.sh.
59261         * INSTALL: Regenerated.
59263 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
59265         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
59266         EOPNOTSUPP.
59268 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
59270         * Makeconfig (run-program-prefix): Fix comment.
59272 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59273             Jim Blandy  <jimb@codesourcery.com>
59275         * Makeconfig (test-wrapper): New variable,
59276         (test-wrapper-env): Likewise.
59277         [$(cross-compiling) = yes && $(test-wrapper) != ""]
59278         (run-built-tests): Define to yes.
59279         (run-program-prefix): Use $(test-wrapper).
59280         (built-program-cmd): Likewise.
59281         * Rules (make-test-out): Use $(test-wrapper-env) and
59282         $(host-built-program-cmd).
59283         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
59284         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
59285         tst-pathopt.sh.
59286         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
59287         $(test-wrapper-env) to tst-rtld-load-self.sh.
59288         ($(objpfx)order2.out): Use $(test-wrapper).
59289         ($(objpfx)tst-initorder.out): Likewise.
59290         ($(objpfx)tst-initorder2.out): Likewise.
59291         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
59292         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
59293         (test_wrapper_env): New variable.  Use it to run ld.so.
59294         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
59295         Use it to run ld.so.
59296         (test_wrapper_env): Likewise.
59297         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
59298         $(test-wrapper) to run-iconv-test.sh.
59299         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
59300         (ICONV): Use $test_wrapper.
59301         * posix/Makefile ($(objpfx)globtest.out): Pass
59302         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
59303         globtest.sh, not $(run-program-prefix).
59304         * posix/globtest.sh (run_via_rtld_prefix): New variable.
59305         (test_wrapper): Likewise.
59306         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
59307         set together with run_via_rtld_prefix.
59308         (run_program_prefix): Define in terms of test_wrapper and
59309         run_via_rtld_prefix.
59311 2012-10-24  Roland McGrath  <roland@hack.frob.com>
59313         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
59314         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
59315         Targets removed.
59317         [BZ #14743]
59318         * include/time.h: Remove librt_hidden_proto (clock_gettime).
59319         Declare __clock_getres, __clock_gettime, __clock_settime,
59320         __clock_nanosleep, and __clock_getcpuclockid.
59321         * rt/clock_gettime.c: Define __clock_gettime as an alias.
59322         Remove librt_hidden_def (clock_gettime).
59323         * sysdeps/unix/clock_gettime.c: Likewise.
59324         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
59325         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
59326         * rt/clock_getres.c: Define __clock_getres as an alias.
59327         * sysdeps/posix/clock_getres.c: Likewise.
59328         * rt/clock_settime.c: Define __clock_settime as an alias.
59329         * sysdeps/unix/clock_settime.c: Likewise.
59330         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
59331         * sysdeps/unix/clock_nanosleep.c: Likewise.
59332         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
59333         * rt/clock-compat.c: New file.
59334         * rt/Makefile (librt-routines): Add clock-compat and move
59335         $(clock-routines) to ...
59336         (routines): ... here, new variable.
59337         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
59338         Don't add get_clockfreq here.
59339         * rt/Versions (libc: GLIBC_2.17): New version set.
59340         Add clock_* symbols here.
59341         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
59342         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
59343         (GLIBC_2.17): Add clock_* symbols.
59344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
59345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
59346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59348         Likewise.
59349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59350         Likewise.
59351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
59353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
59354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59355         * NEWS: Mention the move.
59357         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
59358         Use __open, __read, __close rather than their public counterparts.
59359         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59360         (__get_clockfreq_via_cpuinfo): Likewise.
59361         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
59362         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
59364         * config.h.in (HAVE_IFUNC): New #undef.
59365         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
59366         was successful.
59367         * configure: Regenerated.
59369 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59371         * configure.in: Move READELF check to start of file.
59372         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
59373         libc_cv_asm_gnu_indirect_function in the process.
59374         * configure: Regenerated.
59376 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
59378         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
59379         send the output to /dev/null.
59380         (libc_cv_cc_with_libunwind): Likewise.
59381         (libc_cv_as_noexecstack): Likewise.
59382         * configure: Regenerate.
59384 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
59386         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
59388         * posix/globtest.sh (TMPDIR): Do not set.
59389         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
59390         (testout): Likewise.
59392 2012-10-24  Andreas Jaeger  <aj@suse.de>
59394         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
59395         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
59396         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
59397         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
59398         posix_fadvise64, posix_fallocate64.
59400         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
59401         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
59402         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
59403         Likewise.
59404         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
59405         Likewise.
59406         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
59408         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
59409         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
59410         <bits/fcntl-linux.h>.
59411         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
59413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
59414         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
59415         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
59416         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
59417         [__WORDSIZE != 64]: Likewise.
59419 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59421         * Makeconfig (run-built-tests): New variable.
59422         * Rules [$(cross-compiling) = yes]: Change condition to
59423         [$(run-built-tests) = no].
59424         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
59425         to [$(run-built-tests) = yes].
59426         * elf/Makefile [$(cross-compiling) = no]: Likewise.
59427         * grp/Makefile [$(cross-compiling) = no]: Likewise.
59428         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
59429         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
59430         * intl/Makefile [$(cross-compiling) = no]: Likewise.
59431         * io/Makefile [$(cross-compiling) = no]: Likewise.
59432         * libio/Makefile [$(cross-compiling) = no]: Likewise.
59433         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
59434         * misc/Makefile [$(cross-compiling) = no]: Likewise.
59435         * posix/Makefile [$(cross-compiling) = no]: Likewise.
59436         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
59437         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
59438         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
59439         * string/Makefile [$(cross-compiling) = no]: Likewise.
59441         * posix/Makefile ($(objpfx)globtest.out): Pass
59442         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
59443         $(rtld-installed-name).
59444         * posix/globtest.sh (elf_objpfx): Remove variable.
59445         (rtld_installed_name): Likewise.
59446         (library_path): Likewise.
59447         (run_program_prefix): New variable.  Use for running globtest
59448         binary.
59450 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
59451             Joseph Myers  <joseph@codesourcery.com>
59453         * Makeconfig (host-built-program-cmd): New variable.
59454         * elf/Makefile (tst-stackguard1-ARGS): Use
59455         $(host-built-program-cmd).
59456         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
59457         (tst-spawn-ARGS): Likewise.
59458         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
59460 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
59461             Jim Blandy  <jimb@codesourcery.com>
59463         * Makeconfig (run-via-rtld-prefix): New variable.
59464         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
59465         (built-program-cmd): Likewise.
59467 2012-10-22  Andreas Jaeger  <aj@suse.de>
59469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
59470         __O_RSYNC if it exists, otherwise to O_SYNC.
59472 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
59473             Joseph Myers  <joseph@codesourcery.com>
59475         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59476         /dev/null.
59477         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59478         from /dev/null
59479         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59480         /dev/null.
59482 2012-10-22  Andreas Jaeger  <aj@suse.de>
59484         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59485         Define always.
59486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59488         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59489         bits/fcntl-linux.h.
59491         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59492         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59495         to __O_LARGEFILE.
59496         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59497         to __O_LARGEFILE.
59499 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59500             Joseph Myers  <joseph@codesourcery.com>
59502         * config.make.in (NM): New variable.
59504 2012-10-21  Andreas Jaeger  <aj@suse.de>
59506         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59507         definitions and declarations that are provided by
59508         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59510 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59512         [BZ #14683]
59513         * elf/Makefile (tests-static): Add tst-leaks1-static.
59514         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59515         ($(objpfx)tst-leaks1-static): New rule.
59516         ($(objpfx)tst-leaks1-static-mem): Likewise.
59517         (tst-leaks1-static-ENV): New macro.
59518         * elf/dl-open.c (dl_open_worker): Check the main application
59519         only if SHARED is defined.
59520         * elf/tst-leaks1-static.c: New file.
59522 2012-10-20  Andreas Jaeger  <aj@suse.de>
59524         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59525         generic values for Linux.
59526         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59527         and declarations that are provided by <bits/fcntl-linux.h> and
59528         include <bits/fcntl-linux.h>.
59529         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59530         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59532 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59534         * io/fcntl.h: Move include of <bits/types.h> to the top and
59535         include it unconditionally.
59537 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59539         * wcsmbs/Makefile (tests-ifunc): New variable.
59540         (tests): Add $(tests-ifunc).
59541         * wcsmbs/test-wcschr-ifunc.c: New file.
59542         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59543         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59544         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59545         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59546         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59548         * string/Makefile (tests-ifunc): New variable.
59549         (tests): Add $(tests-ifunc).
59550         * string/test-memccpy.c (TEST_NAME): New macro.
59551         * string/test-memchr.c (TEST_NAME): Likewise.
59552         * string/test-memcmp.c (TEST_NAME): Likewise.
59553         * string/test-memcpy.c (TEST_NAME): Likewise.
59554         * string/test-memmem.c (TEST_NAME): Likewise.
59555         * string/test-memmove.c (TEST_NAME): Likewise.
59556         * string/test-memset.c (TEST_NAME): Likewise.
59557         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59558         * string/test-stpcpy.c (TEST_NAME): Likewise.
59559         * string/test-stpncpy.c (TEST_NAME): Likewise.
59560         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59561         * string/test-strcasestr.c (TEST_NAME): Likewise.
59562         * string/test-strcat.c (TEST_NAME): Likewise.
59563         * string/test-strchr.c (TEST_NAME): Likewise.
59564         * string/test-strcmp.c(TEST_NAME): Likewise.
59565         * string/test-strcpy.c (TEST_NAME): Likewise.
59566         * string/test-strcspn.c (TEST_NAME): Likewise.
59567         * string/test-strlen.c (TEST_NAME): Likewise.
59568         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59569         * string/test-strncmp.c (TEST_NAME): Likewise.
59570         * string/test-strncpy.c (TEST_NAME): Likewise.
59571         * string/test-strnlen.c (TEST_NAME): Likewise.
59572         * string/test-strpbrk.c (TEST_NAME): Likewise.
59573         * string/test-strrchr.c (TEST_NAME): Likewise.
59574         * string/test-strspn.c (TEST_NAME): Likewise.
59575         * string/test-strstr.c (TEST_NAME): Likewise.
59576         * string/test-bcopy-ifunc.c: New file.
59577         * string/test-bzero-ifunc.c: Likewise.
59578         * string/test-memccpy-ifunc.c: Likewise.
59579         * string/test-memchr-ifunc.c: Likewise.
59580         * string/test-memcmp-ifunc.c: Likewise.
59581         * string/test-memcpy-ifunc.c: Likewise.
59582         * string/test-memmem-ifunc.c: Likewise.
59583         * string/test-memmove-ifunc.c: Likewise.
59584         * string/test-mempcpy-ifunc.c: Likewise.
59585         * string/test-memset-ifunc.c: Likewise.
59586         * string/test-rawmemchr-ifunc.c: Likewise.
59587         * string/test-stpcpy-ifunc.c: Likewise.
59588         * string/test-stpncpy-ifunc.c: Likewise.
59589         * string/test-strcasecmp-ifunc.c: Likewise.
59590         * string/test-strcasestr-ifunc.c: Likewise.
59591         * string/test-strcat-ifunc.c: Likewise.
59592         * string/test-strchr-ifunc.c: Likewise.
59593         * string/test-strchrnul-ifunc.c: Likewise.
59594         * string/test-strcmp-ifunc.c: Likewise.
59595         * string/test-strcpy-ifunc.c: Likewise.
59596         * string/test-strcspn-ifunc.c: Likewise.
59597         * string/test-strlen-ifunc.c: Likewise.
59598         * string/test-strncasecmp-ifunc.c: Likewise.
59599         * string/test-strncat-ifunc.c: Likewise.
59600         * string/test-strncmp-ifunc.c: Likewise.
59601         * string/test-strncpy-ifunc.c: Likewise.
59602         * string/test-strnlen-ifunc.c: Likewise.
59603         * string/test-strpbrk-ifunc.c: Likewise.
59604         * string/test-strrchr-ifunc.c: Likewise.
59605         * string/test-strspn-ifunc.c: Likewise.
59606         * string/test-strstr-ifunc.c: Likewise.
59608         * debug/Makefile (tests-ifunc): New variable.
59609         (tests): Add $(tests-ifunc).
59610         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59611         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59612         * debug/test-stpcpy_chk-ifunc.c: New file.
59613         * debug/test-strcpy_chk-ifunc.c: Likewise.
59615 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59617         [BZ #13601]
59618         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59619         header is not read in.
59621 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59623         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59624         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59625         directly.  Pass built executable to script as
59626         $(built-program-cmd).
59627         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59628         $testprogram without using LD_LIBRARY_PATH and $ldso.
59630         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59631         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59632         $(rtld-installed-name).
59633         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59634         (rtld_installed_name): Likewise.
59635         (library_path): Likewise.
59636         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59637         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59638         $(run-program-prefix) to tst-tables.sh.
59639         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59640         it to run tst-table-from and tst-table-to.
59641         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59642         Pass it to tst-table.sh.
59643         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59644         $(run-program-prefix) to tst-gettext.sh.
59645         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59646         tst-translit.sh.
59647         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59648         tst-gettext2.sh.
59649         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59650         to run tst-gettext.
59651         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59652         to run tst-gettext2.
59653         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59654         to run tst-translit.
59655         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59656         $(run-program-prefix) to tst-mtrace.sh.
59657         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59658         to run tst-mtrace.
59659         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59660         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59661         $(rtld-installed-name).
59662         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59663         (rtld_installed_name): Likewise.
59664         (run_program_prefix): New variable.  Use it to run wordexp-test.
59666         * Makeconfig (ARCH): Remove all definitions.
59667         (machine): Likewise.
59668         [ARCH]: Remove conditional code.
59669         [!objdir]: Give error.
59670         [!objdir] (objpfx): Remove.
59671         [!objdir] (common-objpfx): Likewise.
59672         [!objdir] (common-objdir): Likewise.
59673         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59674         AC_CONFIG_FILES call.
59675         * configure: Regenerated.
59677         [BZ #13888]
59678         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59679         or TMPDIR.
59680         (testout): Likewise.
59682         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59683         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59684         $(rtld-installed-name).
59685         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59686         (rtld_installed_name): Likwise.
59687         (runit): Remove function.
59688         (run_getconf): New variable,  Use it for running getconf binary.
59690 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59692         [BZ #14716]
59693         * string/test-memmem.c (check_result): New function.
59694         (do_one_test): Use it.
59695         (check1): New function.
59696         (test_main): Use it.
59698 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59700         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59702 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59704         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59705         (_G_LSEEK64): Likewise.
59706         (_G_MMAP64): Likewise.
59707         (_G_FSTAT64): Likewise.
59708         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59709         (_G_LSEEK64): Likewise.
59710         (_G_MMAP64): Likewise.
59711         (_G_FSTAT64): Likewise.
59712         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59713         unconditional.  Call __mmap64 directly.
59714         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59715         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59716         __lseek64 directly.
59717         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59718         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59719         __mmap64 directly.
59720         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59721         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59722         __lseek64 directly.
59723         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59724         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59725         __lseek64 directly.
59726         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59727         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59728         __lseek64 directly.
59729         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59730         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59731         __fxstat64 directly.
59732         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59733         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59734         unconditional.
59735         (freopen64) [!_G_OPEN64]: Remove conditional code.
59736         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59737         unconditional.
59738         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59739         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59740         unconditional.
59741         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59742         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59743         unconditional.
59744         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59745         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59746         unconditional.
59747         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59748         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59749         unconditional.
59750         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59751         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59752         unconditional.
59753         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59754         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59755         unconditional.
59756         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59758 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59760         [BZ #12140]
59761         * manual/memory.texi (Malloc Tunable Parameters): Add note
59762         about free list pointers overwriting some perturb bytes.
59763         Wording suggested by Roland McGrath.
59765 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59767         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59768         (lgamma_test): Likewise.
59769         (tgamma_test): Likewise.
59771 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59773         [BZ #14700]
59774         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59775         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59777 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59779         * NEWS: Mention BZ #14716.
59780         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59781         when removing AVAILABLE1_USES_J macro.
59783 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59785         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59786         (__bswap_64): __uint64_t for unsigned 64-bit int.
59788 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59790         * include/string.h (memmem): Declare libc hidden alias.
59791         * string/memmem.c (memmem): Define libc hidden alias.
59792         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59793         __read, __close instead of open, read, close.
59795 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59797         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59798         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59799         global and hidden.
59800         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59801         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59802         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59803         Likewise.
59804         (__rawmemchr_sse2): Likewise.
59805         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59806         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59807         (__strchr_sse2): Likewise.
59808         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59809         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59810         (__strcasecmp_sse2): Likewise.
59811         (__strncasecmp_sse2): Likewise.
59812         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59813         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59814         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59815         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59816         (__strrchr_sse2): Likewise.
59817         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59818         ifunc-impl-list.c.
59819         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59820         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59821         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59822         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59823         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59824         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59827         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59828         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59829         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59830         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59831         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59832         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59833         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59834         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59835         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59836         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59837         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59838         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59839         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59840         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59841         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59842         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59843         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59844         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59845         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59846         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59847         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59848         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59850         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59851         global and hidden.
59852         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59853         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59854         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59855         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59856         Likewise.
59857         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59858         Likewise.
59859         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59860         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59861         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59862         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59863         ifunc-impl-list.c.
59864         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59865         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59866         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59867         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59868         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59869         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59870         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59871         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59872         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59873         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59874         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59875         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59876         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59877         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59878         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59879         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59880         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59881         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59882         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59883         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59884         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59885         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59886         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59887         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59888         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59889         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59890         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59891         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59892         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59893         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59894         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59895         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59896         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59897         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59898         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59899         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59900         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59901         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59902         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59903         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59904         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59906         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59907         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59908         * include/ifunc-impl-list.h: New file.
59909         * misc/ifunc-impl-list.c: Likewise.
59910         * misc/Makefile (routines): Add ifunc-impl-list.
59911         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59912         * string/test-string.h: Include <ifunc-impl-list.h>.
59913         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59914         TEST_NAME]: New variables.
59915         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59916         are defined.
59917         (test_init): Call __libc_ifunc_impl_list to initialize
59918         func_list if TEST_IFUNC and TEST_NAME are defined.
59920         * string/Makefile (strop-tests): Add bcopy and bzero.
59921         * string/test-bcopy.c: New file.
59922         * string/test-bzero.c: Likewise.
59923         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59924         defined.
59925         * string/test-memset.c: Support bzero test if TEST_BZERO is
59926         defined.
59927         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59928         __libc_memmove.
59929         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59930         __libc_memset.
59931         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59932         of memset.
59934 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59936         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59937         * configure: Regenerated.
59939         * Makeconfig (+link-static-before-libc): Don't include
59940         $(link-static-libc).
59942         * libio/libio.h (_IO_pos_t): Remove.
59944 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59946         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59947         McGrath.
59949 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59951         * crypt/crypt-entry.c: Include fips-private.h.
59952         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59953         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59954         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59955         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59957 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59959         * crypt/crypt-private.h: Include stdbool.h.
59960         (_ufc_setup_salt_r): Return bool.
59961         * crypt/crypt-entry.c: Include errno.h.
59962         (__crypt_r): Return NULL with EINVAL for bad salt.
59963         * crypt/crypt_util.c (bad_for_salt): New.
59964         (_ufc_setup_salt_r): Check that salt is long enough and within
59965         the specified alphabet.
59966         * crypt/badsalttest.c: New file.
59967         * crypt/Makefile (tests): Add it.
59968         ($(objpfx)badsalttest): New.
59970 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59972         * NEWS: Add entry for BZ #14602.
59974 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59976         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59977         type-generic.
59978         * math/libm-test.inc: Update comment listing what functions and
59979         macros are tested.
59980         (isgreater_test): New function.
59981         (isgreaterequal_test): Likewise.
59982         (isless_test): Likewise.
59983         (islessequal_test): Likewise.
59984         (islessgreater_test): Likewise.
59985         (isunordered_test): Likewise.
59986         (main): Call the new functions.
59988 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59990         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59991         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59992         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59993         * sysdeps/i386/configure: Regenerated.
59994         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59995         * sysdeps/mach/configure: Regenerated.
59996         * sysdeps/mach/hurd/configure: Regenerated.
59997         * sysdeps/powerpc/configure: Regenerated.
59998         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59999         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60000         * sysdeps/s390/s390-32/configure: Regenerated.
60001         * sysdeps/s390/s390-64/configure: Regenerated.
60002         * sysdeps/sh/configure: Regenerated.
60003         * sysdeps/sparc/configure: Regenerated.
60004         * sysdeps/unix/sysv/linux/configure: Regenerated.
60005         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
60006         * sysdeps/x86_64/configure: Regenerated.
60008         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
60009         defined.  Don't check if MAP is NULL.
60011 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
60013         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
60014         (_G_stat64): Likewise.
60015         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
60016         (_G_stat64): Likewise.
60017         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
60018         instead of struct _G_stat64.
60019         * libio/fileops.c (mmap_remap_check): Likewise.
60020         (decide_maybe_mmap): Likewise.
60021         (_IO_new_file_seekoff): Likewise.
60022         (_IO_file_stat): Likewise.
60023         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
60024         _G_off64_t.
60025         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
60026         instead of struct _G_stat64.
60027         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60029 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
60031         [BZ #14602]
60032         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60033         Replace with ...
60034         (CHECK_EOL): New macro.
60035         (two_way_short_needle): Check beginning of haystack for EOL.  Use
60036         CHECK_EOL.
60037         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60038         Replace with CHECK_EOL.
60039         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
60040         Replace with CHECK_EOL.
60042 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
60044         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
60045         type-generic.
60046         * math/libm-test.inc: Update comment listing what functions and
60047         macros are tested.
60048         (finite_test): New function.
60049         (isinf_test): Likewise.
60050         (isnan_test): Likewise.
60051         (fpclassify_test): Test subnormal input.
60052         (isfinite_test): Likewise.
60053         (isnormal_test): Likewise.
60054         (main): Call the new functions.
60056 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
60058         [BZ #14660]
60059         * Makerules (%.dynsym): Force C locale when running
60060         $(OBJDUMP) --dynamic-syms.
60062 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
60064         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
60065         <stdint.h>.
60067 2012-10-06  David S. Miller  <davem@davemloft.net>
60069         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
60070         upper 32-bits of the length value in %o2 since we use branch-on-register
60071         tests which consider the entire 64-bit register.
60073 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
60075         * string/test-strstr.c (check2): Add a test for page boundary.
60077 2012-10-05  David S. Miller  <davem@davemloft.net>
60079         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
60080         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
60081         file.
60082         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60083         sysdep_routines.
60084         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60085         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
60086         and bzero when HWCAP_SPARC_CRYPTO is present.
60088 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
60090         [BZ #14602]
60091         * string/test-strstr.c (check2): New function.
60092         (test_main): Call check2.
60094         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
60095         and bug-strchr1.
60096         * string/bug-strcasestr1.c (do_test): Moved to ...
60097         * string/test-strcasestr.c (check1): Here.  New function.
60098         (do_one_test): Break out result checking code into ...
60099         (check_result): This.  New function.
60100         (do_one_test): Call check_result.
60101         (test_main): Call check1.
60102         * string/bug-strchr1.c (do_test): Moved to ...
60103         * string/test-strchr.c (check1): Here.  New function.
60104         (do_one_test): Break out result checking code into ...
60105         (check_result): This.  New function.
60106         (do_one_test): Call check_result.
60107         (test_main): Call check1.
60108         * string/bug-strstr1.c (main): Moved to ...
60109         * string/test-strstr.c (check1): Here.  New function.
60110         (do_one_test): Break out result checking code into ...
60111         (check_result): This.  New function.
60112         (do_one_test): Call check_result.
60113         (test_main): Call check1.
60114         * string/bug-strcasestr1.c: Removed.
60115         * string/bug-strchr1.c: Likewise.
60116         * string/bug-strstr1.c: Likewise.
60118         * elf/Makefile (dl-routines): Add hwcaps.
60119         * elf/dl-support.c (_dl_important_hwcaps): Removed.
60120         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
60121         (_dl_important_hwcaps): Moved to ...
60122         * elf/dl-hwcaps.c: Here.  New file.
60123         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
60125         [BZ #14557]
60126         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
60127         if IS_IN_rtld isn't defined.
60129         * elf/dl-support.c (_dl_sysinfo_map): New.
60130         Include "get-dynamic-info.h" and "setup-vdso.h".
60131         (_dl_non_dynamic_init): Call setup_vdso.
60132         * elf/dynamic-link.h: Don't include <assert.h>.
60133         (elf_get_dynamic_info): Moved to ...
60134         * elf/get-dynamic-info.h: Here.  New file.
60135         * elf/dynamic-link.h: Include "get-dynamic-info.h".
60136         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
60137         * elf/setup-vdso.h: Here.  New file.
60138         * elf/rtld.c: Include "setup-vdso.h".
60139         (dl_main): Call setup_vdso.
60141 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
60143         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
60144         creal in comment listing functions tested.  List finite, isinf,
60145         isnan, isless, islessequal, isgreater, isgreaterequal,
60146         islessgreater, isunordered, lgamma_r and pow10 as functions and
60147         macros not tested.  Mention which functions not tested are aliases
60148         for other functions.  Fix typo.  Note that signs of NaNs are not
60149         tested.
60151         * scripts/config.guess: Update from config.git.
60152         * scripts/config.sub: Likewise.
60154 2012-10-04  Roland McGrath  <roland@hack.frob.com>
60156         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
60157         * misc/madvise.c (madvise): Renamed to __madvise.
60158         Make madvise a weak alias.
60159         * include/sys/mman.h: Declare __madvise.
60160         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
60161         * sysdeps/unix/syscalls.list
60162         (madvise): Make __madvise the strong name, and madvise a weak alias.
60163         * sysdeps/unix/sysv/linux/syscalls.list
60164         (madvise, mmap): Remove redundant entries.
60165         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
60166         * malloc/malloc.c (mtrim): Likewise.
60167         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
60169 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60171         * sysdeps/mach/hurd/dl-cache.c: File removed.
60172         * config.h.in (USE_LDCONFIG): New #undef.
60173         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
60174         * configure: Regenerated.
60175         * elf/Makefile (dl-routines): Add dl-cache only under
60176         [$(use-ldconfig) = yes].
60177         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
60178         cache on [USE_LDCONFIG].
60179         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
60180         [USE_LDCONFIG].
60181         * elf/rtld.c (dl_main): Likewise.
60183 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
60185         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
60186         _SC_LEVEL4_CACHE_LINESIZE.
60188 2012-10-03  Roland McGrath  <roland@hack.frob.com>
60190         * sysdeps/unix/bsd/confstr.h: File removed.
60192 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
60194         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
60195         sys/sdt-config.h.
60197 2012-10-02  Roland McGrath  <roland@hack.frob.com>
60199         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
60200         Make 'mapoff' field ElfW(Off) rather than off_t.
60202 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
60204         * nscd/Makefile: Remove nscd-cflags and all its users.
60205         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
60206         (CFLAGS-nonlib): Add compiler flags for nscd modules.
60208         [BZ #10631]
60209         * malloc.c (malloc_printerr): Clarify error message.
60211 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
60213         [BZ #14648]
60214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60215         Set bit_FMA_Usable if FMA is supported.
60216         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
60217         macro.
60218         (bit_FMA4_Usable): Updated.
60219         (index_FMA_Usable): New macro.
60220         (CPUID_FMA): Likewise.
60221         (HAS_FMA): Defined with bit_FMA_Usable.
60223 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60225         * bits/types.h (__swblk_t): Type removed.
60226         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
60227         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
60228         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60229         (__SWBLK_T_TYPE): Likewise.
60230         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60231         (__SWBLK_T_TYPE): Likewise.
60232         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60233         (__SWBLK_T_TYPE): Likewise.
60234         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60235         (__SWBLK_T_TYPE): Likewise.
60237 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
60238             Honza Horak <hhorak@redhat.com>
60240         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
60241         (xdr_mapname): Use YPMAXMAP as maxsize.
60242         (xdr_peername): Use YPMAXPEER as maxsize.
60243         (xdr_keydat): Use YPAXRECORD as maxsize.
60244         (xdr_valdat): Use YPMAXRECORD as maxsize.
60246 2012-10-01  Roland McGrath  <roland@hack.frob.com>
60248         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
60250         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
60251         * csu/init-first.c: ... here.
60252         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
60253         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
60254         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
60255         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
60256         * sysdeps/i386/init-first.c: File removed.
60257         * sysdeps/sh/init-first.c: File removed.
60259 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
60261         [BZ #14645]
60262         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
60263         if x * y might underflow to zero and z is zero.
60264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60266         * math/libm-test.inc (min_subnorm_value): New variable.
60267         (fma_test): Add more tests.
60268         (fma_test_towardzero): Likewise.
60269         (fma_test_downward): Likewise.
60270         (fma_test_upward): Likewise.
60271         (initialize): Set min_subnorm_value.
60273 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
60275         [BZ #14638]
60276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
60277         0 + 0.
60278         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
60279         mode for addition resulting in exact zero.
60280         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
60281         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
60282         exact 0 + 0.
60283         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60284         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60285         * math/libm-test.inc (fma_test): Add more tests.
60286         (fma_test_towardzero): New function.
60287         (fma_test_downward): Likewise.
60288         (fma_test_upward): Likewise.
60289         (main): Call the new functions.
60291 2012-09-28  David S. Miller  <davem@davemloft.net>
60293         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
60295 2012-09-28  Roland McGrath  <roland@hack.frob.com>
60297         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
60298         instead of SIGALRM.
60300         * sysdeps/gnu/_G_config.h: Moved to ...
60301         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
60302         * sysdeps/mach/hurd/_G_config.h: Moved to ...
60303         * sysdeps/generic/_G_config.h: ... here.
60305         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
60307         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
60309         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
60310         Conditionalize target on [libnss_test1.so-version].
60312         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
60314         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
60315         (elfobjdir): Move out of conditionals.
60317         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
60318         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
60319         (__nss_lookup_function): Conditionalize label remove_from_tree on
60320         [!DO_STATIC_NSS || SHARED], matching its only use.
60322 2012-09-28  David S. Miller  <davem@davemloft.net>
60324         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
60325         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
60326         file.
60327         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
60328         sysdep_routines.
60329         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
60330         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
60331         when HWCAP_SPARC_CRYPTO is present.
60333 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60335         * io/tst-mknodat.c: Create a FIFO instead of a socket.
60337 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
60339         [BZ #6530]
60340         * stdio-common/vfprintf.c (process_string_arg): Revert
60341         2000-07-22 change.
60343 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
60345         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
60346         for testcase.
60347         * stdio-common/tst-sprintf.c: Include <locale.h>
60348         (main): Test sprintf's handling of incomplete multibyte
60349         characters.
60351 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
60353         * elf/dl-runtime.c (VERSYMIDX): Removed.
60354         * elf/dl-version.c (VERSYMIDX): Likewise.
60355         * elf/do-rel.h (VERSYMIDX): Likewise.
60356         (VALIDX): Likewise.
60357         * elf/dynamic-link.h (VERSYMIDX): Likewise.
60358         * elf/rtld.c (VALIDX): Likewise.
60359         (ADDRIDX): Likewise.
60360         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
60361         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
60362         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
60363         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
60364         (VALIDX): Likewise.
60365         (ADDRIDX): Likewise.
60367 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60369         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
60371 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
60373         [BZ #11438]
60374         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
60375         to global scope.
60376         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
60377         addresses are in the same scope as 192.0.2/24.
60378         * posix/gai.conf: Document new scope table defaults.
60380 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60382         [BZ #5298]
60383         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
60384         for ftell.  Compute offsets from write pointers instead.
60385         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
60387 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60389         [BZ #14543]
60390         * libio/Makefile (tests): New test case tst-fseek.
60391         * libio/tst-fseek.c: New test case to verify that fseek/ftell
60392         combination works in wide mode.
60393         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
60394         state when the external buffer state changes.
60396 2012-09-27  David S. Miller  <davem@davemloft.net>
60398         [BZ #14376]
60399         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
60400         pass reloc->r_addend in as the 'high' argument to
60401         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
60403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60405 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
60407         * rt/tst-aio2.c: Include <pthread.h>.
60408         * rt/tst-aio3.c: Likewise.
60410 2012-09-27  Steve Ellcey  <sellcey@mips.com>
60412         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
60414 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
60416         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
60417         contents on [SHARED].
60419 2012-09-26  Marek Polacek  <polacek@redhat.com>
60421         [BZ #14530]
60422         [BZ #13741]
60423         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
60424         for C++ and GCC <4.3 as well as for non GCC compilers.
60426 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60430 2012-09-25  Roland McGrath  <roland@hack.frob.com>
60432         * Makefile.in (all, install): Declare with .PHONY.
60433         Reported by Michael Hope <michael.hope@linaro.org>.
60435 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60437         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
60438         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
60439         system header.
60440         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
60441         Likewise.
60442         (sydep_routines): Add the new and the internal functions.
60443         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
60444         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
60445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
60446         (GLIBC_2.17): Add the new function.
60447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
60448         (GLIBC_2.17): Likewise.
60449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
60450         (GLIBC_2.17): Likewise.
60451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
60452         (GLIBC_2.17): Likewise.
60453         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
60455 2012-09-25  Alan Modra  <amodra@gmail.com>
60457         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
60458         Add release barrier before setting once_control to say
60459         initialisation is done.  Add hints on lwarx.  Use macro in
60460         place of isync.
60461         (clear_once_control): Add release barrier.
60463 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60465         [BZ #13629]
60466         * math/s_clog.c (__clog): Handle more values close to |z| = 1
60467         specially.
60468         * math/s_clog10.c (__clog10): Likewise.
60469         * math/s_clog10f.c (__clog10f): Likewise.
60470         * math/s_clog10l.c (__clog10l): Likewise.
60471         * math/s_clogf.c (__clogf): Likewise.
60472         * math/s_clogl.c (__clogl): Likewise.
60473         * math/Makefile (libm-calls): Add x2y2m1.
60474         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60475         (__x2y2m1): Likewise.
60476         (__x2y2m1l): Likewise.
60477         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60478         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60479         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60480         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60481         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60482         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60483         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60484         * sysdeps/i386/fpu/libm-test-ulps: Update.
60485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60487         [BZ #14621]
60488         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60489         int as type of variable DEPTH.
60490         (glob): Use size_t instead of int as type of variables NEWCOUNT
60491         and OLD_PATHC.
60493 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60495         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60496         Add s_sincosf-sse2.
60497         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60498         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60499         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60500         macros for using routine as __sincosf_ia32.
60501         Use macro for function declaration and weak_alias.
60502         * sysdeps/i386/fpu/libm-test-ulps: Update.
60504         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60505         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60507         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60508         subnormal argument.
60509         * math/s_cexpf.c (__cexpf): Likewise.
60510         * math/s_csinf.c (__csinf): Likewise.
60511         * math/s_csinhf.c (__csinhf): Likewise.
60512         * math/s_ctanf.c (__ctanf): Likewise.
60513         * math/s_ctanhf.c (__ctanhf): Likewise.
60514         * math/s_ccosh.c (__ccoshf): Likewise.
60515         * math/s_cexp.c (__cexpl): Likewise.
60516         * math/s_csin.c (__csin): Likewise.
60517         * math/s_csinh.c (__csinh): Likewise.
60518         * math/s_ctan.c (__ctan): Likewise.
60519         * math/s_ctanh.c (ctanh): Likewise.
60520         * math/s_ccoshl.c (__ccoshl): Likewise.
60521         * math/s_cexpl.c (__cexpl): Likewise.
60522         * math/s_csinl.c (__csinl): Likewise.
60523         * math/s_csinhl.c (__csinhl): Likewise.
60524         * math/s_ctanl.c (__ctanl): Likewise.
60525         * math/s_ctanhl.c (__ctanhl): Likewise.
60527 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60529         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60530         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60531         (_IO_off_t): Define to __off_t, not _G_off_t.
60532         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60533         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60534         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60535         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60536         type of __dummy and __dummy2 fields.
60537         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60538         (_G_ssize_t): Likewise.
60539         (_G_off_t): Likewise.
60540         (_G_pid_t): Likewise.
60541         (_G_uid_t): Likewise.
60542         (_G_wchar_t): Likewise.
60543         (_G_wint_t): Likewise.
60544         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60545         (_G_ssize_t): Likewise.
60546         (_G_off_t): Likewise.
60547         (_G_pid_t): Likewise.
60548         (_G_uid_t): Likewise.
60549         (_G_wchar_t): Likewise.
60550         (_G_wint_t): Likewise.
60551         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60552         (_G_ssize_t): Likewise.
60553         (_G_off_t): Likewise.
60554         (_G_pid_t): Likewise.
60555         (_G_uid_t): Likewise.
60556         (_G_wchar_t): Likewise.
60557         (_G_wint_t): Likewise.
60559 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60561         * malloc/arena.c: Include malloc-sysdep.h.
60562         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60563         is sufficient to shrink the heap or an unmap is needed.
60564         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60565         new function check_may_shrink_heap.
60566         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60567         new function check_may_shrink_heap.
60569 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60571         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60572         comments.
60574 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60576         * catgets/test-gencat.sh: Add "set -e".
60577         * elf/tst-pathopt.sh: Likewise.
60578         * grp/tst_fgetgrent.sh: Likewise.
60579         * iconvdata/run-iconv-test.sh: Likewise.
60580         * intl/tst-gettext.sh: Likewise.
60581         * intl/tst-gettext2.sh: Likewise.
60582         * intl/tst-gettext4.sh: Likewise.
60583         * intl/tst-gettext6.sh: Likewise.
60584         * intl/tst-translit.sh: Likewise.
60585         * io/ftwtest-sh: Likewise.
60586         * libio/test-freopen.sh: Likewise.
60587         * malloc/tst-mtrace.sh: Likewise.
60588         * posix/globtest.sh: Likewise.
60589         * posix/tst-getconf.sh: Likewise.
60590         * posix/wordexp-tst.sh: Likewise.
60591         * stdio-common/tst-printf.sh: Likewise.
60592         * stdio-common/tst-unbputc.sh: Likewise.
60593         * stdlib/tst-fmtmsg.sh: Likewise.
60594         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60595         * catgets/Makefile: Do not specify -e option when running
60596         testsuite shell scripts.
60597         * elf/Makefile: Likewise.
60598         * grp/Makefile: Likewise.
60599         * iconvdata/Makefile: Likewise.
60600         * intl/Makefile: Likewise.
60601         * io/Makefile: Likewise.
60602         * libio/Makefile: Likewise.
60603         * malloc/Makefile: Likewise.
60604         * posix/Makefile: Likewise.
60605         * stdio-common/Makefile: Likewise.
60606         * stdlib/Makefile: Likewise.
60607         * sysdeps/x86_64/Makefile: Likewise.
60609         * io/ftwtest-sh: Add copyright header.
60610         * posix/globtest.sh: Likewise.
60611         * posix/tst-getconf.sh: Likewise.
60612         * posix/wordexp-tst.sh: Likewise.
60613         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60615 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60617         [BZ #13679]
60618         * Makeconfig (+link): Defined as $(+link-static) if
60619         $(build-shared) isn't yes.
60620         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60621         isn't yes.
60622         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60624         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60626         [BZ #14562]
60627         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60628         new chunk size with MALLOC_ALIGN_MASK.
60630 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60632         [BZ #5044]
60633         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60634         <rounding-mode.h>.
60635         (__printf_fphex): Determine rounding using get_rounding_mode and
60636         round_away.
60637         * stdio-common/tst-printf-round.c (struct hex_test): New
60638         structure.
60639         (hex_tests): New variable.
60640         (test_hex_in_one_mode): New function.
60641         (do_test): Also run tests for hex float output.
60643 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60645         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60646         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60647         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60648         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60649         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60650         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60651         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60652         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60654 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60656         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60657         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60658         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60659         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60661 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60663         [BZ #14579]
60664         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60665         mode only.
60666         * elf/tst-rtld-load-self.sh: New test.
60667         * elf/Makefile: Run it.
60669 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60671         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60672         (tst-writev-ENV): Remove.
60673         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60675 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60677         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60679 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60681         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60682         unconditional.
60683         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60684         Likewise.
60685         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60686         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60687         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60688         Likewise.
60690 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60692         [BZ #14587]
60693         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60694         * config.make.in (have-cpp-asm-debuginfo): Removed.
60695         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60696         * configure: Regenerated.
60698 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60700         [BZ #5044]
60701         * stdio-common/printf_fp.c: Include <stdbool.h> and
60702         <rounding-mode.h>.
60703         (___printf_fp): Determine rounding using get_rounding_mode and
60704         round_away.
60705         * stdio-common/tst-printf-round.c: New file.
60706         * stdio-common/Makefile (tests): Add tst-printf-round.
60707         (link-libm): New variable.
60708         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60710 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60712         [BZ #14576]
60713         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60714         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60715         Likewise.
60716         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60717         Likewise.
60719 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60721         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60722         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60723         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60724         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60726 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60728         [BZ #14518]
60729         * include/rounding-mode.h: New file.
60730         * sysdeps/generic/get-rounding-mode.h: Likewise.
60731         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60732         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60733         (MAX_VALUE): New macro.
60734         (MIN_VALUE): Likewise.
60735         (overflow_value): New function.
60736         (underflow_value): Likewise.
60737         (round_and_return): Use overflow_value and underflow_value to
60738         determine return values in overflow and underflow cases.  Use
60739         round_away to determine rounding depending on rounding mode.
60740         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60741         determine return values in overflow and underflow cases.
60742         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60743         (struct test_results): New structure.
60744         (struct test): Use struct test_results to store expected results
60745         for all rounding modes.
60746         (TEST): Include expected results for all rounding modes.
60747         (test_in_one_mode): New function.
60748         (do_test): Use test_in_one_mode to compute and check results.
60749         Check results for all rounding modes.
60750         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60751         $(link-libm).
60753 2012-12-09  Allan McRae  <allan@archlinux.org>
60755         * sysdeps/i386/fpu/libm-test-ulps: Update
60757 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60759         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60760         (_G_int32_t): Likewise.
60761         (_G_uint16_t): Likewise.
60762         (_G_uint32_t): Likewise.
60763         (_G_HAVE_BOOL): Likewise.
60764         (_G_HAVE_ATEXIT): Likewise.
60765         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60766         (_G_HAVE_IO_FILE_OPEN): Likewise.
60767         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60768         (_G_int32_t): Likewise.
60769         (_G_uint16_t): Likewise.
60770         (_G_uint32_t): Likewise.
60771         (_G_HAVE_BOOL): Likewise.
60772         (_G_HAVE_ATEXIT): Likewise.
60773         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60774         (_G_HAVE_IO_FILE_OPEN): Likewise.
60775         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60776         (_G_int32_t): Likewise.
60777         (_G_uint16_t): Likewise.
60778         (_G_uint32_t): Likewise.
60779         (_G_HAVE_BOOL): Likewise.
60780         (_G_HAVE_ATEXIT): Likewise.
60781         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60782         (_G_HAVE_IO_FILE_OPEN): Likewise.
60784 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60786         * csu/libc-tls.c: Update copyright years.
60788 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60790         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60791         [!_G_USING_THUNKS]: Remove conditional code.
60792         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60793         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60795         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60796         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60797         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60798         (_G_VTABLE_LABEL_PREFIX): Likewise.
60799         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60800         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60801         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60802         (_G_VTABLE_LABEL_PREFIX): Likewise.
60803         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60804         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60805         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60806         (_G_VTABLE_LABEL_PREFIX): Likewise.
60807         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60809 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60811         * libio/Makefile: Include ../Makeconfig before tests.
60812         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60813         only if $(build-shared) is yes.
60815         * iconv/gconv_db.c: Update copyright years.
60817 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60819         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60820         unwind info if defined PIC. Fix special cases description.
60821         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60823         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60824         DP_HI_MASK entry.
60825         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60827 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60829         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60831         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60832         is NULL.
60834         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60835         (LDLIBS-tst-chk4): This.
60836         (LDFLAGS-tst-chk5): Renamed to ...
60837         (LDLIBS-tst-chk5): This.
60838         (LDFLAGS-tst-chk6): Renamed to ...
60839         (LDLIBS-tst-chk6): This.
60840         (LDFLAGS-tst-lfschk4): Renamed to ...
60841         (LDLIBS-tst-lfschk4): This.
60842         (LDFLAGS-tst-lfschk5): Renamed to ...
60843         (LDLIBS-tst-lfschk5): This.
60844         (LDFLAGS-tst-lfschk6): Renamed to ...
60845         (LDLIBS-tst-lfschk6): This.
60847         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60848         on $(common-objpfx)soversions.mk.
60850 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60852         [BZ #10014]
60853         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60854         example host name.
60856 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60858         * malloc/arena.c (arena_get_retry): New function that gets
60859         another arena for the caller to try its request on.
60860         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60861         current arena cannot fulfill the request.
60862         (__libc_memalign): Likewise.
60863         (__libc_memalign): Likewise.
60864         (__libc_pvalloc): Likewise.
60865         (__libc_calloc): Likewise.
60867 2012-09-05  John Tobey  <john.tobey@gmail.com>
60869         [BZ #13542]
60870         * manual/arith.texi (Operations on Complex): Fix description
60871         of carg branch cut.
60873 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60875         [BZ #10014]
60876         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60877         host name.
60879         [BZ #10038]
60880         * manual/memory.texi (Memory): Make order of menu items match
60881         order of sections.
60883 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60885         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60886         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60887         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60889 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60891         * csu/libc-tls.c (static_dtv): Renamed to ...
60892         (_dl_static_dtv): This.  Make it global.
60893         (_dl_initial_dtv): Removed.
60894         (__libc_setup_tls): Updated.
60895         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60896         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60897         DL_INITIAL_DTV.
60899 2012-09-06  Petr Machata  <pmachata@redhat.com>
60901         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60902         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60903         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60904         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60906 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60908         [BZ #14545]
60909         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60910         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60911         freeing dtv[-1].
60913 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60915         [BZ #14544]
60916         * Makeconfig (link-static-before-libc): Replace $(+prector)
60917         with $(+prectorT).
60918         (link-static-after-libc): Replace $(+postctor) with
60919         $(+postctorT).
60920         (link-bounded): Replace $(+prector)/$(+postctor) with
60921         $(+prectorT)/$(+postctorT).
60922         (+prectorT): New macro.
60923         (+postctorT): Likewise.
60925 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60927         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60928         (round_str): Handle values above the maximum for IBM long double
60929         as inexact.
60930         * stdlib/tst-strtod-round.c (tests): Regenerated.
60932 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60934         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60935         assembler flag.
60936         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60937         zarch_nohighgprs around the zarch optimized routines.
60938         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60939         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60940         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60941         for zarch.
60943 2012-09-05  David S. Miller  <davem@davemloft.net>
60945         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60947         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60948         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60949         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60950         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60951         entries.
60953 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60955         * malloc/arena.c: Fold copyright years.
60956         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60958 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60960         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60962 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60964         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60966 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60968         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60969         change internal state upon failure.
60971 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60973         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60974         * malloc/memusage.c (mmap): Likewise.
60975         (mmap64, mremap): Likewise.  Adjust name in comment.
60977 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60979         * libio/fileops.c: Fix typos in comments.
60980         * libio/oldfileops.c: Likewise.
60981         * libio/wfileops.c: Likewise.
60983 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60985         [BZ #1349]
60986         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60987         (tst-malloc-usable-ENV): Set environment for test case.
60988         * malloc/hooks.c (malloc_check_get_size): New function to get
60989         requested size.
60990         * malloc/malloc.c (musable): Use malloc_check_get_size.
60991         * malloc/tst-malloc-usable.c: New test case.
60993 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60995         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60997 2012-09-05  Allan McRae  <allan@archlinux.org>
60999         [BZ #13966]
61000         * configure.in (CXX_SYSINCLUDES): Use compiler output to
61001         determine header location.
61002         * configure: Regenerated.
61004 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61006         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
61007         float format.
61008         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
61009         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
61010         format.
61011         (test): Regenerate.
61013 2012-09-04  David S. Miller  <davem@davemloft.net>
61015         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
61016         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
61017         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
61019 2012-09-04  Florian Weimer  <fweimer@redhat.com>
61021         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
61022         failures.
61024         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
61026 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
61028         [BZ #9914]
61029         * libio/iogetdelim.c: Include <limits.h>.
61030         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
61031         + len + 1 would overflow.
61033 2012-09-03  Andreas Jaeger  <aj@suse.de>
61035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61036         * sysdeps/i386/fpu/libm-test-ulps: Update.
61038 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61040         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61041         Add s_sinf-sse2, s_conf-sse2.
61043         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
61044         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
61045         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
61046         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
61048         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
61049         for using routine as __sinf_ia32.
61050         Use macro for function declaration and weak_alias.
61051         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
61052         for using routine as __cosf_ia32.
61053         Use macro for function declaration and weak_alias.
61055         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
61056         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
61058         * sysdeps/x86_64/fpu/s_sinf.S: New file.
61059         * sysdeps/x86_64/fpu/s_cosf.S: New file.
61060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61062         * math/libm-test.inc (cos_test): Add more test cases.
61063         (sin_test): Likewise.
61064         (sincos_test): Likewise.
61066 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61068         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
61069         (IFUNC_RESOLVE): Make pointers to the specialized implementations
61070         hidden.
61071         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
61073 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
61075         [BZ #14538]
61076         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
61077         first element of the GOT.
61078         (elf_machine_load_address): Return the difference between
61079         the runtime address of _DYNAMIC and elf_machine_dynamic ().
61081 2012-09-01  Allan McRae  <allan@archlinux.org>
61083         [BZ #13412]
61084         * configure.in (AWK): Require gawk version 3.0 or later.
61085         * configure: Regenerated.
61087 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
61089         * sysdeps/unix/sysv/linux/kernel-features.h
61090         (__ASSUME_POSIX_CPU_TIMERS): Remove.
61091         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61092         [__NR_clock_getres]: Make code unconditional.
61093         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
61094         (clock_getcpuclockid): Remove code left unreachable by removal of
61095         conditionals.
61096         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
61097         code unconditional.
61098         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61099         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61100         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
61101         Make code unconditional.
61102         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
61103         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61104         * sysdeps/unix/sysv/linux/clock_settime.c
61105         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
61106         conditional code.
61107         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
61108         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
61110 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
61112         [BZ #14476]
61113         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
61114         scripts/test-installation.pl.
61116         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
61117         and $ld_so_version if it is set.
61119 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61121         [BZ #14516]
61122         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
61123         failure if reading from procfs failed.
61124         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
61126 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61128         * sysdeps/unix/sysv/linux/kernel-features.h
61129         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
61130         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61131         Remove conditional code.
61132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61133         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
61134         Remove conditional code.
61135         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61136         * sysdeps/unix/sysv/linux/i386/fxstat.c
61137         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61138         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61139         * sysdeps/unix/sysv/linux/i386/fxstatat.c
61140         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61141         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61142         * sysdeps/unix/sysv/linux/i386/lxstat.c
61143         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
61144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61145         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
61146         Remove conditional code.
61147         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61148         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
61149         Remove conditional code.
61150         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61151         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
61152         <kernel-features.h>.
61153         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
61154         Remove.
61155         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
61156         Remove conditional code.
61157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
61158         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
61159         Remove conditional.
61161 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
61163         [BZ #5400]
61164         * NEWS: Add fixed bug number.
61166 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
61168         [BZ #14519]
61169         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
61170         underflowing exponent in case of negative sign.
61171         * stdlib/tst-strtod-round-data: Add more tests.
61172         * stdlib/tst-strtod-round.c (tests): Regenerated.
61174         [BZ #3479]
61175         * stdlib/strtod_l.c (NDIG): Remove.
61176         (HEXNDIG): Likewise.
61177         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
61178         smallest representable value.
61179         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
61180         lie within an exact representation of 1/2 ulp of the result.
61181         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
61182         unconditionally.
61183         (TENS_P9_IDX): Define unconditionally.
61184         (TENS_P9_SIZE): Likewise.
61185         (TENS_P10_IDX): Likewise.
61186         (TENS_P10_SIZE): Likewise.
61187         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
61188         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
61189         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
61190         entries for 10^2^13 and 10^2^14.
61191         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
61192         (TENS_P13_IDX): Define.
61193         (TENS_P13_SIZE): Likewise.
61194         (TENS_P14_IDX): Likewise.
61195         (TENS_P14_SIZE): Likewise.
61196         (_fpioconst_pow10): Change array size to
61197         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
61198         unconditional.
61199         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
61200         1024]: Add entries for 10^2^13 and 10^2^14.
61201         [LAST_POW10 > _LAST_POW10]: Remove #error.
61202         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
61203         (_fpioconst_pow10): Change array size to
61204         FPIOCONST_POW10_ARRAY_SIZE.
61205         * stdlib/gen-fpioconst.c: New file.
61206         * stdlib/gen-tst-strtod-round.c: Likewise.
61207         * stdlib/tst-strtod-round-data: Likewise.
61208         * stdlib/tst-strtod-round.c: Likewise.
61209         * stdlib/Makefile (tests): Add tst-strtod-round.
61211         [BZ #14459]
61212         * stdlib/strtod_l.c: Include <stdint.h>.
61213         (NDEBUG): Do not define.
61214         (round_and_return): Change EXPONENT parameter to type intmax_t.
61215         Rearrange calculations to avoid internal overflow possibilities.
61216         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
61217         Rearrange calculations to avoid internal overflow possibilities.
61218         Assert that number fits inside MPNSIZE limbs.
61219         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
61220         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
61221         calculations and add assertions to avoid internal overflow
61222         possibilities.  Add casts to avoid signed/unsigned operations.
61223         * stdlib/tst-strtod-overflow.c: New file.
61224         * stdlib/Makefile (tests): Add tst-strtod-overflow.
61226 2012-08-25  Marek Polacek  <polacek@redhat.com>
61228         * time/time.h: Fix some typos in comments.
61230 2012-08-23  Roland McGrath  <roland@hack.frob.com>
61232         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
61233         * posix/tst-rfc3484-2.c: Likewise.
61234         * posix/tst-rfc3484-3.c: Likewise.
61236 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
61238         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
61239         (EF_ARM_ABI_FLOAT_HARD): Likewise.
61241 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
61243         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
61244         #include of fxstatat64.c.
61246 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61248         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
61249         * shadow/getspent_r.c: Likewise.
61250         * shadow/getspnam.c: Likewise.
61251         * shadow/getspnam_r.c: Likewise.
61252         * gshadow/getsgent.c: Likewise.
61253         * gshadow/getsgent_r.c: Likewise.
61254         * gshadow/getsgnam.c: Likewise.
61255         * gshadow/getsgnam_r.c: Likewise.
61256         * inet/getnetbyad.c: Likewise.
61257         * inet/getnetbyad_r.c: Likewise.
61258         * inet/getnetbynm.c: Likewise.
61259         * inet/getnetbynm_r.c: Likewise.
61260         * inet/getnetent.c: Likewise.
61261         * inet/getnetent_r.c: Likewise.
61262         * inet/getproto.c: Likewise.
61263         * inet/getproto_r.c: Likewise.
61264         * inet/getprtent.c: Likewise.
61265         * inet/getprtent_r.c: Likewise.
61266         * inet/getprtname.c: Likewise.
61267         * inet/getprtname_r.c: Likewise.
61268         * inet/getrpcbyname.c: Likewise.
61269         * inet/getrpcbyname_r.c: Likewise.
61270         * inet/getrpcbynumber.c: Likewise.
61271         * inet/getrpcbynumber_r.c: Likewise.
61272         * inet/getrpcent.c: Likewise.
61273         * inet/getrpcent_r.c: Likewise.
61274         * inet/getaliasent.c: Likewise.
61275         * inet/getaliasent_r.c: Likewise.
61276         * inet/getaliasname.c: Likewise.
61277         * inet/getaliasname_r.c: Likewise.
61278         * nscd/getgrgid_r.c: Likewise.
61279         * nscd/getgrnam_r.c: Likewise.
61280         * nscd/gethstbyad_r.c: Likewise.
61281         * nscd/gethstbynm3_r.c: Likewise.
61282         * nscd/getpwnam_r.c: Likewise.
61283         * nscd/getpwuid_r.c: Likewise.
61284         * nscd/getsrvbynm_r.c: Likewise.
61285         * nscd/getsrvbypt_r.c: Likewise.
61286         * nscd/gai.c: Likewise.
61288         * configure.in (build_nscd): New substituted variable, set
61289         by --disable-build-nscd and defaults to $use_nscd.
61290         * configure: Regenerated.
61291         * config.make.in (build-nscd): New substituted variable.
61292         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
61293         Change conditional to require [$(build-nscd) = yes] as well.
61294         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
61296         [BZ# 13696]
61297         * configure.in (use_nscd): New substituted variable, set by
61298         --disable-nscd.  If enabled, define USE_NSCD.
61299         * configure: Regenerated.
61300         * config.h.in: Add USE_NSCD.
61301         * config.make.in (use-nscd): New substituted variable.
61302         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
61303         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
61304         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
61305         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
61306         (CFLAGS-getgrnam_r.c): Likewise.
61307         (CFLAGS-initgroups.c): Likewise.
61308         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
61309         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
61310         Variables removed.
61311         * inet/getnetgrent_r.c
61312         (nscd_setnetgrent): New function, broken out of ...
61313         (setnetgrent): ... here.  Call it.
61314         (innetgr): Conditionalize nscd bits on [USE_NSCD].
61315         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
61316         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
61317         * nscd/Makefile (routines, aux): Move definitions after include of
61318         Makeconfig.  Conditionalize on [$(use-nscd) != no].
61319         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
61320         Conditionalize on [USE_NSCD].
61321         (is_nscd, nscd_init_cb): Likewise.
61322         (nss_load_library): Conditionalize init callback on [USE_NSCD].
61323         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
61324         * nss/nss_db/db-init.c: Likewise.
61325         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
61326         [USE_NSCD].
61327         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
61328         (make_request): Use it.
61329         (cache_valid_p): New function.
61330         (__check_pf): Use it.
61331         * NEWS: Add item for --disable-nscd.
61333 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
61335         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
61336         to support sed >= 4.2.1-20-ga9bf076.
61337         * configure: Regenerated.
61339 2012-08-22  Roland McGrath  <roland@hack.frob.com>
61341         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
61342         Conditionalize whole body on [IREL].
61344 2012-08-22  Jeff Law <law@redhat.com>
61346         [BZ #14505]
61347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
61348         if the family is PF_UNSPEC.
61350 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
61352         * Makerules (lib-version): Rename from V.
61353         (install-lib-nosubdir): Change V to lib-version.
61355 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
61357         [BZ #14252]
61358         * powerpc32/power6/wcschr.c: New file.
61359         * powerpc32/power6/wcscpy.c: New file.
61360         * powerpc32/power6/wcsrchr.c: New file.
61361         * powerpc64/power6/wcschr.c: New file.
61362         * powerpc64/power6/wcscpy.c: New file.
61363         * powerpc64/power6/wcsrchr.c: New file.
61365 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61367         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
61368         (two_way_short_needle): Use it.
61369         * string/strstr.c (AVAILABLE1_USES_J): Define.
61370         * string/strcasestr.c: Likewise.
61372         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
61373         array references.
61374         * string/strcasestr.c (TOLOWER): Make side-effect safe.
61376         [BZ #11607]
61377         * NEWS: Add an entry.
61378         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
61379         define their defaults.
61380         (two_way_short_needle): Detect end-of-string on-the-fly.
61381         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
61382         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
61383         * string/bug-strcasestr1.c: New test.
61384         * string/Makefile: Run it.
61386 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
61388         [BZ #11607]
61389         * string/str-two-way.h (two_way_short_needle): Optimize matching of
61390         the first character.
61392 2012-08-21  Roland McGrath  <roland@hack.frob.com>
61394         * csu/elf-init.c (__libc_csu_irel): Function removed.
61395         * csu/libc-start.c (apply_irel): New function.
61396         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
61398 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
61400         * sysdeps/unix/sysv/linux/kernel-features.h
61401         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
61402         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
61403         <kernel-features.h>.
61404         [__NR_fadvise64_64]: Make code unconditional.
61405         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
61406         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61407         !__NR_fadvise64_64)]: Likewise.
61408         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
61409         !__NR_fadvise64_64))]: Likewise.
61410         [__NR_fadvise64]: Make code unconditional.
61411         [!__NR_fadvise64]: Remove conditional code.
61412         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
61413         <kernel-features.h>.
61414         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61415         unconditional.
61416         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61417         conditional code.
61418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
61419         not include <kernel-features.h>.
61420         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61421         unconditional.
61422         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61423         conditional code.
61424         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
61425         include <kernel-features.h>.
61426         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
61427         unconditional.
61428         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
61429         conditional code.
61431 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
61433         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
61434         slight instruction rearrangements per scrollpipe analysis.
61435         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61437 2012-08-20  Roland McGrath  <roland@hack.frob.com>
61439         * manual/syslog.texi (syslog; vsyslog, closelog):
61440         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
61441         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
61443         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
61444         DSOCAPS to match condition on defining it.
61446 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
61448         * sysdeps/unix/sysv/linux/kernel-features.h
61449         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
61450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
61451         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61452         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
61454         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61455         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
61457         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
61458         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
61460         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
61461         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
61463         * sysdeps/unix/sysv/linux/kernel-features.h
61464         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
61465         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
61466         unconditional.
61467         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61468         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
61469         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61470         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61471         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
61472         Make code unconditional.
61473         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61474         (__mmap64) [!__NR_mmap2]: Likewise.
61475         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61476         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61477         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61478         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61479         [__NR_mmap2]: Make code unconditional.
61480         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61481         (__mmap64) [!__NR_mmap2]: Likewise.
61483 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61485         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61487 2012-08-18  Andreas Jaeger  <aj@suse.de>
61489         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61491 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61493         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61494         * include/unistd.h (__have_sock_cloexec): Likewise.
61495         (__have_pipe2): Likewise.
61496         (__have_dup3): Likewise.
61498 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61500         [BZ #9685]
61501         * include/unistd.h (__have_pipe2): Change define into an extern int.
61502         (__have_dup3): Likewise.
61503         * socket/have_sock_cloexec.c: Include fcntl.h.
61504         (__have_pipe2): New variable.
61505         (__have_dup3): Likewise.
61507 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61509         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61511 2012-08-17  Marek Polacek  <polacek@redhat.com>
61513         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61514         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61516 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61518         * configure.in: Add AC_SUBST for sysheaders.
61519         * configure: Regenerated.
61520         * config.make.in (sysheaders): New substituted variable.
61522         * sysdeps/unix/mkfifo.c: Moved ...
61523         * sysdeps/posix/mkfifo.c: ... here.
61524         * sysdeps/unix/mkfifoat.c: Moved ...
61525         * sysdeps/posix/mkfifoat.c: ... here.
61527         * sysdeps/unix/utime.c: Moved ...
61528         * sysdeps/posix/utime.c: ... here.
61530         * sysdeps/unix/time.c: Moved ...
61531         * sysdeps/posix/time.c: ... here.
61532         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61533         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61535         * sysdeps/unix/nice.c: Moved ...
61536         * sysdeps/posix/nice.c: ... here.
61538         * sysdeps/unix/alarm.c: Moved ...
61539         * sysdeps/posix/alarm.c: ... here.
61541         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61543 2012-08-17  Jeff Law <law@redhat.com>
61545         * intl/Makefile (codeset_mo): New variable.
61546         ($(codeset_mo)): New target.
61547         (tst-codeset.out): Depend on that.  Remove explicit rule.
61548         (tst-gettext3.out, tst-gettext5.out): Likewise.
61549         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61550         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61551         * intl/tst-codeset.sh: Remove.
61552         * intl/tst-gettext3.sh: Likewise.
61553         * intl/tst-gettext5.sh: Likewise.
61555 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61557         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61558         * sysdeps/unix/syscalls.list: ... here.
61560         * sysdeps/posix/getaddrinfo.c
61561         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61562         (gaiconf_init, gaiconf_reload): Use them.
61563         [!_STATBUF_ST_NSEC]
61564         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61565         Define using time_t rather than struct timespec.
61567         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61568         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61569         Macros removed.
61570         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61571         [!NO_THREADS].
61572         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61573         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61574         Likewise.
61576         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61577         __libc_cleanup_push argument.
61579         * bits/param.h: New file.
61580         * misc/sys/param.h: New file.
61581         * include/sys/param.h: New file.
61582         * misc/Makefile (headers): Add bits/param.h.
61583         * sysdeps/generic/sys/param.h: File removed.
61584         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61585         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61586         * sysdeps/mach/hurd/bits/param.h: New file.
61587         * sysdeps/mach/hurd/sys/param.h: File removed.
61589         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61590         last change.
61592         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61593         [_IO_MTSAFE_IO].
61594         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61595         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61596         New macros.
61598         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61599         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61600         rather than -D_IO_MTSAFE_IO conditionally.
61601         * stdio-common/Makefile (CPPFLAGS): Likewise.
61602         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61603         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61604         Use $(libio-mtsafe).
61605         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61606         of -D_IO_MTSAFE_IO.
61607         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61608         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61609         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61610         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61611         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61612         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61613         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61614         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61615         (CFLAGS-fread_u_chk.c): Likewise.
61616         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61617         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61618         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61619         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61620         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61621         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61622         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61623         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61624         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61626         * libio/Makefile: Test [$(libc-reentrant) = yes]
61627         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61629         * Makeconfig
61630         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61631         * sysdeps/pthread/configure: File removed.
61632         * sysdeps/pthread/Makeconfig: New file.
61633         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61634         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61636 2012-08-16  Gary Benson  <gbenson@redhat.com>
61638         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61639         unmapping the first object in a namespace.
61641 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61643         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61644         (__internal_setnetgrent): ... this.  Add internal_function to
61645         definition.  Add libc_hidden_def.
61646         (setnetgrent): Update caller.
61647         (internal_endnetgrent): Renamed to ...
61648         (__internal_endnetgrent): ... this.  Add internal_function to
61649         definition.  Add libc_hidden_def.
61650         (endnetgrent): Update caller.
61651         (internal_getnetgrent_r): Renamed to ...
61652         (__internal_getnetgrent_r): ... this.  Add internal_function to
61653         definition.  Add libc_hidden_def.
61654         (__getnetgrent_r): Update caller.
61655         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61657 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61659         * stdlib/longlong.h: Update from GCC.
61661 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61663         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61664         on _QL, which is set by umul_ppmm but never used.
61665         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61666         variables, which are set by GMP macros but never used.
61667         * stdio-common/_itowa.c (_itowa): Likewise.
61668         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61669         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61671 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61673         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61674         struct La_sh_regs is not constant.
61675         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61676         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61677         and struct La_sparc64_regs are not constant.
61679 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61681         * sysdeps/unix/sysv/linux/kernel-features.h
61682         (__ASSUME_POSIX_TIMERS): Remove.
61683         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61684         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61685         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61686         Make code unconditional.
61687         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61688         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61689         Make code unconditional.
61690         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61691         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61692         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61693         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61694         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61695         Make code unconditional.
61696         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61697         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61698         (__libc_missing_posix_timers): Remove.
61700 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61702         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61703         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61705         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61707         * elf/dl-sym.c: Include <stdlib.h>.
61709         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61710         constants, which avoids warnings in 32-bit builds.
61712         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61713         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61715         * misc/lseek.c: File moved to ...
61716         * io/lseek.c: ... here.
61718         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61720         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61721         shifting LEN more than 31 bits at once.
61723 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61725         [BZ #14195]
61726         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61727         segmentation fault for a case of two empty input strings.
61728         * string/test-strncasecmp.c (check1): Renamed to...
61729         (bz12205): ...this.
61730         (bz14195): Add new testcase for two empty input strings and N > 0.
61731         (test_main): Call new testcase, adapt for renamed function.
61733 2012-08-15  Andreas Jaeger  <aj@suse.de>
61735         [BZ #14090]
61736         * crypt/md5test2.c: New test, based on test supplied by Serge
61737         Belyshev <belyshev@depni.sinp.msu.ru>.
61738         * crypt/Makefile (xtests): Add md5test-giant..
61739         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61741 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61743         [BZ #14090]
61744         * crypt/md5.c (md5_process_block): Don't assume the buffer
61745         length is less than 2**32.
61746         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61747         length is less than 2**64.
61749 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61751         * string/str-two-way.h: Include <sys/param.h>.
61752         (MAX): Macro removed.
61754         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61755         Move #define and #undef of memmove to just before and after
61756         including <string.h>.
61758         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61759         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61760         and after including <string.h>.  Move declarations of
61761         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61762         to before #include "string/memmove.c".
61764         * include/dirent.h: Declare __getdirentries.
61766         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61767         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61769 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61771         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61772         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61773         * sysdeps/i386/configure: Regenerated.
61774         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61775         STABS_CURRENT_FILE, and STABS_FUN.
61776         (END): Remove call to STABS_FUN_END.
61777         (STABS_CURRENT_FILE1): Delete.
61778         (STABS_CURRENT_FILE): Likewise.
61779         (STABS_FUN): Likewise.
61780         (STABS_FUN_END): Likewise.
61781         (STABS_FUN2): Likewise.
61782         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61783         * sysdeps/x86_64/configure: Regenerated.
61785 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61787         * elf/dl-open.c: Include <atomic.h>.
61788         * elf/dl-lookup.c: Likewise.
61790 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61792         * sysdeps/unix/sysv/linux/kernel-features.h
61793         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61794         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61795         unconditionally.
61796         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61797         unconditionally.
61798         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61799         condition on __ASSUME_CLONE_THREAD_FLAGS.
61801 2012-08-14  Andreas Jaeger  <aj@suse.de>
61803         * sysdeps/i386/fpu/libm-test-ulps: Update.
61805 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61807         * include/atomic.h (atomic_exchange_and_add): Split into ...
61808         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61809         New atomic macros.
61811 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61813         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61815 2012-08-13  Jeff Law <law@redhat.com>
61817         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61818         null byte in the output string.
61820 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61822         * sysdeps/unix/sysv/linux/kernel-features.h
61823         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61824         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61825         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61826         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61827         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61828         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61829         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61831 2012-08-09  Jeff Law <law@redhat.com>
61833         [BZ #13939]
61834         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61835         When avoid_arena is set, don't retry in the that arena.  Pick the
61836         next one, whatever it might be.
61837         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61838         (arena_lock): Pass in new parameter to arena_get2.
61839         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61840         arena_get2.
61841         (__libc_malloc): Unify retrying after main arena failure with
61842         __libc_memalign version.
61843         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61845 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61847         [BZ #14166]
61848         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61849         to __redirect_strstr.
61850         (__strstr_sse42): Use typeof __redirect_strstr.
61851         (__strstr_ia32): Likewise.
61852         (__libc_strstr): New prototype.
61853         (strstr): Renamed to ...
61854         (__libc_strstr): This.
61855         (strstr): New strong alias of __libc_strstr.
61856         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61857         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61858         __redirect_time.
61859         Include <time.h>.
61860         (__libc_time): New prototype.
61861         (time_ifunc): Replace time with __libc_time.
61862         (time): New strong alias and hidden definition of __libc_time.
61863         (__GI_time): Remove strong alias.
61864         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61865         Include <stddef.h>.
61866         (memmove): Redefined to __redirect_memmove.
61867         (__memmove_sse2): Use typeof __redirect_memmove.
61868         (__memmove_ssse3): Likewise.
61869         (__memmove_ssse3_back): Likewise.
61870         (__libc_memmove): New prototype.
61871         (memmove): Renamed to ...
61872         (__libc_memmove): This.
61873         (memmove): New strong alias of __libc_memmove.
61875 2012-08-08  Mark Salter  <msalter@redhat.com>
61877         * elf/elf.h
61878         (R_MN10300_TLS_GD): Define.
61879         (R_MN10300_TLS_LD): Likewise.
61880         (R_MN10300_TLS_LDO): Likewise.
61881         (R_MN10300_TLS_GOTIE): Likewise.
61882         (R_MN10300_TLS_IE): Likewise.
61883         (R_MN10300_TLS_LE): Likewise.
61884         (R_MN10300_TLS_DTPMOD): Likewise.
61885         (R_MN10300_TLS_DTPOFF): Likewise.
61886         (R_MN10300_TLS_TPOFF): Likewise.
61887         (R_MN10300_SYM_DIFF): Likewise.
61888         (R_MN10300_ALIGN): Likewise.
61889         (R_MN10300_NUM): Update.
61891 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61893         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61894         Remove.
61896 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61898         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61900         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61901         sysdeps/unix -> sysdeps/posix move.
61902         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61904 2012-08-07      Allan McRae     <allan@archlinux.org>
61906         [BZ #14303]
61907         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61908         (SUNOS_CPP): Likewise.
61909         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61910         not found.
61911         (open_input): Call CPP using execvp.
61913 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61915         * sysdeps/unix/sysv/linux/kernel-features.h
61916         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61917         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61918         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61919         (__ASSUME_WAITID_SYSCALL): Likewise.
61920         * sysdeps/unix/sysv/linux/dl-execstack.c
61921         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61922         code unconditional.
61923         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61924         conditional code.
61925         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61926         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61927         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61928         code.
61929         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61930         unconditional.
61931         [__ASSUME_WAITID_SYSCALL]: Likewise.
61932         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61934 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61936         * sysdeps/unix/closedir.c: Renamed to ...
61937         * sysdeps/posix/closedir.c: ... here.
61938         * sysdeps/unix/dirfd.c: Renamed to ...
61939         * sysdeps/posix/dirfd.c: ... here.
61940         * sysdeps/unix/dirstream.h: Renamed to ...
61941         * sysdeps/posix/dirstream.h: ... here.
61942         * sysdeps/unix/fdopendir.c: Renamed to ...
61943         * sysdeps/posix/fdopendir.c: ... here.
61944         * sysdeps/unix/opendir.c: Renamed to ...
61945         * sysdeps/posix/opendir.c: ... here.
61946         * sysdeps/unix/readdir.c: Renamed to ...
61947         * sysdeps/posix/readdir.c: ... here.
61948         * sysdeps/unix/readdir_r.c: Renamed to ...
61949         * sysdeps/posix/readdir_r.c: ... here.
61950         * sysdeps/unix/rewinddir.c: Renamed to ...
61951         * sysdeps/posix/rewinddir.c: ... here.
61952         * sysdeps/unix/seekdir.c: Renamed to ...
61953         * sysdeps/posix/seekdir.c: ... here.
61954         * sysdeps/unix/telldir.c: Renamed to ...
61955         * sysdeps/posix/telldir.c: ... here.
61956         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61957         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61958         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61959         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61961         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61962         * bits/fcntl.h: ... here.
61964         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61965         not 0.
61966         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61967         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61968         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61969         (struct flock): Move l_start, l_len to the beginning.
61970         Use __pid_t for l_pid.
61971         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61972         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61973         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61974         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61975         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61976         [__USE_LARGEFILE64] (struct flock64): New type.
61977         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61979         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61980         * bits/dirent.h: ... here.
61982         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61983         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61985 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61987         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61988         Change from 2.6.0 to 2.6.16.
61989         * sysdeps/unix/sysv/linux/configure: Regenerated.
61990         * sysdeps/unix/sysv/linux/kernel-features.h
61991         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61992         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61993         version.
61994         (__ASSUME_UTIMES): Likewise.
61995         (__ASSUME_CLONE_STOPPED): Remove.
61996         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61997         architectures, not kernel version.
61998         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61999         (__ASSUME_NO_CLONE_DETACHED): Likewise.
62000         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
62001         (__ASSUME_WAITID_SYSCALL): Likewise.
62002         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
62003         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
62004         * README: State 2.6.16 as minimum Linux kernel version.  Do not
62005         refer to older versions.
62007 2012-08-06  Roland McGrath  <roland@hack.frob.com>
62009         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
62010         Define alphasort64 as an alias.
62011         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
62012         Define versionsort64 as an alias.
62013         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
62014         Define scandir64 as an alias.
62015         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
62016         Define scandirat64 as an alias.
62017         * dirent/alphasort64.c (alphasort64):
62018         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
62019         * dirent/versionsort64.c: Likewise.
62020         * dirent/scandir64.c: Likewise.
62021         * dirent/scandirat64.c: Likewise.
62022         * sysdeps/wordsize-64/alphasort.c: File removed.
62023         * sysdeps/wordsize-64/alphasort64.c: File removed.
62024         * sysdeps/wordsize-64/scandir.c: File removed.
62025         * sysdeps/wordsize-64/scandir64.c: File removed.
62026         * sysdeps/wordsize-64/scandirat.c: File removed.
62027         * sysdeps/wordsize-64/scandirat64.c: File removed.
62028         * sysdeps/wordsize-64/versionsort.c: File removed.
62029         * sysdeps/wordsize-64/versionsort64.c: File removed.
62030         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
62031         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
62032         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
62033         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
62034         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
62035         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
62036         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
62037         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
62039         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
62040         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62041         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
62042         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62043         [defined __arch64__ || defined __sparcv9]
62044         (__INO_T_MATCHES_INO64_T): New macro.
62045         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62046         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
62047         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
62048         * sysdeps/unix/sysv/linux/bits/dirent.h
62049         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
62050         (_DIRENT_MATCHES_DIRENT64): New macro.
62052         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
62053         Define lockf64 as an alias.
62054         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
62055         Define fseeko64 as an alias.
62056         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
62057         Define ftello64 as an alias.
62058         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
62059         Define _IO_fgetpos64 and fgetpos64 as aliases.
62060         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
62061         Define _IO_fsetpos64 and fsetpos64 as aliases.
62062         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
62063         Conditionalize body on this.
62064         * libio/fseeko64.c: Likewise.
62065         * libio/ftello64.c: Likewise.
62066         * libio/iofgetpos64.c: Likewise.
62067         * libio/iofsetpos64.c: Likewise.
62068         * sysdeps/wordsize-64/lockf.c: File removed.
62069         * sysdeps/wordsize-64/lockf64.c: File removed.
62070         * sysdeps/wordsize-64/fseeko.c: File removed.
62071         * sysdeps/wordsize-64/fseeko64.c: File removed.
62072         * sysdeps/wordsize-64/ftello.c: File removed.
62073         * sysdeps/wordsize-64/ftello64.c: File removed.
62074         * sysdeps/wordsize-64/iofgetpos.c: File removed.
62075         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
62076         * sysdeps/wordsize-64/iofsetpos.c: File removed.
62077         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
62078         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
62079         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
62080         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
62081         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
62082         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
62083         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
62084         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
62085         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
62086         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
62087         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
62089         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
62091         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
62092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62093         [defined __arch64__ || defined __sparcv9]
62094         (__OFF_T_MATCHES_OFF64_T): New macro.
62095         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62096         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
62097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62098         (__OFF_T_MATCHES_OFF64_T): New macro.
62100 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62102         * stdlib/secure-getenv.c (__secure_getenv): Replace
62103         GLIBC_2_16 with GLIBC_2_17.
62105 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
62107         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
62108         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
62110 2012-08-03  David S. Miller  <davem@davemloft.net>
62112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62114 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62116         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
62117         Remove.
62118         (__ASSUME_CORRECT_SI_PID): Likewise.
62119         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
62120         (__ASSUME_TMPFS_NAME): Likewise.
62121         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
62122         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
62123         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
62124         (HAVE_AUX_SECURE): Make definition unconditional.
62125         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
62126         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
62128 2012-08-03  Roland McGrath  <roland@hack.frob.com>
62130         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
62131         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
62132         * sysdeps/mach/hurd/eloop-threshold.h: New file.
62133         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
62134         __eloop_threshold instead of SYMLOOP_MAX.
62136         * sysdeps/generic/eloop-threshold.h: New file.
62137         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
62138         of MAXSYMLINKS.
62139         * elf/chroot_canon.c (chroot_canon): Likewise.
62141 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
62143         [BZ #13717]
62144         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62145         Change to 2.6.0 everywhere.
62146         * sysdeps/unix/sysv/linux/configure: Regenerated.
62147         * sysdeps/unix/sysv/linux/kernel-features.h
62148         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
62149         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
62150         kernel versions.
62151         (__ASSUME_POSIX_TIMERS): Define unconditionally.
62152         (__ASSUME_FUTEX_REQUEUE): Remove.
62153         (__ASSUME_STATFS64): Define unconditionally.
62154         (__ASSUME_AT_SECURE): Likewise.
62155         (__ASSUME_CORRECT_SI_PID): Likewise.
62156         (__ASSUME_TGKILL): Define without depending on kernel version for
62157         i386.
62158         (__ASSUME_UTIMES): Likewise.
62159         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
62160         kernel version.
62161         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
62162         (__ASSUME_TMPFS_NAME): Likewise.
62163         * README: Update reference to Linux kernel versions.
62165 2012-08-02  Marek Polacek  <polacek@redhat.com>
62167         [BZ# 14150]
62168         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
62169         libc_cv_asm_type_prefix with %.
62170         * configure: Regenerated.
62171         * include/libc-symbols.h: Remove comment about
62172         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62173         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
62174         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
62175         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
62176         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
62177         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
62178         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
62179         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
62180         * elf/tst-unique2mod1.c: Likewise.
62181         * elf/tst-unique1mod2.c: Likewise.
62182         * elf/tst-unique1mod1.c: Likewise.
62183         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
62184         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
62185         Replace ASM_TYPE_DIRECTIVE with .type.
62186         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62187         * sysdeps/i386/sysdep.h: Likewise.
62188         * sysdeps/x86_64/sysdep.h: Likewise.
62189         * sysdeps/sh/sysdep.h: Likewise.
62190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
62191         Do not define ASM_TYPE_DIRECTIVE.
62192         * sysdeps/powerpc/sysdep.h: Likewise.
62193         * sysdeps/powerpc/powerpc32/sysdep.h:
62194         Replace ASM_TYPE_DIRECTIVE with .type.
62195         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62196         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62197         * sysdeps/i386/fpu/e_powf.S: Likewise.
62198         * sysdeps/i386/fpu/e_expl.S: Likewise.
62199         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
62200         * sysdeps/i386/fpu/e_acosh.S: Likewise.
62201         * sysdeps/i386/fpu/e_pow.S: Likewise.
62202         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
62203         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
62204         * sysdeps/i386/fpu/s_expm1.S: Likewise.
62205         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
62206         * sysdeps/i386/fpu/e_log2.S: Likewise.
62207         * sysdeps/i386/fpu/e_log2l.S: Likewise.
62208         * sysdeps/i386/fpu/e_scalb.S: Likewise.
62209         * sysdeps/i386/fpu/e_powl.S: Likewise.
62210         * sysdeps/i386/fpu/e_log10f.S: Likewise.
62211         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
62212         * sysdeps/i386/fpu/e_logl.S: Likewise.
62213         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
62214         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
62215         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
62216         * sysdeps/i386/fpu/e_log2f.S: Likewise.
62217         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
62218         * sysdeps/i386/fpu/e_log.S: Likewise.
62219         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
62220         * sysdeps/i386/fpu/e_logf.S: Likewise.
62221         * sysdeps/i386/fpu/e_log10l.S: Likewise.
62222         * sysdeps/i386/fpu/e_atanh.S: Likewise.
62223         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
62224         * sysdeps/i386/fpu/e_log10.S: Likewise.
62225         * sysdeps/i386/fpu/s_frexp.S: Likewise.
62226         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
62227         * sysdeps/i386/fpu/s_asinh.S: Likewise.
62228         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
62229         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
62230         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
62231         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
62232         * sysdeps/i386/i686/strtok.S: Likewise.
62233         * sysdeps/i386/i386-mcount.S: Likewise.
62234         * sysdeps/i386/strtok.S: Likewise.
62235         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
62236         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62237         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62238         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62239         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
62240         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62241         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
62242         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
62243         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62244         * sysdeps/x86_64/_mcount.S: Likewise.
62245         * sysdeps/x86_64/strtok.S: Likewise.
62246         * sysdeps/sh/_mcount.S: Likewise.
62248 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62250         * libio/iofopen.c: Include <fcntl.h>.
62251         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
62252         (_IO_fopen64, fopen64): Define as aliases.
62253         * libio/iofopen64.c: Include <fcntl.h>.
62254         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
62255         Conditionalize body on this.
62256         * sysdeps/wordsize-64/iofopen.c: File removed.
62257         * sysdeps/wordsize-64/iofopen64.c: File removed.
62259 2012-08-01  Marek Polacek  <polacek@redhat.com>
62261         * libc/Makeconfig: Use elf in place of binfmt-subdir.
62262         Use dlfcn directly instead of a variable.
62263         (binfmt-subdir): Do not define.
62264         (dlfcn): Likewise.
62266 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
62268         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
62269         Remove all definitions.
62270         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
62271         <kernel-features.h>.
62272         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62273         (miss_F_GETOWN_EX): Remove all definitions.
62274         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
62275         macro definition.
62276         [!__ASSUME_FCNTL64]: Remove conditional code.
62277         [__ASSUME_FCNTL64]: Make code unconditional.
62278         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
62279         <kernel-features.h>.
62280         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
62281         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
62282         (lockf64) [__NR_fcntl64]: Make code unconditional.
62283         (lockf64) [__ASSUME_FCNTL64]: Likewise.
62285         * sysdeps/unix/sysv/linux/kernel-features.h
62286         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
62287         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
62288         Make code unconditional.
62289         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62290         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
62292         [__NR_vfork]: Make code unconditional.
62293         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62294         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
62296         [__NR_vfork]: Make code unconditional.
62297         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
62298         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
62300 2012-08-01  Roland McGrath  <roland@hack.frob.com>
62302         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
62303         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
62305         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62306         Define mkstemp64 as an alias.
62307         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62308         Define mkstemps64 as an alias.
62309         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62310         Define mkostemp64 as an alias.
62311         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
62312         Define mkostemps64 as an alias.
62313         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
62314         Conditionalize body on this.
62315         * misc/mkostemp64.c: Likewise.
62316         * misc/mkostemps64.c: Likewise.
62317         * misc/mkstemps64.c: Likewise.
62318         * sysdeps/wordsize-64/mkstemp64.c: File removed.
62319         * sysdeps/wordsize-64/mkostemp64.c: File removed.
62320         * sysdeps/wordsize-64/mkostemp.c: File removed.
62321         * sysdeps/wordsize-64/mkstemp.c: File removed.
62322         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
62323         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
62324         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
62325         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
62327         [BZ #14138]
62328         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
62329         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
62330         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
62331         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
62333         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
62334         compat_symbol macros from <shlib-compat.h> rather than the underlying
62335         default_symbol_version and symbol_version macros, so that DEFAULT
62336         lines in shlib-versions are respected.
62337         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
62339 2012-08-01  Florian Weimer  <fweimer@redhat.com>
62341         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
62342         Declare with warn_unused_result.
62343         (setgid, setregid, setegid, setresgid): Likewise.
62344         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
62345         Likewise.
62346         * WUR-REPORT: Remove set*id functions.
62348 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
62350         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
62352 2012-07-31  Roland McGrath  <roland@hack.frob.com>
62354         [BZ #10191]
62355         * include/sys/socket.h (__libc_accept, __libc_accept4):
62356         Add attribute_hidden.
62357         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
62359         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
62360         use of PTR_MANGLE.
62361         * inet/getnetgrent_r.c (setup): Likewise.
62363         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
62365 2012-07-31  David S. Miller  <davem@davemloft.net>
62367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62369 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
62371         [BZ #13629]
62372         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
62373         value between 1.0 and 2.0 and smaller part has absolute value less
62374         than 1.0.
62375         * math/s_clog10.c (__clog10): Likewise.
62376         * math/s_clog10f.c (__clog10f): Likewise.
62377         * math/s_clog10l.c (__clog10l): Likewise.
62378         * math/s_clogf.c (__clogf): Likewise.
62379         * math/s_clogl.c (__clogl): Likewise.
62380         * math/libm-test.inc (clog_test): Add more tests.
62381         (clog10_test): Likewise.
62382         * sysdeps/i386/fpu/libm-test-ulps: Update.
62383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62385 2012-07-31  Florian Weimer  <fweimer@redhat.com>
62387         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
62388         Exit with zero in case no suitable GID is found, and write a
62389         message to standard error.
62391 2012-07-30  Roland McGrath  <roland@hack.frob.com>
62393         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
62394         rather than to 1.
62395         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
62396         (MAXPATHLEN): Removed.
62397         (NOGROUP, NODEV): New macros.
62398         (setbit, clrbit, isset, isclr): New macros.
62399         (howmany, roundup, powerof2): New macros.
62400         (DEV_BSIZE): New macro.
62402         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
62403         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
62405         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
62406         definition on [!__NO_LONG_DOUBLE_MATH].
62408         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
62409         PTR_MANGLE and PTR_DEMANGLE.
62411         * socket/accept4.c (accept4): Rename to __libc_accept4.
62412         Define accept4 as a weak alias.
62414         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
62415         on [_DIRENT_HAVE_D_TYPE].
62416         * io/ftw.c (ftw_dir): Likewise.
62418         * io/xmknod.c (__xmknod): Don't check PATH for being null.
62420         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
62422         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
62423         Use the BSD numbers rather than the arbitrary ones we had.
62424         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
62425         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
62426         (SIGXCPU, SIGXFSZ): New macros.
62427         (_NSIG): Now 32.
62429         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
62430         initializer on [_LIBC_REENTRANT].
62432         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
62433         definitions inside [_POSIX_MAPPED_FILES].
62435         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
62437         * dirent/opendir.c: Include <fcntl.h>.
62439         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
62440         (__libc_getspecific): Likewise.
62441         (__libc_key_create): Likewise.
62443         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
62444         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
62445         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
62446         (tmpfile64): Define as alias.
62447         * sysdeps/wordsize-64/tmpfile.c: File removed.
62448         * sysdeps/wordsize-64/tmpfile64.c: File removed.
62449         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
62450         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
62452         * stdio-common/vfscanf.c: Include <stdbool.h>.
62453         * nss/makedb.c: Likewise.
62454         * stdio-common/_i18n_number.h: Likewise.
62455         * argp/argp-help.c: Likewise.
62456         * posix/wordexp.c: Likewise.
62457         * sysdeps/posix/spawni.c: Likewise.
62458         * nss/nss_files/files-initgroups.c: Likewise.
62459         * stdio-common/reg-modifier.c: Include <stdlib.h>.
62460         * nss/nss_files/files-initgroups.c: Likewise.
62461         * nss/nss_db/db-netgrp.c: Likewise.
62462         * nss/nss_db/db-initgroups.c: Likewise.
62463         * io/fchmodat.c: Include <sys/stat.h>.
62465         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
62466         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
62468         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
62469         [HAVE_MMAP].
62471         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
62472         Add multiple inclusion protection.
62474 2012-07-27  David S. Miller  <davem@davemloft.net>
62476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62478 2012-07-27  Gary Benson  <gbenson@redhat.com>
62480         [BZ #14298]
62481         * elf/rtld.c: Include <stap-probe.h>.
62482         (dl_main): Added static probes "init_start" and "init_complete".
62483         * elf/dl-load.c: Include <stap-probe.h>.
62484         (lose): Take new parameter "nsid".
62485         Added static probe "map_failed".
62486         (_dl_map_object_from_fd): Pass namespace id to lose.
62487         Added static probe "map_start".
62488         (open_verify): Pass namespace id to lose.
62489         * elf/dl-open.c: Include <stap-probe.h>.
62490         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62491         and "reloc_complete".
62492         * elf/dl-close.c: Include <stap-probe.h>.
62493         (_dl_close_worker): Added static probes "unmap_start" and
62494         "unmap_complete".
62495         * elf/rtld-debugger-interface.txt: New file documenting the above.
62497 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62499         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62500         rather than a string variable.
62501         * sunrpc/rpc_main.c (h_output): Likewise.
62502         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62504 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62506         * inet/check_native.c: New file.
62508 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62510         [BZ #13629]
62511         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62512         if larger part has absolute value 1.0.
62513         * math/s_clog10.c (__clog10): Likewise.
62514         * math/s_clog10f.c (__clog10f): Likewise.
62515         * math/s_clog10l.c (__clog10l): Likewise.
62516         * math/s_clogf.c (__clogf): Likewise.
62517         * math/s_clogl.c (__clogl): Likewise.
62518         * math/libm-test.inc (clog_test): Add more tests.
62519         (clog10_test): Likewise.
62520         * sysdeps/i386/fpu/libm-test-ulps: Update.
62521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62523         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62524         (pltexit): Likewise.
62525         (La_regs): Likewise.
62526         (La_retval): Likewise.
62527         (int_retval): Likewise.
62528         Update #error for removed macros to refer only to definitions in
62529         tst-audit.h.
62530         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
62531         macro.
62532         (pltexit): Likewise.
62533         (La_regs): Likewise.
62534         (La_retval): Likewise.
62535         (int_retval): Likewise.
62536         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
62537         macro.
62538         (pltexit): Likewise.
62539         (La_regs): Likewise.
62540         (La_retval): Likewise.
62541         (int_retval): Likewise.
62542         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62543         macro.
62544         (pltexit): Likewise.
62545         (La_regs): Likewise.
62546         (La_retval): Likewise.
62547         (int_retval): Likewise.
62548         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62549         macro.
62550         (pltexit): Likewise.
62551         (La_regs): Likewise.
62552         (La_retval): Likewise.
62553         (int_retval): Likewise.
62554         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62555         macro.
62556         (pltexit): Likewise.
62557         (La_regs): Likewise.
62558         (La_retval): Likewise.
62559         (int_retval): Likewise.
62560         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62561         macro.
62562         (pltexit): Likewise.
62563         (La_regs): Likewise.
62564         (La_retval): Likewise.
62565         (int_retval): Likewise.
62566         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62567         macro definitions in tst-audit.h.
62568         * sysdeps/i386/tst-audit.h: New file.
62569         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62570         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62571         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62572         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62573         * sysdeps/sh/tst-audit.h: Likewise.
62574         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62575         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62576         * sysdeps/x86_64/tst-audit.h: Likewise.
62578 2012-07-26  Andreas Jaeger  <aj@suse.de>
62580         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62581         ptrace.
62583         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62584         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62585         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62586         PTRACE_O_MASK.
62587         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62588         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62589         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62591         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62592         value.
62594         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62595         _sigsys.
62596         (si_call_addr, si_syscall, si_arch): Define new macro.
62597         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62598         _sigsys.
62599         (si_call_addr, si_syscall, si_arch): Define new marcro.
62600         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62601         _sigsys.
62602         (si_call_addr, si_syscall, si_arch): Define new macro.
62603         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62604         _sigsys.
62605         (si_call_addr, si_syscall, si_arch): Define new macro.
62607 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62609         [BZ #13717]
62610         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62611         Change to 2.4.21 where previously 2.4.1.
62612         * sysdeps/unix/sysv/linux/configure: Regenerated.
62613         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62614         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62615         Linux kernel version.
62616         (__ASSUME_STD_AUXV): Remove.
62617         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62618         kernel version.
62619         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62620         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62621         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62622         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62623         (__ASSUME_NETLINK_SUPPORT): Likewise.
62624         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62625         (__no_netlink_support): Remove conditional definition.
62626         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62627         Remove.
62628         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62629         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62630         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62631         (if_nameindex_ioctl): Remove.
62632         (if_nameindex_netlink): Do not handle __no_netlink_support.
62633         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62634         code.
62635         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62636         Remove conditional code.
62637         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62638         code.
62639         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62640         unconditional.
62641         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62642         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62643         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62644         Remove.
62645         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62646         [!__ASSUME_STD_AUXV]: Remove conditional code.
62647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62648         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62649         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62651         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62652         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62653         code.
62654         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62656         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62657         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62658         conditional code.
62659         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62661         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62662         code.
62663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62664         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62665         conditional code.
62666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62667         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62668         code unconditional.
62669         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62670         conditional code.
62671         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62672         unconditional.
62673         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62674         conditional code.
62675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62676         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62677         unconditional.
62678         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62679         conditional code.
62680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62681         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62682         code unconditional.
62683         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62684         conditional code.
62685         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62686         unconditional.
62687         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62688         conditional code.
62689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62690         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62691         code unconditional.
62692         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62693         conditional code.
62694         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62695         unconditional.
62696         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62697         conditional code.
62699 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62701         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62702         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62703         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62704         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62705         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62706         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62707         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62708         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62709         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62710         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62711         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62712         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62713         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62714         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62715         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62716         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62717         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62718         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62719         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62720         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62721         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62722         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62723         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62725 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62727         * Versions.def: Add GLIBC_2.17.
62728         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62729         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62730         Introduce __libc_secure_getenv.
62731         * stdlib/Versions (2.17): Add secure_getenv
62732         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62733         * stdlib/secure-getenv.c: Rename __secure_getenv to
62734         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62735         symbol __secure_getenv for GLIBC_2.0.
62736         * stdlib/tst-secure-getenv.c: New.
62737         * stdlib/Makefile (tests): Add testcase.
62738         * manual/startup.texi (Environment Access): Document
62739         secure_getenv.
62740         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62741         __libc_secure_getenv.
62742         * inet/ruserpass.c (ruserpass): Likewise.
62743         * malloc/mtrace.c (mtrace): Likewise.
62744         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62745         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62746         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62747         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62748         HAVE_SECURE_GETENV.
62749         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62750         __secure_getenv to __libc_secure_getenv.
62751         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62753         Likewise.
62754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62755         Likewise.
62756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62758         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62764 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62766         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62767         (struct La_i86_retval): Likewise.
62768         (struct La_x86_64_regs): Likewise.
62769         (struct La_x86_64_retval): Likewise.
62770         (struct La_x32_regs): Likewise.
62771         (struct La_x32_retval): Likewise.
62772         (struct La_ppc32_regs): Likewise.
62773         (struct La_ppc32_retval): Likewise.
62774         (struct La_ppc64_regs): Likewise.
62775         (struct La_ppc64_retval): Likewise.
62776         (struct La_sh_regs): Likewise.
62777         (struct La_sh_retval): Likewise.
62778         (struct La_s390_32_regs): Likewise.
62779         (struct La_s390_32_retval): Likewise.
62780         (struct La_s390_64_regs): Likewise.
62781         (struct La_s390_64_retval): Likewise.
62782         (struct La_sparc32_regs): Likewise.
62783         (struct La_sparc32_retval): Likewise.
62784         (struct La_sparc64_regs): Likewise.
62785         (struct La_sparc64_retval): Likewise.
62786         (struct audit_ifaces): Remove architecture-specific pltenter and
62787         pltexit members.
62788         * sysdeps/i386/ldsodefs.h: New file.
62789         * sysdeps/powerpc/ldsodefs.h: Likewise.
62790         * sysdeps/s390/ldsodefs.h: Likewise.
62791         * sysdeps/sh/ldsodefs.h: Likewise.
62792         * sysdeps/sparc/ldsodefs.h: Likewise.
62793         * sysdeps/x86_64/ldsodefs.h: Likewise.
62795 2012-07-25  Marek Polacek  <polacek@redhat.com>
62797         [BZ #6808]
62798         * math/libm-test.inc (yn_test): Add another test.
62799         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62800         to ERANGE when the result is +-Inf.
62801         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62802         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62803         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62804         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62806 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62808         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62809         equal to 0.
62810         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62811         clock_t.
62812         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62814 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62816         * configure.in <sysdeps resolving>: Correct printing
62817         Implies_before.
62818         * configure: Regenerate.
62820 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62822         * math/w_ilogb.c: Include <limits.h>.
62823         * math/w_ilogbl.c: Likewise.
62825 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62827         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62828         va_copy.  Document allowing for unavailable va_copy only as
62829         pre-C99 compatibility.
62830         * manual/string.texi (Copying and Concatenation): Use va_copy
62831         instead of __va_copy in concat example.
62833 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62835         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62836         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62837         it if not null.
62839         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62840         with O_NOLINK passed to __file_name_lookup.
62842         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62843         with O_NOLINK passed to __file_name_lookup.
62845         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62846         negative N or less than NGIDS.
62848         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62849         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62850         enough.  Use memcpy instead of strncpy.
62852 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62854         * elf/Makefile (check-data): Remove.
62855         (localplt.data): New vpath directive.
62856         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62857         instead of $(check-data).
62858         * scripts/data/localplt-generic.data: Move to ...
62859         * sysdeps/generic/localplt.data: ... here.
62860         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62861         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62862         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62864         ... here.
62865         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62867         ... here.
62868         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62870         ... here.
62871         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62873         ... here.
62874         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62875         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62876         ... here.
62877         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62879         ... here.
62881 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62883         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62884         PPC32 and PPC64 files.
62885         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62886         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62888 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62890         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62891         __makecontext_ret to ...
62892         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62893         ... here and call exit if uc_link is NULL.  New file.
62894         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62895         __makecontext_ret.S.
62896         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62897         __makecontext_ret to ...
62898         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62899         ... here and call exit if uc_link is NULL.  New file.
62900         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62901         __makecontext_ret.S.
62903 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62905         * elf/elf.h (R_390_IRELATIVE): New definition.
62906         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62907         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62908         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62909         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62910         (elf_machine_lazy_rel): Likewise.
62911         * sysdeps/s390/dl-irel.h: New file.
62912         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62913         * sysdeps/s390/s390-64/memset.S: New asm code.
62914         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62915         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62916         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62917         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62918         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62919         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62920         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62921         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62922         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62923         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62924         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62925         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62926         * sysdeps/s390/s390-32/memset.S: New asm code.
62927         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62929 2012-07-17  Marek Polacek  <polacek@redhat.com>
62931         [BZ #14349]
62932         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62933         * sysdeps/s390/s390-64/configure.in: Likewise.
62934         * sysdeps/sparc/configure.in: Likewise.
62935         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62936         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62937         * sysdeps/i386/configure.in: Likewise.
62938         * sysdeps/x86_64/configure.in: Likewise.
62939         * sysdeps/sh/configure.in: Likewise.
62940         * sysdeps/s390/s390-32/configure: Regenerated.
62941         * sysdeps/s390/s390-64/configure: Likewise.
62942         * sysdeps/x86_64/configure: Likewise.
62943         * sysdeps/sh/configure: Likewise.
62944         * sysdeps/powerpc/powerpc64/configure: Likewise.
62945         * sysdeps/powerpc/powerpc32/configure: Likewise.
62946         * sysdeps/sparc/configure: Likwise.
62947         * sysdeps/i386/configure: Likewise.
62949         * elf/dl-open.c: Comment fixes.
62951 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62953         * Makefile [CXX] (check-data): Remove.
62954         [CXX] (c++-types.data): New vpath directive.
62955         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62956         vpath.  Do not allow for C++ type data being missing.
62957         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62958         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62959         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62960         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62961         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62962         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62963         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62965         ... here.
62966         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62968         ... here.
62969         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62971         ... here.
62972         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62974         ... here.
62975         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62977         ... here.
62978         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62980         ... here.
62981         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62983         ... here.
62984         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62987         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62988         definitions to architecture-specific files.
62989         (TLS_IE): Likewise.
62990         (TLS_LD): Likewise.
62991         (TLS_GD): Likewise.
62992         * sysdeps/i386/tls-macros.h: New file.
62993         * sysdeps/powerpc/tls-macros.h: Likewise.
62994         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62995         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62996         * sysdeps/sh/tls-macros.h: Likewise.
62997         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62998         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62999         * sysdeps/x86_64/tls-macros.h: Likewise.
63001 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63003         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
63004         zero value for regular exit case.
63006         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
63007         (__start_context): Preserve zero value for regular exit case.
63009 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
63010             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63012         * manual/setjmp.texi (setcontext): Clarify normal process
63013         termination when uc_link is the null pointer.
63014         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
63015         exit call.
63017 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
63019         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
63020         preprocessor.  Test for each exception mask separately.
63022 2012-07-16  Andreas Jaeger  <aj@suse.de>
63024         * po/ru.po: Update from translation team.
63026 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
63028         * conform/data/string.h-data (NULL): Use macro-constant.  Require
63029         equal to 0.
63030         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63031         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63032         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
63033         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
63034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63036 2012-07-13  Andreas Jaeger  <aj@suse.de>
63038         * po/fr.po: Update from translation team.
63040 2012-07-12  Marek Polacek  <polacek@redhat.com>
63042         [BZ #14173]
63043         * math/libm-test.inc (yn_test): Add test for BZ #14173.
63044         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
63045         loop condition.
63047 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
63049         [BZ #13717]
63050         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63051         Change to 2.4.1 where previously 2.4.0.
63052         * sysdeps/unix/sysv/linux/configure: Regenerated.
63053         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
63054         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
63055         version.
63056         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
63057         (__ASSUME_AT_CLKTCK): Remove.
63058         (__ASSUME_AT_PAGESIZE): Likewise.
63059         (__ASSUME_AT_XID): Likewise.
63060         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
63061         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
63062         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
63063         unconditionally.
63064         (HAVE_AUX_PAGESIZE): Likewise.
63065         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
63066         [__ASSUME_AT_CLKTCK]: Make code unconditional.
63067         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
63069 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
63071         [BZ #14307]
63072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
63073         the temporary buffer used to invoke __gethostbyname2_r,
63074         __gethostbyaddr_r and gethostbyname4_r to make room for struct
63075         host_data / struct gaih_addrtuple.
63076         * resolv/nss_dns/dns-host.c (global scope): Move definition of
63077         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
63078         header file nss/nsswitch.h.
63079         * nss/nsswitch.h (global scope): Add definition of implementation
63080         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
63081         resolv/nss_dns/dns-host.c).
63083 2012-07-11  Andreas Jaeger  <aj@suse.de>
63085         * po/fr.po: Update from translation team.
63087         * po/sv.po: Update from translation team
63088         * po/fr.po: Another update from translation team.
63090 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63092         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
63093         for subnormals or multiply small sinh result by itself.
63094         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63097 2012-07-11  David S. Miller  <davem@davemloft.net>
63099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63101 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
63103         [BZ #14347]
63104         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
63105         (INTERNAL_MARK): Shift it here.
63107 2012-07-10  Marek Polacek  <polacek@redhat.com>
63109         [BZ #14151]
63110         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
63111         libc_cv_asm_global_directive with .globl.
63112         * configure: Regenerated.
63113         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
63114         with .globl.
63115         * sysdeps/i386/configure: Regenerated.
63116         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
63117         with .globl.
63118         * sysdeps/x86_64/configure: Regenerated.
63119         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
63120         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
63121         * elf/tst-unique2mod2.c: Likewise.
63122         * elf/tst-unique2mod1.c: Likewise.
63123         * elf/tst-unique1mod2.c: Likewise.
63124         * elf/tst-unique1mod1.c: Likewise.
63125         * sysdeps/s390/s390-32/sysdep.h: Likewise.
63126         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63127         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63128         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63129         * sysdeps/mach/sysdep.h: Likewise.
63130         * sysdeps/i386/sysdep.h: Likewise.
63131         * sysdeps/i386/i386-mcount.S: Likewise.
63132         * sysdeps/x86_64/_mcount.S: Likewise.
63133         * sysdeps/x86_64/sysdep.h: Likewise.
63134         * sysdeps/sh/_mcount.S: Likewise.
63135         * sysdeps/sh/sysdep.h: Likewise.
63136         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
63137         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
63138         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
63139         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63140         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
63141         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
63142         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
63143         * locale/localeinfo.h: Likewise.
63144         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
63145         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
63147 2012-07-09  Roland McGrath  <roland@hack.frob.com>
63149         [BZ #14336]
63150         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
63151         system".
63152         * manual/message.texi (The Uniforum approach): Likewise.
63153         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
63154         (glibc iconv Implementation): Likewise.
63156 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
63158         [BZ #14337]
63159         * math/s_clog.c (__clog): Avoid scaling a value down where that
63160         could result in underflow.
63161         * math/s_clog10.c (__clog10): Likewise.
63162         * math/s_clog10f.c (__clog10f): Likewise.
63163         * math/s_clog10l.c (__clog10l): Likewise.
63164         * math/s_clogf.c (__clogf): Likewise.
63165         * math/s_clogl.c (__clogl): Likewise.
63166         * math/libm-test.inc (clog_test): Add more tests.
63167         (clog10_test): Likewise.
63168         * sysdeps/i386/fpu/libm-test-ulps: Update.
63169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63171 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
63173         [BZ #14283]
63174         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
63175         by 7 not 8 to examine high bit of fractional part.
63177         [BZ #14042]
63178         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
63179         for call to __mcount_internal.
63180         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
63181         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
63182         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
63184 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
63186         [BZ #14154]
63187         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
63188         approximation for values within 0x1p-13f of an odd multiple of
63189         pi/4.
63190         * math/libm-test.inc (tan_test): Do not allow spurious underflow
63191         exception.  Add more tests.
63192         * sysdeps/i386/fpu/libm-test-ulps: Update.
63194         [BZ #6778]
63195         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
63196         inputs and return -1 for them.  Do not check for +Inf in case not
63197         reachable for +Inf.
63198         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
63199         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
63200         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63201         and return -1 for them.  Do not check for +Inf in case not
63202         reachable for +Inf.
63203         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
63204         define.
63205         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
63206         and return -1 for them.  Do not check for +Inf in case not
63207         reachable for +Inf.
63208         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
63209         spurious underflow.
63210         * sysdeps/i386/fpu/libm-test-ulps: Update.
63211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63213 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
63215         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
63217 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
63219         [BZ #14157]
63220         [BZ #14331]
63221         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
63222         could result in spurious underflow.  Scale down values above
63223         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
63224         * math/s_csqrtf.c (__csqrtf): Likewise.
63225         * math/s_csqrtl.c (__csqrtl): Likewise.
63226         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
63227         spurious underflow.
63228         * sysdeps/i386/fpu/libm-test-ulps: Update.
63229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63231 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
63233         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
63234         xopen-msg.sed.
63235         * catgets/xopen-msg.awk: New file.
63236         * catgets/xopen-msg.sed: Removed.
63238         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
63239         po2text.sed.
63240         * intl/po2test.awk: New file.
63241         * intl/po2test.sed: Removed.
63243 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
63245         [BZ #14328]
63246         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
63247         or multiply small sinh result by itself.
63248         * math/s_ctanf.c (__ctanf): Likewise.
63249         * math/s_ctanh.c (__ctanh): Likewise.
63250         * math/s_ctanhf.c (__ctanhf): Likewise.
63251         * math/s_ctanhl.c (__ctanhl): Likewise.
63252         * math/s_ctanl.c (__ctanl): Likewise.
63253         * math/libm-test.inc (ctan_test_tonearest): New function.
63254         (ctan_test_towardzero): Likewise.
63255         (ctan_test_downward): Likewise.
63256         (ctan_test_upward): Likewise.
63257         (ctanh_test_tonearest): Likewise.
63258         (ctanh_test_towardzero): Likewise.
63259         (ctanh_test_downward): Likewise.
63260         (ctanh_test_upward): Likewise.
63261         (main): Call these new functions.
63262         * sysdeps/i386/fpu/libm-test-ulps: Update.
63263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63265 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
63267         * .gitignore: Delete /ports entry.
63269 2012-07-03  Andreas Jaeger  <aj@suse.de>
63271         * po/bg.po: Update from translation team.
63272         * po/cs.po: Likewise.
63273         * po/de.po: Likewise.
63274         * po/hr.po: Likewise.
63275         * po/nl.pl: Likewise.
63276         * po/pl.po: Likewise.
63277         * po/vi.po: Likewise.
63279 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
63281         * Makeconfig [!+link] (+link-before-libc): New variable.
63282         [!+link] (+link-after-libc): Likewise.
63283         [!+link] (+link-tests): Likewise.
63284         [!+link] (+link): Define in terms of $(+link-before-libc) and
63285         $(+link-after-libc).
63286         [!+link-static] (+link-static-before-libc): New variable.
63287         [!+link-static] (+link-static-after-libc): Likewise.
63288         [!+link-static] (+link-static-tests): Likewise.
63289         [!+link-static] (+link-static): Define in terms of
63290         $(+link-static-before-libc) and $(+link-static-after-libc).
63291         [build-shared] (link-libc-before-gnulib): New variable.
63292         [build-shared] (link-libc-tests): Likewise.
63293         [build-shared] (link-libc): Define in terms of
63294         $(link-libc-before-gnulib).
63295         [!build-shared] (link-libc-tests): New variable.
63296         (link-libc-static-tests): New variable.
63297         [!gnulib] (gnulib-arch): New variable.
63298         [!gnulib] (gnulib-tests): Likewise.
63299         [!gnulib] (static-gnulib-arch): Likewise.
63300         [!gnulib] (static-gnulib-tests): Likewise.
63301         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
63302         Define with "=" instead of ":=".
63303         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
63304         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
63305         * Rules (binaries-all-notests): New variable.
63306         (binaries-all-tests): Likewise.
63307         (binaries-static-notests): Likewise.
63308         (binaries-static-tests): Likewise.
63309         (binaries-all): Define using $(binaries-all-notests) and
63310         $(binaries-all-tests).
63311         (binaries-static): Define using $(binaries-static-notests) and
63312         $(binaries-static-tests).
63313         (binaries-shared-tests): New variable.
63314         (binaries-shared-notests): Likewise.
63315         (binaries-shared): Remove variable.
63316         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
63317         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
63318         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
63319         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
63320         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
63321         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
63322         * elf/Makefile (sln-modules): New variable.
63323         (extra-objs): Add $(sln-modules:=.o).
63324         (ldconfig-modules): Add static-stubs.
63325         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
63326         * elf/static-stubs.c: New file.
63328         [BZ #14283]
63329         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
63330         by 7 not 8 to examine high bit of fractional part.  Use volatile
63331         variables when splitting into final array of floats if
63332         __FLT_EVAL_METHOD__ != 0.
63333         * math/libm-test.inc (cos_test): Add another test.
63334         (sin_test): Likewise.
63335         * sysdeps/i386/fpu/libm-test-ulps: Update.
63337         [BZ #14273]
63338         * math/libm-test.inc (cosh_test): Add more tests.
63340         * version.h (RELEASE): Set to "development".
63341         (VERSION): Set to "2.16.90".
63343 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
63345         * NEWS: Update copyright. Remove last-updated date.
63346         Mention math library bug fixes and timezone data changes.
63347         * README: Mention GNU/Hurd, x32, and HPPA support status.
63349 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
63351         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
63353 2012-06-27  Andreas Jaeger  <aj@suse.de>
63355         * manual/contrib.texi (Contributors): Add Samuel Thibault.
63357 2012-06-25  Andreas Jaeger  <aj@suse.de>
63359         * sysdeps/s390/fpu/libm-test-ulps: Update.
63361 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
63362             Thomas Schwinge  <thomas@codesourcery.com>
63364         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
63365         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
63366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
63367         fanotify_mark.
63369 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
63371         * sysdeps/mach/start.c: Remove file.
63372         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
63373         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
63374         * sysdeps/sh/init-first.c: Likewise.
63376         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
63377         registers for frame unwinding purposes, add CFI directives.
63378         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63379         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
63380         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
63381         Likewise.
63383         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
63384         __fortify_fail returning.
63385         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
63387         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
63388         sysdeps/sh/____longjmp_chk.S.
63389         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
63390         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
63391         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
63392         (gen-as-const-headers): Append sigaltstack-offsets.sym.
63394         * sysdeps/sh/abort-instr.h: New file.
63395         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
63396         process in case exit returns.
63398         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
63399         initialize the GOT register before use.
63401         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
63402         calculation of ARGC > 4.
63404         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
63405         meaningful names to some local labels.
63407 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63408             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63410         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
63411         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
63412         (__arch_compare_and_exchange_val_16_acq): Likewise.
63413         (__arch_compare_and_exchange_val_32_acq): Likewise.
63414         (atomic_exchange_and_add): Fix gUSA sequence.
63415         (atomic_add): Likewise.
63416         (atomic_add_negative): Likewise.
63417         (atomic_add_zero): Likewise.
63418         (atomic_bit_test_set): Likewise.
63420 2012-06-22  Andreas Schwab  <schwab@redhat.com>
63422         [BZ #13579]
63423         * include/link.h (struct link_map): Add l_free_initfini.
63424         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
63425         l_initfini.
63426         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
63427         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
63428         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
63429         set.
63431 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
63433         * configure.in: Use AC_LANG_SOURCE.
63434         * configure: Regenerate.
63436 2012-06-22  Roland McGrath  <roland@hack.frob.com>
63438         * configure.in (libc_cv_localstatedir): New substituted variable.
63439         * configure: Regenerated.
63440         * config.make.in (localstatedir): New variable, substituted from
63441         libc_cv_localstatedir.
63442         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
63443         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
63444         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
63445         * sysdeps/gnu/configure: Regenerated.
63447 2012-06-21  Jeff Law  <law@redhat.com>
63449         [BZ #14277]
63450         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
63451         free.  Simplify list management for _LIBC case.
63453 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
63455         [BZ #14273]
63456         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
63457         Clear sign bit of 64-bit integer value before comparing against
63458         overflow value.
63460         * sysdeps/mach/configure: Regenerated.
63462 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
63464         [BZ #14278]
63465         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
63467 2012-06-21  Jeff Law  <law@redhat.com>
63469         [BZ #13882]
63470         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
63471         uint16_t for elements in the "seen" array to avoid char overflows.
63472         * elf/dl-fini.c (_dl_sort_fini): Likewise.
63473         * elf/dl-open.c (dl_open_worker): Likewise.
63475 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63477         * scripts/list-sources.sh: Scan PORTS for translations.
63478         * po/libc.pot: Regenerated.
63480 2012-06-21  Andreas Jaeger  <aj@suse.de>
63482         [BZ #12194]
63483         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63484         warning.
63485         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63486         * bits/byteswap-16.h (__bswap_16): Likewise.
63487         * bits/byteswap.h (__bswap_constant_16): Likewise.
63489 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63491         [BZ #14117]
63492         * sysdeps/i386/fpu_control.h: Removed.
63493         * sysdeps/x86_64/fpu_control.h: Moved to ...
63494         * sysdeps/x86/fpu_control.h: Here.
63496         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63497         (_FPU_SETCW): Likewise.
63499 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63501         [BZ #14117]
63502         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63503         * sysdeps/x86/fpu/bits/mathinline.h: This.
63504         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63506         [BZ #14050]
63507         [BZ #14117]
63508         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63509         functions if __x86_64__ is defined.
63511 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63513         * string/endian.h: Add !__ASSEMBLER__ condition for including
63514         conversion interfaces.
63516 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63518         [BZ #14241]
63519         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63520         of ABS(x) in calculating zero to negative powers other than odd
63521         integers.
63522         * math/libm-test.inc (pow_test): Add more tests.
63524 2012-06-15  Andreas Jaeger  <aj@suse.de>
63526         * manual/contrib.texi (Contributors): Update entry of Liubov
63527         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63528         Machado Filho.
63530 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63532         * string/string.h: Add __wur to GNU version of strerror_r.
63534 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63536         [BZ #14229]
63537         * string/Makefile (tests): Add tst-strtok_r.
63538         * string/tst-strtok_r.c: New file.
63539         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63540         RAX_LP/RDX_LP on SAVE_PTR.
63542 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63544         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63546 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63548         * libm_test.inc (csqrt_test): Allow more spurious underflow
63549         exceptions.
63550         (j0_test): Likewise.
63551         (j1_test): Likewise.
63552         (y0_test): Likewise.
63553         (y1_test): Likewise.
63555 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63557         * po/Makefile (libc.pot): Use UTF-8 charset.
63559 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63561         [BZ #14210]
63562         Suppress sign-conversion warning from FD_SET.
63563         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63564         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63565         not unsigned long int.
63566         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63568 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63570         [BZ #14050]
63571         [BZ #14117]
63572         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63573         __extern_always_inline instead of __extern_inline.
63574         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63575         (__signbit): Likewise.
63576         (__signbitl): Support C++ namespace.
63577         (lrintf): New inline function.
63578         (lrint): Likewise.
63579         (llrintf): Likewise.
63580         (llrint): Likewise.
63581         (fmaxf): Likewise.
63582         (fmax): Likewise.
63583         (fminf): Likewise.
63584         (fmin): Likewise.
63585         (rint): Likewise.
63586         (rintf): Likewise.
63587         (ceil): Likewise.
63588         (ceilf): Likewise.
63589         (floor): Likewise.
63590         (floorf): Likewise.
63591         (nearbyint): Likewise.
63592         (nearbyintf): Likewise.
63594 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63596         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63597         non-default versions.
63599 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63601         [BZ #14218]
63602         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63604 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63606         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63607         (FE_UPWARD, FE_DOWNWARD): Don't define.
63608         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63609         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63611         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63612         reading it.
63613         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63614         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63616 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63618         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63619         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63620         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63621         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63623 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63625         [BZ #14117]
63626         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63627         * sysdeps/i386/fpu/Implies: New file.
63628         * sysdeps/x86_64/fpu/Implies: Likewise.
63629         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63630         * sysdeps/x86/fpu/bits/fenv.h: This.
63632         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63633         __SSE_MATH__.
63635 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63637         [BZ #14134]
63638         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63639         character 0xffff that matches the last element of the
63640         conversion table.
63642 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63644         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63645         fmodl commit.
63647 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63650         values higher than 25.6283.
63652 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63655         subnormal exponent extraction and add some __builtin_expect.
63656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63657         Fix for subnormal mantissa calculation.
63659 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63661         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63662         cpu2 is -1 and errno is not ENOSYS.
63664 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63666         [BZ #14117]
63667         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63668         * sysdeps/x86/bits/string.h: This.
63669         * sysdeps/x86_64/bits/string.h: Removed.
63671         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63672         if not compiling for x86-64, but compiling for >= i486.
63674         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63675         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63677         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63678         New macro from Linux kernel 3.4.0.
63679         (FP_XSTATE_MAGIC2): Likewise.
63680         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63681         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63682         (struct _fpx_sw_bytes): New struct.
63683         (struct _xsave_hdr): Likewise.
63684         (struct _ymmh_state): Likewise.
63685         (struct _xstate): Likewise.
63687         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63688         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63689         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63690         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63691         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63692         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63694         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63695         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63696         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63697         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63698         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63699         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63701 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63703         [BZ #13743]
63704         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63705         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63706         (sysdep_headers): Include sys/platform/ppc.h.
63707         * sysdeps/powerpc/test-gettimebase.c: Test for
63708         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63709         * manual/Makefile (appendices): Include platform.texi.
63710         * manual/contrib.texi (Contributors): Update @node pointers.
63711         * manual/maint.texi (Maintenance): Likewise.
63712         (Platform): New node.
63713         * manual/platform.texi: New file.  Document the new features.
63715 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63716             Jakub Jelinek  <jakub@redhat.com>
63718         [BZ #14188]
63719         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63720         where __builtin_expect is unavailable.
63722 2012-06-03  David S. Miller  <davem@davemloft.net>
63724         * stdlib/longlong.h: Updated from GCC.
63726 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63728         [BZ #14042]
63729         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63730         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63731         __mcount_internal.
63732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63733         (GLIBC_2.16): Likewise.
63735 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63737         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63739 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63742         (default-abi): New variable.
63743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63744         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63745         variable.
63746         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63747         Likewise.
63748         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63749         Likewise.
63750         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63751         Likewise.
63753         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63754         definition.  Document in comment.
63756 2012-06-01  David S. Miller  <davem@davemloft.net>
63758         * stdlib/longlong.h: Updated from GCC.
63760 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63762         [BZ #14117]
63763         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63764         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63765         sys/debugreg.h sys/io.h here.
63766         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63767         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63768         sys/io.h.
63769         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63770         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63771         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63772         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63773         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63774         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63776         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63777         Define only if __x86_64__ is defined.
63779 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63781         [BZ #14048]
63782         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63783         Use int64_t for variable i.
63784         * math/libm-test.inc (fmod_test): Add more tests.
63786         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63787         z computation is not scheduled after fetestexcept.
63788         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63789         Use math_force_eval instead of asm to ensure calculation scheduled
63790         before exception test.
63791         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63792         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63794 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63797         computation is not scheduled after fetestexcept.
63799 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63801         [BZ #14117]
63802         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63803         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63805 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63807         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63808         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63810 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63812         [BZ #14117]
63813         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63814         <bits/wordsize.h>.
63815         (__WCHAR_MIN): Support __WORDSIZE == 64.
63816         (__WCHAR_MAX): Likewise.
63818         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63819         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63821         [BZ #14183]
63822         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63823         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63825         [BZ #14117]
63826         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63827         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63829         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63830         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63832         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63833         Defined to 1 if __x86_64__ isn't defined.
63834         (_STAT_VER_LINUX_OLD): New.
63835         (st_atime): Remove duplicate.
63836         (st_mtime): Likewise.
63837         (st_ctime): Likewise.
63839 2012-05-31  David S. Miller  <davem@davemloft.net>
63841         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63842         entries.
63844 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63846         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63847         gen-libm-test.pl.
63849         [BZ #14132]
63850         * elf/dl-reloc.c: Include <_itoa.h>.
63851         (_dl_reloc_bad_type): Remove use of INTUSE.
63852         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63853         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63854         * stdio-common/psiginfo.c (psiginfo): Likewise.
63855         * stdio-common/psignal.c (psignal): Likewise.
63856         * string/strsignal.c (strsignal): Likewise.
63857         * include/signal.h (_sys_siglist): Declare hidden proto.
63858         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63859         INTVARDEF with libc_hidden_data_def.
63860         * stdio-common/itoa-udigits.c: Likewise.
63861         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63862         (_itoa_lower_digits_internal): Remove declaration.
63863         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63864         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63865         (_sys_sigabbrev_internal): Remove aliases.
63866         (_sys_siglist): Define hidden alias.
63868 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63870         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63871         bits/sysctl.h.
63873 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63875         [BZ #14117]
63876         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63877         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63879         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63880         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63881         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63882         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63883         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63884         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63886         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63887         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63888         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63890         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63891         with __addr.
63892         (insw): Likewise.
63893         (insl): Likewise.
63894         (outsb): Likewise.
63895         (outsw): Likewise.
63896         (outsl): Likewise.
63898         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63899         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63900         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63902         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63903         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63904         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63905         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63906         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63907         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63909         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63910         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63912         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63913         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63915         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63916         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63917         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63919         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63920         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63921         to ...
63922         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63924         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63925         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63926         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63928         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63929         for x86-64.
63930         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63932 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63934         * math/math.h (M_El): Use two more decimal places.
63935         (M_LOG2El): Likewise.
63936         (M_LOG10El): Likewise.
63937         (M_LN2l): Likewise.
63938         (M_LN10l): Likewise.
63939         (M_PIl): Likewise.
63940         (M_PI_2l): Likewise.
63941         (M_PI_4l): Likewise.
63942         (M_1_PIl): Likewise.
63943         (M_2_PIl): Likewise.
63944         (M_2_SQRTPIl): Likewise.
63945         (M_SQRT2l): Likewise.
63946         (M_SQRT1_2l): Likewise.
63948 2012-05-31  David S. Miller  <davem@davemloft.net>
63950         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63951         values between float registers.
63952         * sysdeps/sparc/sparc64/memset.S: Likewise.
63953         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63955 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63957         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63958         -D_FORTIFY_SOURCE=1.
63959         (CPPFLAGS-tst-longjmp_chk.c): Define.
63960         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63961         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63962         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63963         CFLAGS-tst-wchar-h.c.
63965 2012-05-31  Marek Polacek  <polacek@redhat.com>
63967         [BZ #14132]
63968         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63969         __endmntent_internal): Remove declaration.
63970         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63971         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63972         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63974 2012-05-30  David S. Miller  <davem@davemloft.net>
63976         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63977         (___Q_simulate_exceptions): Use real FP ops rather than writing
63978         into the %fsr.
63979         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63980         Likewise.
63982 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63984         [BZ #14117]
63985         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63986         * sysdeps/x86/bits/xtitypes.h: This.
63988         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63989         * sysdeps/x86/bits/wordsize.h: This.
63991         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63992         * sysdeps/x86/bits/huge_vall.h: This.
63994         * sysdeps/i386/bits/select.h: Removed.
63995         * sysdeps/x86_64/bits/select.h: Renamed to ...
63996         * sysdeps/x86/bits/select.h: This.
63998         * sysdeps/i386/bits/setjmp.h: Removed.
63999         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
64000         * sysdeps/x86/bits/setjmp.h: This.
64002         * sysdeps/i386/bits/mathdef.h: Removed.
64003         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
64004         * sysdeps/x86/bits/mathdef.h: This.
64006 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
64008         [BZ #14132]
64009         * include/sys/socket.h (__connect_internal)
64010         (__libc_sa_len_internal): Remove declaration.
64011         (__connect, __libc_sa_len): Declare hidden_proto.
64012         (SA_LEN): Remove use of INTUSE.
64013         * socket/connect.c: Add libc_hidden_def.
64014         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
64015         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
64016         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
64017         alias.
64018         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
64019         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
64020         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
64021         of adding _internal alias.
64023 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64025         [BZ #14117]
64026         * sysdeps/i386/bits/link.h: Removed.
64027         * sysdeps/i386/bits/linkmap.h: Likewise.
64028         * sysdeps/x86_64/bits/link.h: Renamed to ...
64029         * sysdeps/x86/bits/link.h: This.
64030         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
64031         * sysdeps/x86/bits/linkmap.h: This.
64033         * sysdeps/i386/bits/endian.h: Removed.
64034         * sysdeps/x86_64/bits/endian.h: Renamed to ...
64035         * sysdeps/x86/bits/endian.h: This.
64037         * sysdeps/i386/bits/byteswap.h: Removed.
64038         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64039         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
64040         * sysdeps/x86/bits/byteswap.h: This.
64041         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
64042         * sysdeps/x86/bits/byteswap-16.h: This.
64043         * sysdeps/i386/Implies: Add x86.
64044         * sysdeps/x86_64/Implies: Likewise.
64046 2012-05-30  David S. Miller  <davem@davemloft.net>
64048         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
64049         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
64050         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
64051         (FP_TRAPPING_EXCEPTIONS): Define.
64052         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
64053         (FP_TRAPPING_EXCEPTIONS): Define.
64054         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
64055         subnormals only when inexact has been signalled or underflow
64056         exceptions are enabled.
64057         (_FP_PACK_CANONICAL): Likewise.
64059 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64061         [BZ #14183]
64062         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
64063         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
64065 2012-05-30  Richard Henderson  <rth@twiddle.net>
64067         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
64068         with #ifndef NOT_IN_libc.
64070         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
64071         marked to avoid plt entry.
64073 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
64075         [BZ #14112]
64076         * Makeconfig (default-abi): New macro.
64077         (abi-includes): Likewise.
64078         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
64079         $(abi-$(default-abi)-lib-soname) for soname if defined.
64080         ($(common-objpfx)gnu/lib-names.stmp): Generate from
64081         abi-variants.
64082         * Makefile (installed-stubs): Likewise.
64083         * include/stubs-biarch.h: Removed.
64084         * scripts/lib-names.awk: Only handle one library at a time.
64085         * scripts/soversions.awk: Remove WORDSIZE support.
64086         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
64087         entries.
64088         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
64089         Removed.
64090         (syscall-list-default-condition): Likewise.
64091         (syscall-list-default-condition): Likewise.
64092         (syscall-list-includes): Likewise.
64093         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
64094         syscall-list-* with abi-*.  Handle undefined abi-variants.
64095         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
64096         * sysdeps/unix/sysv/linux/i386/Implies: New file.
64097         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
64098         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
64099         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
64100         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
64101         Removed.
64102         (syscall-list-32-options): Likewise.
64103         (syscall-list-32-condition): Likewise.
64104         (syscall-list-64-options): Likewise.
64105         (syscall-list-64-condition): Likewise.
64106         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
64107         macro.
64108         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
64109         Renamed to ...
64110         (abi-*): This.
64111         (abi-64-ld-soname): New macro.
64112         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
64113         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
64114         Renamed to ...
64115         (abi-*): This.
64116         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
64117         * sysdeps/x86_64/x32/shlib-versions: Likewise.
64119 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
64121         * sysdeps/unix/sysv/linux/kernel-features.h
64122         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
64123         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
64124         include <kernel-features.h>.
64125         [!__NR_ftruncate64]: Remove conditional code.
64126         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64127         [__NR_ftruncate64]: Make code unconditional.
64128         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64129         * sysdeps/unix/sysv/linux/truncate64.c: Do not
64130         include <kernel-features.h>.
64131         [!__NR_ftruncate64]: Remove conditional code.
64132         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64133         [__NR_ftruncate64]: Make code unconditional.
64134         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
64136         include <kernel-features.h>.
64137         [!__NR_ftruncate64]: Remove conditional code.
64138         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64139         [__NR_ftruncate64]: Make code unconditional.
64140         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64142         include <kernel-features.h>.
64143         [!__NR_ftruncate64]: Remove conditional code.
64144         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64145         [__NR_ftruncate64]: Make code unconditional.
64146         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
64148         * configure.in (libc_cv_fpie): Weaken to a compile test using
64149         LIBC_TRY_CC_OPTION.
64150         * configure: Regenerated.
64152 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
64155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
64156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
64157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64158         Refreshed.
64159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
64160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
64161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
64162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
64163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
64164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64165         Refreshed.
64167 2012-05-27  David S. Miller  <davem@davemloft.net>
64169         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
64170         (___Q_zero): New.
64171         (__Q_simulate_exceptions): Return void.  Change to simulate
64172         exceptions by writing into the %fsr.
64173         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
64174         (__Qp_handle_exceptions): Likewise.
64175         (numbers): Delete.
64176         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
64177         __Qp_handle_exceptions.
64178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
64179         __Qp_handle_exceptions.
64180         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64181         as unused and give dummy FP_RND_NEAREST initializer.
64182         (FP_INHIBIT_RESULTS): Define.
64183         (___Q_simulate_exceptions): Update declaration.
64184         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
64185         formatting.
64186         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
64187         as unused and give dummy FP_RND_NEAREST initializer.
64188         (__Qp_handle_exceptions): Update declaration.
64189         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
64190         formatting.
64192 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
64194         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
64195         the temporary FPU control word.
64196         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
64197         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
64198         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
64199         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64200         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
64201         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
64202         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
64203         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64204         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
64205         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
64206         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64208 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64210         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
64211         fields.
64213 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
64215         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
64216         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
64217         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
64218         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
64219         Likewise.
64220         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
64221         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
64222         Likewise.
64224 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
64226         * po/h.po: Update from translation team.
64228 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
64230         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
64232         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
64233         handling of denormals.
64234         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
64235         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
64236         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
64237         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
64238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
64239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
64240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
64241         Likewise.
64243 2012-05-26  Marek Polacek  <polacek@redhat.com>
64245         [BZ #14152]
64246         * math/libm-test.inc (fma_test): Don't always expect underflow
64247         exception.
64249 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64251         [BZ #12416]
64252         * elf/tst-execstack.c: Include stackinfo.h.
64253         (do_test): Adjust test case to ensure that pthread_getattr_np
64254         behaviour remains the same after marking stack executable.
64256 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64258         * sysdeps/unix/sysv/linux/kernel-features.h
64259         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
64260         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
64261         kernel-features.h.
64262         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64263         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64264         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
64265         kernel-features.h.
64266         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
64267         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
64269 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
64271         * configure.in: Define the default includes to being none.
64272         * configure: Regenerated.
64274 2012-05-25  Roland McGrath  <roland@hack.frob.com>
64276         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
64277         * sysdeps/x86_64/setjmp.S: Likewise.
64278         * sysdeps/i386/bsd-setjmp.S: Likewise.
64279         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64280         * sysdeps/i386/setjmp.S: Likewise.
64281         * sysdeps/i386/__longjmp.S: Likewise.
64282         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64283         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
64285         * include/stap-probe.h: New file.
64286         * configure.in: Handle --enable-systemtap.
64287         * configure: Regenerated.
64288         * config.h.in (USE_STAP_PROBE): New #undef.
64289         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
64290         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
64291         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
64293 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
64295         [BZ #13717]
64296         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64297         to 2.4.0 where earlier.
64298         * sysdeps/unix/sysv/linux/configure: Regenerated.
64299         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64300         <kernel-features.h>.
64301         [__ASSUME_32BITUIDS]: Make code unconditional.
64302         [!__ASSUME_32BITUIDS]: Remove conditional code.
64303         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
64304         <kernel-features.h>.
64305         [__ASSUME_32BITUIDS]: Make code unconditional.
64306         [!__ASSUME_32BITUIDS]: Remove conditional code.
64307         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
64308         [__ASSUME_32BITUIDS]: Make code unconditional.
64309         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
64310         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
64311         <kernel-features.h>.
64312         [__ASSUME_32BITUIDS]: Make code unconditional.
64313         [!__ASSUME_32BITUIDS]: Remove conditional code.
64314         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
64315         <kernel-features.h>.
64316         [__ASSUME_32BITUIDS]: Make code unconditional.
64317         [!__ASSUME_32BITUIDS]: Remove conditional code.
64318         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
64319         <kernel-features.h>.
64320         [__ASSUME_32BITUIDS]: Make code unconditional.
64321         [!__ASSUME_32BITUIDS]: Remove conditional code.
64322         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
64323         <kernel-features.h>.
64324         [__ASSUME_32BITUIDS]: Make code unconditional.
64325         [!__ASSUME_32BITUIDS]: Remove conditional code.
64326         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64327         <kernel-features.h>.
64328         [__ASSUME_32BITUIDS]: Make code unconditional.
64329         [!__ASSUME_32BITUIDS]: Remove conditional code.
64330         * sysdeps/unix/sysv/linux/i386/getresuid.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/i386/getuid.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/i386/lchown.c: Do not include
64339         <kernel-features.h>.
64340         [__ASSUME_32BITUIDS]: Make code unconditional.
64341         [!__ASSUME_32BITUIDS]: Remove conditional code.
64342         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64343         <kernel-features.h>.
64344         [__ASSUME_32BITUIDS]: Make code unconditional.
64345         [!__ASSUME_32BITUIDS]: Remove conditional code.
64346         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
64347         <kernel-features.h>.
64348         [__ASSUME_32BITUIDS]: Make code unconditional.
64349         [!__ASSUME_32BITUIDS]: Remove conditional code.
64350         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
64351         <kernel-features.h>.
64352         [__NR_setresgid] (__setresgid): Do not declare.
64353         [__ASSUME_32BITUIDS]: Make code unconditional.
64354         [!__ASSUME_32BITUIDS]: Remove conditional code.
64355         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
64356         <kernel-features.h>.
64357         [__NR_setresuid] (__setresuid): Do not declare.
64358         [__ASSUME_32BITUIDS]: Make code unconditional.
64359         [!__ASSUME_32BITUIDS]: Remove conditional code.
64360         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
64361         <kernel-features.h>.
64362         [__ASSUME_32BITUIDS]: Make code unconditional.
64363         [!__ASSUME_32BITUIDS]: Remove conditional code.
64364         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
64365         <kernel-features.h>.
64366         [__ASSUME_32BITUIDS]: Make code unconditional.
64367         [!__ASSUME_32BITUIDS]: Remove conditional code.
64368         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
64369         <kernel-features.h>.
64370         [__ASSUME_32BITUIDS]: Make code unconditional.
64371         [!__ASSUME_32BITUIDS]: Remove conditional code.
64372         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
64373         <kernel-features.h>.
64374         [__ASSUME_32BITUIDS]: Make code unconditional.
64375         [!__ASSUME_32BITUIDS]: Remove conditional code.
64376         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
64377         <kernel-features.h>.
64378         [__ASSUME_32BITUIDS]: Make code unconditional.
64379         [!__ASSUME_32BITUIDS]: Remove conditional code.
64380         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
64381         <kernel-features.h>.
64382         [__ASSUME_32BITUIDS]: Make code unconditional.
64383         [!__ASSUME_32BITUIDS]: Remove conditional code.
64384         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
64385         <kernel-features.h>.
64386         [__ASSUME_32BITUIDS]: Make code unconditional.
64387         [!__ASSUME_32BITUIDS]: Remove conditional code.
64388         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
64389         <kernel-features.h>.
64390         [__ASSUME_32BITUIDS]: Make code unconditional.
64391         [!__ASSUME_32BITUIDS]: Remove conditional code.
64392         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
64393         <kernel-features.h>.
64394         [__ASSUME_32BITUIDS]: Make code unconditional.
64395         [!__ASSUME_32BITUIDS]: Remove conditional code.
64396         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64397         <kernel-features.h>.
64398         [__ASSUME_32BITUIDS]: Make code unconditional.
64399         [!__ASSUME_32BITUIDS]: Remove conditional code.
64400         * sysdeps/unix/sysv/linux/kernel-features.h
64401         (__ASSUME_SETRESUID_SYSCALL): Remove.
64402         (__ASSUME_SETRESGID_SYSCALL): Likewise.
64403         (__ASSUME_32BITUIDS): Likewise.
64404         (__ASSUME_LDT_WORKS): Likewise.
64405         (__ASSUME_O_DIRECTORY): Likewise.
64406         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
64407         architecture but not kernel version.
64408         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
64409         (__ASSUME_MMAP2_SYSCALL): Likewise.
64410         (__ASSUME_STAT64_SYSCALL): Likewise.
64411         (__ASSUME_IPC64): Likewise.
64412         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
64413         <kernel-features.h>.
64414         [__ASSUME_32BITUIDS]: Make code unconditional.
64415         [!__ASSUME_32BITUIDS]: Remove conditional code.
64416         * sysdeps/unix/sysv/linux/opendir.c: Do not include
64417         <kernel-features.h>.
64418         [__ASSUME_O_DIRECTORY]: Make code unconditional.
64419         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
64420         132096]: Remove conditional code.
64421         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
64422         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64423         <kernel-features.h>.
64424         [__ASSUME_32BITUIDS]: Make code unconditional.
64425         [!__ASSUME_32BITUIDS]: Remove conditional code.
64426         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64427         <kernel-features.h>.
64428         [__ASSUME_32BITUIDS]: Make code unconditional.
64429         [!__ASSUME_32BITUIDS]: Remove conditional code.
64430         * sysdeps/unix/sysv/linux/setegid.c: Do not include
64431         <kernel-features.h>.
64432         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
64433         unconditional.
64434         (__setresgid): Do not declare.
64435         [__ASSUME_32BITUIDS]: Make code unconditional.
64436         [!__ASSUME_32BITUIDS]: Remove conditional code.
64437         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
64438         <kernel-features.h>.
64439         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
64440         unconditional.
64441         (__setresuid): Do not declare.
64442         [__ASSUME_32BITUIDS]: Make code unconditional.
64443         [!__ASSUME_32BITUIDS]: Remove conditional code.
64444         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64445         <kernel-features.h>.
64446         [__ASSUME_32BITUIDS]: Make code unconditional.
64447         [!__ASSUME_32BITUIDS]: Remove conditional code.
64448         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
64449         <kernel-features.h>.
64450         [__ASSUME_32BITUIDS]: Make code unconditional.
64451         [!__ASSUME_32BITUIDS]: Remove conditional code.
64453 2012-05-25  Richard Henderson  <rth@twiddle.net>
64455         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
64456         dl_hwcap to ifunc resolver.
64457         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
64458         elf_ifunc_invoke.
64459         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
64460         dl_hwcap to ifunc resolver.
64461         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
64463 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64465         [BZ #14153]
64466         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
64467         for |x| <= 2**-26, not 2**-57.
64468         * math/libm-test.inc (acos_test): Do not allow spurious underflow
64469         exception.
64471 2012-05-24  Jeff Law  <law@redhat.com>
64473         * stdio-common/Makefile (tests): Add bug25.
64474         * stdio-common/bug25.c: New test.
64476 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64478         [BZ #13576]
64479         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64480         multiple of MALLOC_ALIGNMENT in size.
64481         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64483 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64485         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64486         Require >= 256.
64487         (FILENAME_MAX): Use macro-int-constant.
64488         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64489         (_IOFBF): Use macro-int-constant.
64490         (_IOLBF): Likewise.
64491         (_IONBF): Likewise.
64492         (SEEK_CUR): Likewise.
64493         (SEEK_END): Likewise.
64494         (SEEK_SET): Likewise.
64495         (TMP_MAX): Likewise.
64496         (EOF): Use macro-int-constant.  Require < 0.
64497         (NULL): Use macro-constant.  Require == 0.
64498         (stdin): Require type to be FILE *.
64499         (stdout): Likewise.
64500         (stderr): Likewise.
64501         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64502         macro-int-constant.
64503         (EXIT_SUCCESS): Likewise.
64504         (NULL): Use macro-constant.  Require == 0.
64505         (RAND_MAX): Use macro-int-constant.
64506         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64507         [C99-based standards] (strtof): Require function.
64508         [C99-based standards] (strtold): Likewise.
64509         [C99-based standards] (strtoll): Likewise.
64510         [C99-based standards] (strtoull): Likewise.
64511         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64512         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64513         [ISO || ISO99 || ISO11] (math.h): Likewise.
64514         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64515         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64516         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64518 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64520         [BZ #14132]
64521         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64522         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64523         * intl/dgettext.c (DCGETTEXT): Likewise.
64524         * intl/gettext.c (DCGETTEXT): Likewise.
64525         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64526         * posix/regex_internal.h (gettext): Likewise.
64527         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64528         Remove declaration.
64529         * include/argz.h (__argz_count_internal)
64530         (__argz_stringify_internal): Remove declaration.
64531         (__argz_count, __argz_stringify): Declare hidden proto.
64532         * intl/dcgettext.c: Remove use of INTDEF.
64533         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64534         * string/argz-stringify.c: Likewise.
64535         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64536         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64537         Declare hidden proto.
64538         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64539         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64540         Declare hidden proto.
64541         * include/stdio.h (__asprintf_internal): Don't declare.
64542         (__asprintf): Don't define as macro.  Declare hidden proto.
64543         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64544         (__fsetlocking): Declare hidden proto.
64545         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64546         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64547         hidden proto.
64548         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64549         (_IO_setlinebuf): Remove use of INTUSE.
64550         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64551         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64552         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64553         Remove declaration.
64554         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64555         (_IO_do_flush): Remove use of INTUSE.
64556         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64557         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64558         (_IO_adjust_column, _IO_least_wmarker)
64559         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64560         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64561         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64562         (_IO_default_doallocate, _IO_wdefault_doallocate)
64563         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64564         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64565         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64566         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64567         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64568         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64569         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64570         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64571         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64572         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64573         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64574         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64575         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64576         proto.
64577         (_IO_flush_all_internal, _IO_adjust_column_internal)
64578         (_IO_default_uflow_internal, _IO_default_finish_internal)
64579         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64580         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64581         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64582         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64583         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64584         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64585         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64586         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64587         (_IO_file_close_internal, _IO_file_close_it_internal)
64588         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64589         (_IO_file_init_internal, _IO_file_attach_internal)
64590         (_IO_file_fopen_internal, _IO_file_read_internal)
64591         (_IO_file_sync_internal, _IO_file_seek_internal)
64592         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64593         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64594         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64595         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64596         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64597         (_IO_list_all_internal, _IO_link_in_internal)
64598         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64599         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64600         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64601         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64602         (_IO_do_write_internal, _IO_padn_internal)
64603         (_IO_getline_info_internal, _IO_getline_internal)
64604         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64605         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64606         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64607         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64608         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64609         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64610         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64611         with libc_hidden_ver, remove use of INTUSE.
64612         * libio/genops.c: Likewise.
64613         * libio/freopen.c: Likewise.
64614         * libio/freopen64.c: Likewise.
64615         * libio/iofclose.c: Likewise.
64616         * libio/iofdopen.c: Likewise.
64617         * libio/iofflush.c: Likewise.
64618         * libio/iofflush_u.c: Likewise.
64619         * libio/iofgets.c: Likewise.
64620         * libio/iofgets_u.c: Likewise.
64621         * libio/iofopen.c: Likewise.
64622         * libio/iofopncook.c: Likewise.
64623         * libio/iofread.c: Likewise.
64624         * libio/iofread_u.c: Likewise.
64625         * libio/ioftell.c: Likewise.
64626         * libio/iofwrite.c: Likewise.
64627         * libio/iogetline.c: Likewise.
64628         * libio/iogets.c: Likewise.
64629         * libio/iogetwline.c: Likewise.
64630         * libio/iopadn.c: Likewise.
64631         * libio/iopopen.c: Likewise.
64632         * libio/ioseekoff.c: Likewise.
64633         * libio/ioseekpos.c: Likewise.
64634         * libio/iosetbuffer.c: Likewise.
64635         * libio/iosetvbuf.c: Likewise.
64636         * libio/ioungetc.c: Likewise.
64637         * libio/ioungetwc.c: Likewise.
64638         * libio/iovdprintf.c: Likewise.
64639         * libio/iovsprintf.c: Likewise.
64640         * libio/iovsscanf.c: Likewise.
64641         * libio/memstream.c: Likewise.
64642         * libio/obprintf.c: Likewise.
64643         * libio/oldfileops.c: Likewise.
64644         * libio/oldiofclose.c: Likewise.
64645         * libio/oldiofdopen.c: Likewise.
64646         * libio/oldiofopen.c: Likewise.
64647         * libio/oldiopopen.c: Likewise.
64648         * libio/oldstdfiles.c: Likewise.
64649         * libio/putc.c: Likewise.
64650         * libio/setbuf.c: Likewise.
64651         * libio/setlinebuf.c: Likewise.
64652         * libio/stdfiles.c: Likewise.
64653         * libio/strops.c: Likewise.
64654         * libio/vasprintf.c: Likewise.
64655         * libio/vscanf.c: Likewise.
64656         * libio/vsnprintf.c: Likewise.
64657         * libio/vswprintf.c: Likewise.
64658         * libio/wfiledoalloc.c: Likewise.
64659         * libio/wfileops.c: Likewise.
64660         * libio/wgenops.c: Likewise.
64661         * libio/wmemstream.c: Likewise.
64662         * libio/wstrops.c: Likewise.
64663         * libio/__fpurge.c: Likewise.
64664         * libio/__fsetlocking.c: Likewise.
64665         * assert/assert.c: Likewise.
64666         * debug/fgets_chk.c: Likewise.
64667         * debug/fgets_u_chk.c: Likewise.
64668         * debug/fread_chk.c: Likewise.
64669         * debug/fread_u_chk.c: Likewise.
64670         * debug/gets_chk.c: Likewise.
64671         * debug/obprintf_chk.c: Likewise.
64672         * debug/vasprintf_chk.c: Likewise.
64673         * debug/vdprintf_chk.c: Likewise.
64674         * debug/vsnprintf_chk.c: Likewise.
64675         * debug/vsprintf_chk.c: Likewise.
64676         * malloc/mtrace.c: Likewise.
64677         * misc/error.c: Likewise.
64678         * misc/syslog.c: Likewise.
64679         * stdio-common/asprintf.c: Likewise.
64680         * stdio-common/fxprintf.c: Likewise.
64681         * stdio-common/getw.c: Likewise.
64682         * stdio-common/isoc99_fscanf.c: Likewise.
64683         * stdio-common/isoc99_scanf.c: Likewise.
64684         * stdio-common/isoc99_vfscanf.c: Likewise.
64685         * stdio-common/isoc99_vscanf.c: Likewise.
64686         * stdio-common/isoc99_vsscanf.c: Likewise.
64687         * stdio-common/printf-prs.c: Likewise.
64688         * stdio-common/printf_fp.c: Likewise.
64689         * stdio-common/printf_fphex.c: Likewise.
64690         * stdio-common/printf_size.c: Likewise.
64691         * stdio-common/putw.c: Likewise.
64692         * stdio-common/scanf.c: Likewise.
64693         * stdio-common/sprintf.c: Likewise.
64694         * stdio-common/tmpfile.c: Likewise.
64695         * stdio-common/vfprintf.c: Likewise.
64696         * stdio-common/vfscanf.c: Likewise.
64697         * stdlib/strfmon_l.c: Likewise.
64698         * sunrpc/openchild.c: Likewise.
64699         * sunrpc/xdr_stdio.c: Likewise.
64700         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64701         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64703 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64705         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64707         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64708         in the third column, to generate for the shared library an IFUNC
64709         that uses _dl_vdso_vsym.
64710         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64711         * Makeconfig (object-suffixes-noshared): New variable.
64713         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64714         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64715         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64716         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64718         [BZ #14132]
64719         * include/sys/time.h (__gettimeofday): Remove macro.
64720         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64721         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64722         Remove INTDEF.
64723         (__gettimeofday): Add libc_hidden_def.
64724         (gettimeofday): Add libc_hidden_weak.
64725         * sysdeps/mach/gettimeofday.c: Likewise.
64726         * sysdeps/posix/gettimeofday.c: Likewise.
64727         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64728         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64729         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64730         (__gettimeofday_internal): Remove strong_alias.
64731         (__gettimeofday): Add libc_hidden_def.
64732         (gettimeofday): Add libc_hidden_weak.
64733         * sysdeps/unix/syscalls.list (gettimeofday):
64734         Remove __gettimeofday_internal alias.
64736 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64737             H.J. Lu  <hongjiu.lu@intel.com>
64739         [BZ #12495]
64740         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64741         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64742         (largebin_index_32_big): New.
64743         (largebin_index): Use it for 16-byte alignment.
64744         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64745         correction with front_misalign.
64747 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64751         Likewise.
64752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64753         Likewise.
64754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64755         Likewise.
64756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64757         Likewise.
64758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64759         Likewise.
64760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64761         Likewise.
64762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64763         Likewise.
64764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64765         Likewise.
64766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64767         Likewise.
64768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64769         Likewise.
64770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64771         Likewise.
64772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64773         Likewise.
64775         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64776         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64778 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64780         [BZ #10846]
64781         [BZ #14036]
64782         * math/libm-test.inc (exp_test): Add test from bug 14036.
64783         (pow_test): Add test from bug 10846.
64785         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64786         and other flags.
64787         (special_function): Do not include flags in test name.
64788         (parse_args): Likewise.
64789         * sysdeps/i386/fpu/libm-test-ulps: Update.
64790         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64791         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64792         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64795         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64796         exceptions.
64797         * math/libm-test.inc ("Philosophy"): Update comment about
64798         exception testing.
64799         (UNDERFLOW_EXCEPTION): New macro.
64800         (UNDERFLOW_EXCEPTION_OK): Likewise.
64801         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64802         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64803         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64804         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64805         (INVALID_EXCEPTION_OK): Update value.
64806         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64807         (OVERFLOW_EXCEPTION_OK): Likewise.
64808         (IGNORE_ZERO_INF_SIGN): Likewise.
64809         (test_exceptions): Handle underflow exceptions.
64810         (acos_test): Update for underflow exception expectations.
64811         (cexp_test): Likewise.
64812         (clog_test): Likewise.
64813         (clog10_test): Likewise.
64814         (csqrt_test): Likewise.
64815         (ctan_test): Likewise.
64816         (ctanh_test): Likewise.
64817         (exp_test): Likewise.
64818         (exp10_test): Likewise.
64819         (exp2_test): Likewise.
64820         (expm1_test): Likewise.
64821         (fma_test): Likewise.
64822         (j0_test): Likewise.
64823         (jn_test): Likewise.
64824         (nexttoward_test): Likewise.
64825         (pow_test): Likewise.
64826         (scalbn_test): Likewise.
64827         (scalbln_test): Likewise.
64828         (tan_test): Likewise.
64829         (y1_test): Likewise.
64830         * sysdeps/i386/fpu/libm-test-ulps: Update.
64831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64833 2012-05-23  David S. Miller  <davem@davemloft.net>
64835         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64836         (__libc_sigaction): Remove unused local variables.
64838 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64840         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64842 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64844         mktime: avoid signed integer overflow
64845         * time/mktime.c (__mktime_internal): Do not mishandle the case
64846         where diff == INT_MIN.
64848         mktime: simplify computation of average
64849         * time/mktime.c (ranged_convert): Use new time_t_avg function
64850         instead of rolling our own (probably-slower) code.
64852         mktime: do not assume signed right shift propagates sign bit
64853         * time/mktime.c (isdst_differ): New static function.
64854         (__mktime_internal): No need to normalize tm_isdst now.
64855         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64856         tm_isdst values.
64858         mktime: merge another wrapv change from gnulib
64859         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64860         from some compilers.
64862         mktime: remove incorrect attempt at unusual arithmetics
64863         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64864         The code didn't really work on such machines anyway.
64865         (TYPE_MINIMUM): Assume two's complement.
64866         (twos_complement_arithmetic): Verify that long_int and time_t
64867         are two's complement (or unsigned, in the latter case).
64869         mktime: check signed shifts on long_int and time_t, too
64870         * time/mktime.c (SHR): Check that shifts work as desired
64871         on the types long_int and time_t too, as SHR is used on
64872         such types.
64874         mktime: do not assume 'long' is wide enough
64875         * time/mktime.c (verify): Move decl up.
64876         (long_int): New type.
64877         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64878         to remove assumption in the code that 'long' is wide enough to
64879         store year values.  This assumption is not true on x32 and on
64880         some non-glibc platforms.
64882         mktime: merge wrapv change from gnulib
64883         * time/mktime.c (WRAPV): New macro.
64884         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64885         (guess_time_tm, __mktime_internal): Do not assume that signed
64886         integer overflow wraps around; modern compilers generate code
64887         where this assumption is no longer valid.
64889 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64891         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64892         Replace "jmp L(pseudo_end)" with "ret".
64893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64894         Likewise.
64896 2012-05-23  Andreas Jaeger  <aj@suse.de>
64898         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64899         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64901 2012-05-23  Andreas Jaeger  <aj@suse.de>
64902             Maximilian Attems  <max@stro.at>
64904         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64905         New macros.
64907 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64909         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64910         code so that pseudo_end is just ret and the stack pointer is
64911         correct also for static library in error case.
64913 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64915         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64916         move to syscalls.list.
64917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64922         * manual/install.texi (Running make install): Do not mention Linux
64923         kernel version for which pt_chown is not needed.
64924         (Linux): Do not mention problems with nscd with 2.0 kernels.
64925         * INSTALL: Regenerated.
64927 2012-05-23  Andreas Jaeger  <aj@suse.de>
64929         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64930         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64931         macro.
64932         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64933         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64934         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64935         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64936         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64937         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64938         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64939         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64940         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64941         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64942         * sysdeps/unix/sysv/linux/bits/in.h
64943         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64945 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64947         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64948         (PREPARE_VERSION): Just use assert instead, it will be elided
64949         under [NDEBUG] anyway.
64951 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64953         * sysdeps/unix/sysv/linux/Makefile: Include
64954         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64955         (sysdep_routines): Remove sysctl.
64956         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64957         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64958         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64959         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64960         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64962 2012-05-22  Andreas Jaeger  <aj@suse.de>
64964         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64965         that pseudo_end is just ret and the stack pointer is correct also
64966         for static library in error case.
64968 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64970         [BZ #14122]
64971         * nss/nsswitch.c (defconfig_entries): New variable.
64972         (__nss_database_lookup): Don't leak defconfig entries.
64973         (nss_parse_service_list): Don't leak on error paths.
64974         (free_database_entries): New function.
64975         (free_defconfig): New function.
64976         (free_mem): Move common code to free_database_entries.
64978 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64980         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64981         Add arch_prctl.
64982         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64984         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64985         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64987         New macro.
64988         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64989         (INTERNAL_SYSCALL_TYPES): Likewise.
64990         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64991         (LOAD_REGS_TYPES_[1-6]): Likewise.
64992         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64993         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64995 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64997         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64998         copysignl for GLIBC_2_0.
64999         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
65000         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
65001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
65002         logbl for GLIBC_2_0.
65003         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
65004         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
65006 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65008         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
65009         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65011         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
65012         Use "neg %eax".
65014         * time/mktime.c: Update copyright years.
65016 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
65018         mktime: merge comment-quoting-style change from gnulib
65019         * time/mktime.c: Quote 'like this' in comments.
65020         The GNU coding standards suggest that we no longer quote `like this',
65021         as "`" and "'" are typically rendered asymmetrically nowadays.
65022         The typical gnulib style is to quote 'like this' when quoting
65023         code, and "like this" when quoting English.
65025         * time/mktime.c (compile-command): Add "-I.".
65027         mktime: merge mktime-internal.h change from gnulib
65028         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
65030         mktime: merge time_r change from gnulib
65031         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
65033         mktime: merge DEBUG change from gnulib
65034         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
65035         case system <time.h> has a #define.
65037         mktime: merge <sys/types.h> change from gnulib
65038         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
65039         since <time.t> is now guaranteed to define time_t.
65041         mktime: merge HAVE_CONFIG_H change from gnulib
65042         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
65044 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
65046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65047         Use "neg %eax".
65049         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
65050         __rlim_t cast.
65051         (struct rusage): Use anonymous union to pad each field to
65052         __syscall_slong_t.
65054 2012-05-21  David S. Miller  <davem@davemloft.net>
65056         * Makefules (o-iterator): Remove .s cases.
65057         (compile-command.s): Delete.
65058         (COMPILE.s): Delete.
65059         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
65061 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
65063         * configure.in (libc_cv_predef_stack_protector): Only consider
65064         "foobar" and "__stack_chk_fail" lines in libc_undefs.
65065         * configure: Regenerated.
65067 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
65070         New macro.  Use R*LP on int and pointer.
65071         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
65072         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
65073         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
65074         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
65076         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
65077         [__WORDSIZE_TIME64_COMPAT32] instead of
65078         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
65079         (struct utmp): Likewise.
65080         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
65081         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
65082         Renamed to ...
65083         (__WORDSIZE_TIME64_COMPAT32): This.
65084         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
65085         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
65086         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
65087         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
65088         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
65089         (__WORDSIZE_TIME64_COMPAT32): New macro.
65091 2012-05-21  Andreas Jaeger  <aj@suse.de>
65093         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
65094         only if [SHARED]. Add prototype for __wcschr_ia32.
65096 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65098         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
65099         of %rbp unmolested in the jmp_buf while mangling the low bits.
65100         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
65101         unmolested high bits of %rbp while demangling the low bits.
65102         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65104 2012-05-21  Andreas Jaeger  <aj@suse.de>
65106         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
65107         * sunrpc/svc_simple.c: Use it for registerrpc.
65108         * sunrpc/xcrypt.c: Use it for passwd2des.
65110         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
65112 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65114         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
65115         Don't define if [__SYSCALL_WORDSIZE != 32].
65116         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
65117         New macro.
65119 2012-05-21  Bruno Haible  <bruno@clisp.org>
65120             Andreas Jaeger  <aj@suse.de>
65122         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
65123         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
65124         inptr and inend for must_buffer_ch.
65125         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
65126         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
65127         * stdio-common/Makefile (tests): Remove bug15.
65128         (bug15-ENV): Remove macro.
65129         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
65130         anymore.
65132 2012-05-19  Andreas Jaeger  <aj@suse.de>
65133             Roland McGrath  <roland@hack.frob.com>
65135         * manual/contrib.texi: Completely rewritten. It contains now an
65136         alphabetical list of contributors and their contributions.
65138 2012-05-21  Richard Henderson  <rth@twiddle.net>
65140         * misc/getauxval.c (__getauxval): Use unsigned long int.
65141         * misc/sys/auxv.h: Include <sys/cdefs.h>.
65142         (getauxval): Use unsigned long int.
65144 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
65146         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65148 2012-05-21  Roland McGrath  <roland@hack.frob.com>
65150         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
65151         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
65152         __alignof__ (long double).
65154 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65158 2012-05-20  Richard Henderson  <rth@twiddle.net>
65160         * misc/getauxval.c: New file.
65161         * misc/sys/auxv.h: New file.
65162         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
65163         (routines): Add getauxval.
65164         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
65165         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
65166         * elf/dl-sysdep.c (_dl_auxv): Remove.
65167         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
65168         * elf/dl-support.c (_dl_auxv): New variable.
65169         (_dl_aux_init): Initialize it.
65170         * manual/startup.texi (Auxiliary Vector): New node.
65171         * sysdeps/generic/bits/hwcap.h: New file.
65172         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
65173         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
65174         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
65175         * sysdeps/sparc/sysdep.h: ... here.  Include it.
65176         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
65177         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
65178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65179         Update.
65180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
65181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
65182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
65183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
65184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
65186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
65187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
65189 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65193 2012-05-19  David S. Miller  <davem@davemloft.net>
65195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65197 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65199         [BZ #14123]
65200         * math/s_ccosh.c: Include <float.h>
65201         (__ccosh): Avoid internal overflow calculating sinh and cosh
65202         values before multiplying by sin and cos values.
65203         * math/s_ccoshf.c: Likewise.
65204         * math/s_ccoshl.c: Likewise.
65205         * math/s_csin.c: Likewise.
65206         * math/s_csinf.c: Likewise.
65207         * math/s_csinl.c: Likewise.
65208         * math/s_csinh.c: Likewise.
65209         * math/s_csinhf.c: Likewise.
65210         * math/s_csinhl.c: Likewise.
65211         * math/libm-test.inc (ccos_test): Add more tests.
65212         (ccosh_test): Likewise.
65213         (csin_test): Likewise.
65214         (csinh_test): Likewise.
65215         * sysdeps/i386/fpu/libm-test-ulps: Update.
65216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65218 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
65220         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
65221         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
65223         * sysdeps/x86_64/x32/_itoa.h: Add comment.
65225 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
65227         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
65228         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
65229         * sysdeps/powerpc/soft-fp/Versions: Likewise.
65230         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
65231         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
65232         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
65233         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
65234         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
65235         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
65236         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
65237         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
65238         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
65239         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
65240         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
65241         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
65242         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
65243         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
65244         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
65245         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
65246         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
65247         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
65248         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
65249         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
65250         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
65251         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
65252         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
65253         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
65254         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
65255         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
65256         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
65257         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
65259 2012-05-18  Andreas Jaeger  <aj@suse.de>
65261         * csu/.gitignore: Delete.
65263 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65265         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
65266         (timex): Use __syscall_slong_t.
65268 2012-05-18  Andreas Jaeger  <aj@suse.de>
65269             Carlos O'Donell  <carlos_odonell@mentor.com>
65271         * manual/install.texi (Configuring and compiling): Update
65272         description about files modified in the source directory.
65273         * INSTALL: Regenerated.
65275 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65277         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
65278         value.  Use "or" to set return value to -1.
65279         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
65280         negate return value.
65282 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65284         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
65285         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
65286         failure if the compiler has Graphite support disabled.
65287         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
65288         Likewise.
65289         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
65290         (CFLAGS-memmove.c): Likewise.
65291         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
65292         Likewise.
65294 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
65296         * sysdeps/x86_64/x32/_itoa.h: New file.
65298         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
65299         getdents system call only if kernel and user dirents have the
65300         same d_ino and d_off.
65302         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
65303         LLONG_MAX != LONG_MAX.
65304         (_itoa_word): Use _ITOA_WORD_TYPE on value.
65305         (_fitoa_word): Likewise.
65307         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
65308         years.
65309         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
65310         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
65311         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
65313         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
65314         include <bits/wordsize.h>.  Check __x86_64__ instead of
65315         __WORDSIZE.
65316         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
65317         if __x86_64__ is defined.  Use anonymous union on fpstate.
65319         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
65320         anonymous union.
65322 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
65324         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
65325         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
65326         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
65327         Refer to _rtld_local_ro instead of _rtld_global_ro.
65328         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
65329         Likewise.
65330         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
65331         Likewise.
65332         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
65333         Likewise.
65334         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
65335         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
65336         of _rtld_global, and rtld_progname instead of _dl_argv[0].
65338         [BZ #10882]
65339         * sysdeps/powerpc/powerpc32/dl-machine.c
65340         (__elf_machine_runtime_setup) [PROF]: Don't reference
65341         _dl_prof_resolve.
65343 2012-05-18  Andreas Jaeger  <aj@suse.de>
65345         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
65346         function only available for GCCs before 3.4 since GCC 3.4
65347         introduced a builtin.
65348         (lrint): Likewise.
65349         (llrintf): Likewise.
65350         (llrint): Likewise.
65351         (fmaxf): Likewise.
65352         (fmax): Likewise.
65353         (fminf): Likewise.
65354         (fmin): Likewise.
65355         (rint): Likewise.
65356         (rintf): Likewise.
65357         (nearbyint): Likewise.
65358         (nearbyintf): Likewise.
65359         (ceil): Likewise.
65360         (ceilf): Likewise.
65361         (floor): Likewise.
65362         (floorf): Likewise.
65364 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65366         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
65367         on both fields and cast pointer to __syscall_ulong_t.
65369         * bits/types.h (__fsword_t): New type.
65370         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
65371         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
65372         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65373         (__FSWORD_T_TYPE): Likewise.
65374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65375         (__FSWORD_T_TYPE): Likewise.
65376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65377         (__FSWORD_T_TYPE): Likewise.
65378         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
65379         (__FSWORD_T_TYPE): Likewise.
65380         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
65381         __SWORD_TYPE with __fsword_t.
65382         (statfs64): Likewise.
65384 2012-05-17  David S. Miller  <davem@davemloft.net>
65386         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
65388 2012-05-17  Andreas Jaeger  <aj@suse.de>
65390         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
65391         warning.
65393 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65395         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
65397 2012-05-17  Andreas Jaeger  <aj@suse.de>
65399         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
65400         when it is used.
65402 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65404         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
65406 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
65408         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
65409         * sysdeps/x86_64/tst-mallocalign1.c: New file.
65411 2012-05-17  Andreas Jaeger  <aj@suse.de>
65412             Carlos O'Donell  <carlos_odonell@mentor.com>
65414         [BZ #14059]
65415         * sysdeps/x86_64/multiarch/init-arch.h
65416         (bit_YMM_Usable): Rename to...
65417         (bit_AVX_Usable): ... this.
65418         (bit_FMA4_Usable): New macro.
65419         (bit_XMM_state): New macro.
65420         (bit_YMM_state): New macro.
65421         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
65422         [__ASSEMBLER__] (index_AVX_Usable): ... this.
65423         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
65424         (CPUID_OSXSAVE): New macro.
65425         (CPUID_AVX): New macro.
65426         (CPUID_FMA4): New macro.
65427         (index_YMM_Usable): Rename to...
65428         (index_AVX_Usable): ... this.
65429         (HAS_AVX): Use HAS_ARCH_FEATURE.
65430         (HAS_FMA4): Likewise.
65431         (HAS_YMM_USABLE): Remove.
65432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65433         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
65434         are present.
65435         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
65436         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
65437         * sysdeps/x86_64/multiarch/Makefile: Likewise.
65438         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
65439         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
65441 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
65443         * math/libm-test.c: Support platforms without multiple rounding modes.
65444         * math/bug-nextafter.c: Support platforms without FP exceptions.
65445         * math/bug-nexttoward.c: Likewise.
65446         * math/test-fenv.c: Likewise.
65447         * math/test-misc.c: Likewise.
65448         * stdlib/bug-getcontext.c: Likewise.
65450 2012-05-17  Andreas Jaeger  <aj@suse.de>
65452         * manual/examples/search.c (critter_cmp): Change signature to
65453         avoid warnings.
65454         * manual/string.texi (Collation Functions): Likewise.
65456 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65458         * bits/types.h: Fold copyright years.
65459         * bits/typesizes.h: Likewise.
65460         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
65461         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
65462         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
65463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
65464         * time/time.h: Likewise.
65466 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
65468         [BZ #208]
65469         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
65470         in instead of returning them.  Return void.
65471         (__libc_mallinfo): Accumulate over all arenas.
65472         (__malloc_stats): Adjust for change in int_mallinfo interface.
65474 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65476         [BZ #10375]
65477         * configure.in (NM): Add AC_CHECK_TOOL for it.
65478         (libc_extra_cflags): New substituted variable.
65479         Check for -fstack-protector being used implicitly.
65480         * configure: Regenerated.
65481         * config.make.in (config-extra-cflags): New variable,
65482         gets @libc_extra_cflags@.
65483         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65485         [BZ #10375]
65486         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65487         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65488         * configure: Regenerated.
65489         * config.make.in (CPPUNDEFS): New substituted variable.
65490         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65491         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65492         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65494 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65496         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65497         (mq_attr): Use __syscall_slong_t.
65499 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65501         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65502         Check __x86_64__ instead of __WORDSIZE.
65503         (_STAT_VER_LINUX): Likewise.
65504         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65505         __syscall_ulong_t and __syscall_slong_t.
65506         (stat64): Likewise.
65508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65510         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65512 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65514         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65516 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65518         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65519         __syscall_ulong_t.
65521         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65522         include <bits/wordsize.h>.  Check __x86_64__ instead of
65523         __WORDSIZE.
65524         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65525         defined.
65526         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65528         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65529         include <bits/wordsize.h>.  Check __x86_64__ instead of
65530         __WORDSIZE.
65531         (user_regs_struct): Use "__extension__ unsigned long long"
65532         instead of "unsigned long" if __x86_64__ is defined.
65533         (user): Likewise.  Pad after pointer field if __ILP32__ is
65534         defined.
65536 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65538         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65539         versions 5 to 9.
65540         * configure: Regenerated.
65541         * manual/install.texi (texinfo): Increase version requirement to
65542         4.5 or later.
65543         * INSTALL: Regenerated.
65545         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65549         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65551         * sysdeps/x86_64/x32/ffs.c: New file.
65553         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65554         __syscall_ulong_t.
65555         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65556         defined.  Use __syscall_ulong_t.
65557         (shminfo): Use __syscall_ulong_t.
65558         (shm_info): Likewise.
65560         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65561         __syscall_ulong_t.
65563         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65564         <bits/wordsize.h>.
65565         (msgqnum_t): Use __syscall_ulong_t.
65566         (msglen_t): Likewise.
65567         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65568         __syscall_ulong_t.
65570         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65571         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65573         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65575         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65576         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65578         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65579         __syscall_slong_t.
65581         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65582         include <bits/wordsize.h>.  Check __x86_64__ instead of
65583         __WORDSIZE.
65585         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65586         "unsigned long long int" if __x86_64__ is defined.
65587         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65589         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65590         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65591         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65593         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65594         <stdint.h>.
65595         (GET_PC): Cast to uintptr_t first.
65596         (GET_FRAME): Likewise.
65597         (GET_STACK): Likewise.
65599         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65600         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65601         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65602         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65603         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65604         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65605         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65606         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65607         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65608         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65609         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65610         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65611         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65612         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65613         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65614         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65615         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65616         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65617         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65618         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65619         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65620         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65621         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65622         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65623         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65624         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65625         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65626         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65627         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65629 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65631         * Makerules (+depfiles): Also collect depfiles from .oS in
65632         $(extra-objs).
65633         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65634         .oS, $(libnldbl-routines)).
65636         * Makerules (native-compile-mkdep-flags): Define.
65637         * sunrpc/Makefile (extra-objs): Add $(addprefix
65638         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65639         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65640         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65641         calling $(make-target-directory).
65643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65645         * bits/types.h (__snseconds_t): Removed.
65646         * time/time.h (struct timespec): Replace __snseconds_t with
65647         __syscall_slong_t.
65648         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65649         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65650         Likewise.
65651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65652         (__SNSECONDS_T_TYPE): Likewise.
65653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65654         (__SNSECONDS_T_TYPE): Likewise.
65655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65656         (__SNSECONDS_T_TYPE): Likewise.
65658 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65660         * sysdeps/mach/hurd/bits/typesizes.h
65661         (__SYSCALL_SLONG_TYPE): New macro.
65662         (__SYSCALL_ULONG_TYPE): Likewise.
65664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65666         * bits/types.h (__syscall_slong_t): New type.
65667         (__syscall_ulong_t): Likewise.
65669         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65670         (__SYSCALL_ULONG_TYPE): Likewise.
65671         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65672         (__SYSCALL_SLONG_TYPE): Likewise.
65673         (__SYSCALL_ULONG_TYPE): Likewise.
65674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65675         (__SYSCALL_SLONG_TYPE): Likewise.
65676         (__SYSCALL_ULONG_TYPE): Likewise.
65677         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65678         (__SYSCALL_SLONG_TYPE): Likewise.
65679         (__SYSCALL_ULONG_TYPE): Likewise.
65681 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65683         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65684         Add sigaltstack-offsets.sym.
65685         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65686         <sigaltstack-offsets.h>.
65687         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65688         longjmp_msg pointer.
65689         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65690         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65691         signal stack.
65692         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65694 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65696         * elf/stackguard-macros.h: Remove file.
65697         * sysdeps/generic/stackguard-macros.h: New file.
65698         * sysdeps/i386/stackguard-macros.h: Likewise.
65699         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65700         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65701         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65702         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65703         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65704         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65705         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65706         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65707         <elf/stackguard-macros.h>.
65709         [BZ #14109]
65710         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65711         __aligned__ in attribute.
65712         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65713         (gregset_t): Likewise.
65715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65717         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65718         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65719         * sysdeps/x86_64/x32/Implies-after: New file.
65721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65723         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65724         and access return value for _dl_profile_fixup.  Use R10_LP to
65725         load frame size.
65727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65729         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65733         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65734         * sysdeps/x86_64/x32/sysdep.h: New file.
65736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65738         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65739         * sysdeps/x86_64/setjmp.S: Likewise.
65741 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65743         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65744         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65745         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65746         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65747         remove unused global constant.
65749 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65751         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65752         include of <not-cancel.h>.
65754 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65756         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65758 2012-05-15  Jeff Law  <law@redhat.com>
65759             Andreas Jaeger  <aj@suse.de>
65761         [BZ #13594]
65762         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65763         out from...
65764         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65765         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65766         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65767         code changing __hst_map_handle.map.
65769 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65771         * configure.in (sysnames): Look for Implies-before and Implies-after
65772         files.
65773         * configure: Regenerated.
65775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65777         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65778         8-byte data alignment with LP_SIZE alignment.
65780 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65782         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65783         into R10_LP.
65785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65787         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65791         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65792         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65793         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65794         Likewise.
65795         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65799         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65800         (stackinfo_sub_sp): Likewise.
65802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65804         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65805         RAX_LP.
65807 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65809         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65810         into R*_LP.
65812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65814         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65815         sizes into R*_LP.
65817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65819         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65823         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65824         into R11_LP and load __x86_64_shared_cache_size_half into
65825         R8_LP.
65827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65829         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65830         R8_LP.
65832 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65835         logb for POWER7.
65836         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65837         logbf for POWER7.
65838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65839         logbl for POWER7.
65840         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65841         powerpc32/power7/fpu/s_logb.c via #include.
65842         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65843         powerpc32/power7/fpu/s_logbf.c via #include.
65844         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65845         powerpc32/power7/fpu/s_logbl.c via #include.
65847 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65849         * README.libm: Remove file.
65851 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65853         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65854         count for x32.  Use R*_LP and omit operand-size suffix.
65856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65858         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65859         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65860         * sysdeps/x86_64/x32/shlib-versions: New file.
65862 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65864         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65865         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65866         Use _dl_fatal_printf instead.
65868 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65870         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65871         set if not set by the user.  Do not allow for being unset.
65872         * sysdeps/unix/sysv/linux/configure: Regenerated.
65874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65876         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65877         the `q' suffix from lea and replace .quad with ASM_ADDR.
65879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65882         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65883         instead of $17.
65884         (PTR_DEMANGLE): Likewise.
65886 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65888         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65889         (LP_OP): Likewise.
65890         (ASM_ADDR): Likewise.
65891         (RAX_LP): Likewise.
65892         (RBP_LP): Likewise.
65893         (RBX_LP): Likewise.
65894         (RCX_LP): Likewise.
65895         (RDI_LP): Likewise.
65896         (RSI_LP): Likewise.
65897         (RSP_LP): Likewise.
65898         (R8_LP): Likewise.
65899         (R9_LP): Likewise.
65900         (R10_LP): Likewise.
65901         (R10_LP): Likewise.
65902         (R11_LP): Likewise.
65903         (R12_LP): Likewise.
65904         (R13_LP): Likewise.
65905         (R14_LP): Likewise.
65906         (R15_LP): Likewise.
65908 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65910         * sysdeps/x86_64/x32/dl-machine.h: New file.
65912 2012-05-14  Andreas Jaeger  <aj@suse.de>
65914         * manual/Makefile (subdir): Remove export of subdir.
65915         (all): Remove target.
65916         (.PHONY): Remove all from list.
65917         (mkinstalldirs): Remove.
65918         (.PHONY): Remove installdirs from list.
65919         ($(inst_infodir)/libc.info): Use make-target-directory.
65920         (installdirs): Remove.
65921         (subdir_%): Remove.
65922         (glibc-targets): Remove.
65923         (lib): Remove.
65924         (stubs): Remove.
65925         ($(objpfx)stubs ../po/manual.pot): Remove.
65926         ($(objpfx)stamp%): Remove.
65927         (make-target-directory): Remove.
65928         (subdir_install): Remove.
65929         (routines): Remove.
65930         (aux): Remove.
65931         (sources): Remove.
65932         (objects): Remove.
65933         (headers): Remove.
65935         [BZ #13750]
65936         * manual/.gitignore: Remove, it's not needed anymore.
65937         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65938         all files in it.
65939         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65940         directory.
65941         (texis): Renamed to $(objpfx)texis.
65942         (texis-path): New, contains path to generated files.
65943         (chapters.%): Use texis-path for complete path, add extra argument
65944         libc-texinfo.sh.
65945         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65946         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65947         (summary,texi, stamp-summary): Use complete path of
65948         files. Generate files in build dir.
65949         (dir-add.texi): Build in build dir.
65950         (libm-err.texi,stamp-libm-err): Likewise.
65951         (version.texi, stamp-version): Likewise.
65952         (.%c.texi): Likewise.
65953         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65954         (mostlyclean): Remove target.
65955         (realclean): Remove target.
65956         (generated): Add new variable with contents from mostlyclean and
65957         realclean, remove entries duplicated in common-mostlyclean, add
65958         stamp-libm-err and stamp-version.
65959         (generated-dirs): Add libc directory.
65960         ($(inst_infodir)/libc.info): Install files from build dir.
65962         * manual/install.texi (Configuring and compiling): Adjust since
65963         the info files are not part of the tar ball anymore.
65965 2012-05-14  Andreas Jaeger  <aj@suse.de>
65967         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65968         variable.
65970 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65972         [BZ #13717]
65973         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65974         to 2.2.0 where earlier.
65975         * sysdeps/unix/sysv/linux/configure: Regenerated.
65976         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65977         Remove conditional code.
65978         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65979         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65980         Remove conditional code.
65981         [!__NR_lchown]: Likewise.
65982         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65983         [__NR_lchown]: Likewise.
65984         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65985         comment referencing __ASSUME_LCHOWN_SYSCALL.
65986         * sysdeps/unix/sysv/linux/i386/sigaction.c
65987         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65988         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65989         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65990         Remove conditional code.
65991         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65992         (__protocol_available): Remove #if 0 code.
65993         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65994         conditional code.
65995         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65996         * sysdeps/unix/sysv/linux/kernel-features.h
65997         (__ASSUME_GETCWD_SYSCALL): Don't define.
65998         (__ASSUME_REALTIME_SIGNALS): Likewise.
65999         (__ASSUME_PREAD_SYSCALL): Likewise.
66000         (__ASSUME_PWRITE_SYSCALL): Likewise.
66001         (__ASSUME_POLL_SYSCALL): Likewise.
66002         (__ASSUME_LCHOWN_SYSCALL): Likewise.
66003         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
66004         non-SPARC.
66005         (__ASSUME_SIOCGIFNAME): Don't define.
66006         (__ASSUME_MSG_NOSIGNAL): Likewise.
66007         (__ASSUME_SENDFILE): Define unconditionally.
66008         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
66009         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
66010         conditional code.
66011         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
66012         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
66013         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66014         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66015         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
66016         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
66017         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
66018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
66019         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66020         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
66022         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66023         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
66025         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66026         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
66028         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66029         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
66031         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
66034         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
66035         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
66037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
66040         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66041         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66042         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
66043         Remove conditional code.
66044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66045         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66046         Remove conditional code.
66047         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66048         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
66049         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
66050         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66051         Remove conditional code.
66052         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66053         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
66054         Remove conditional code.
66055         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66056         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
66057         Remove conditional code.
66058         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66059         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
66060         Remove conditional code.
66061         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
66062         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
66063         Remove conditional code.
66064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66065         * sysdeps/unix/sysv/linux/sh/pwrite64.c
66066         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
66067         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
66068         * sysdeps/unix/sysv/linux/sigaction.c
66069         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66070         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66071         * sysdeps/unix/sysv/linux/sigpending.c
66072         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66073         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66074         * sysdeps/unix/sysv/linux/sigprocmask.c
66075         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66076         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66077         * sysdeps/unix/sysv/linux/sigsuspend.c
66078         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
66079         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
66080         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66081         (__libc_missing_rt_sigs): Remove.
66082         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
66083         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
66084         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
66085         Remove conditional code.
66086         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
66087         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
66088         return 1.
66089         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
66090         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
66091         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
66092         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
66094 2012-05-14  Andreas Jaeger  <aj@suse.de>
66096         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
66097         it's not used in glibc.
66098         (__coshm1): Likewise.
66099         (__acosh1p): Likewise.
66100         (__sgn): Likewise.
66102         * manual/string.texi (Copying and Concatenation): Add missing
66103         variable in concat example.
66104         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
66106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66108         [BZ #14103]
66109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
66110         __builtin_clzl with __builtin_clzll.
66112 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
66114         [BZ #14104]
66115         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
66116         libc_freeres_ptr.
66118 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66120         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
66121         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
66122         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
66123         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
66125 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
66127         * NEWS: Update ia64 info.
66129 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
66131         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
66132         used as bcopy.
66134 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
66136         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
66137         * sysdeps/unix/syscalls.list (dup3): Likewise.
66138         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
66139         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
66141 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66143         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
66144         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
66146 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
66148         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
66149         thread pointer.
66150         (TLS_IE): Use mov/add instead of movq/addq to load thread
66151         pointer.
66152         (TLS_GD_PREFIX): New.
66153         (TLS_GD): Use it.
66155 2012-05-11  David S. Miller  <davem@davemloft.net>
66157         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
66158         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
66159         (_FPU_SETCW): Likewise.
66161 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66163         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
66164         is 32-byte aligned.
66166 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
66168         [BZ #11837]
66169         * iconvdata/gb18030.c: Update tables.
66170         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
66171         characters specially.
66172         (BODY for TO_LOOP): Add encoding of missing ranges.
66174 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
66176         [BZ #13673]
66177         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
66178         * sysdeps/mach/hurd/dup3.c: Likewise.
66179         * sysdeps/mach/hurd/readlinkat.c: Likewise.
66180         * sysdeps/powerpc/memmove.c:: Likewise.
66182 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66184         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
66185         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
66187 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66189         * elf/elf.h (R_X86_64_RELATIVE64): New.
66190         (R_X86_64_NUM): Updated.
66191         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66192         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
66193         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
66194         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
66195         tst-quad1pie tst-quad2pie
66196         (modules-names): Add tst-quadmod1 tst-quadmod2.
66197         ($(objpfx)tst-quad1): New dependency.
66198         ($(objpfx)tst-quad2): Likewise.
66199         ($(objpfx)tst-quad1pie): Likewise.
66200         ($(objpfx)tst-quad2pie): Likewise.
66201         * sysdeps/x86_64/tst-quad1.c: New file.
66202         * sysdeps/x86_64/tst-quad1pie.c: New file.
66203         * sysdeps/x86_64/tst-quad2.c: Likewise.
66204         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
66205         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
66206         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
66207         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
66208         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
66210 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66212         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
66213         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
66214         * streams/stropts.h (t_scalar_t): Define type.
66216         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
66217         (_PATH_PRESERVE): Set to "/var/lib".
66218         (_PATH_RWHODIR): Set to "/var/spool/rwho".
66220         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
66221         instead of int.
66223         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
66224         if __dir_mkfile succeeded.
66226         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
66227         checking for _hurd_dtablesize.  Unlock it right after having
66228         finished _hurd_dtable allocation.
66230 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66232         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
66233         * sysdeps/mach/hurd/configure: Regenerated.
66234         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
66235         special-casing to...
66236         * sysdeps/gnu/configure.in: ... this new file.
66237         * sysdeps/unix/sysv/linux/configure: Regenerated.
66238         * sysdeps/gnu/configure: New generated file.
66240         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
66241         for Linux: use nsec instead of usec, as well as:
66242         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
66243         members of type struct timespec.
66244         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
66245         New macros.
66246         (struct stat64): Likewise.
66247         (_STATBUF_ST_NSEC): New macro.
66248         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
66250         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
66251         __strtoul_internal rather than strtoul.
66253 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66255         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
66256         and reject them.
66258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66260         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
66261         which preserves existing values.
66262         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
66264 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66266         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
66267         TIMEOUT values.  Return EINVAL for NFDS values either negative or
66268         greater than FD_SETSIZE.
66270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66272         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
66273         allocated, call __vm_protect to finish enabling the existing space, and
66274         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
66275         allocate the remainder.
66277 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66279         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
66280         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
66282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66284         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
66285         sysdeps/mach/hurd/readlink.c.
66287         * posix/tst-sysconf.c (posix_options): Only use
66288         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
66289         _POSIX_SYNCHRONIZED_IO when they are defined
66290         * sysdeps/mach/hurd/bits/posix_opt.h:
66291         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
66292         (_XOPEN_REALTIME): Undefine macro.
66293         (_XOPEN_REALTIME_THREADS): Undefine macro.
66294         (_XOPEN_SHM): Undefine macro.
66295         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
66296         macro to -1.
66297         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
66298         macro to -1.
66299         (_POSIX_ASYNC_IO): Undefine macro.
66300         (_POSIX_PRIORITIZED_IO): Undefine macro.
66301         (_POSIX_SPIN_LOCKS): Define macro to -1.
66303         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
66304         SA_NODEFER, SA_RESETHAND.
66305         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
66306         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
66307         F_DUPFD_CLOEXEC.
66309 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66311         * elf/Makefile (pldd-modules): Define unconditionally.
66313 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66315         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
66317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66319         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
66320         Return ENOENT when name is empty.
66321         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
66323 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66325         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
66327         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
66329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66331         Fix mlock in all cases except non-readable pages.
66332         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
66333         instead of VM_PROT_ALL as parameter to __vm_wire function.
66335         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
66336         (__mkdir): When path is `/', just fail with EEXIST.
66337         * sysdeps/mach/hurd/mkdirat.c: Likewise.
66339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66341         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
66342         <sys/uio.h> (for writev).
66343         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
66344         and <sys/param.h> (for MIN).
66346 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
66348         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
66349         REQUESTED_TIME.  Properly set the remaining time and return EINTR
66350         if interrupted.
66352 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66354         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
66355         Depend on against $(link-rpcuserlibs).
66357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66359         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
66360         (__libc_stack_end): Do not use attribute_relro.
66361         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
66362         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
66363         to libthread-provided value.
66364         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
66365         attribute_relro.
66367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66369         [BZ #3748]
66370         * bits/libc-lock.h (__libc_once_get): New macro.
66371         * sysdeps/mach/bits/libc-lock.h: Likewise.
66372         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
66373         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
66374         instead of using implementation details.
66376         * libio/fileops.c: Unconditionally include <kernel-features.h>.
66377         * libio/freopen.c: Likewise.
66378         * libio/freopen64.c: Likewise.
66379         * misc/syslog.c: Likewise.
66380         * nscd/connections.c: Likewise.
66381         * nscd/netgroupcache.c: Likewise.
66382         * sysdeps/posix/getcwd.c: Likewise.
66384 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66386         * math/w_ilogbf.c: Add #include <limits.h>.
66388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66390         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
66391         path instead of returning without unlocking.
66393         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
66394         immediate-write ioctls.
66395         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
66397 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66399         * sysdeps/mach/hurd/i386/init-first.c (init): Use
66400         __builtin_frame_address instead of making assumptions about the
66401         location of the return address relative to DATA.  Force early load of
66402         the return address.
66403         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
66404         __builtin_frame_address.
66406         dup3 for GNU Hurd.
66407         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
66408         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
66409         implement dup3 and do some further code clean-ups.
66410         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
66411         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
66413 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66415         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
66417         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
66418         HURD_CRITICAL_END around holding _hurd_dtable_lock.
66419         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
66420         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
66421         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
66422         d->port.lock.
66424         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
66425         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
66426         when handler == SIG_ERR, not when handler != SIG_ERR.
66428 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66430         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
66431         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
66432         definitions.
66434         accept4 for GNU Hurd.
66435         * include/sys/socket.h (__libc_accept4): New prototype.
66436         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
66437         to implement __libc_accept4.
66438         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
66439         __libc_accept4.
66440         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
66442         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
66443         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
66444         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
66445         signal-defines.sym.
66447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66449         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
66451 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
66453         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
66454         assertion on O_CLOEXEC flag.
66455         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
66456         * hurd/intern-fd.c: Likewise.
66457         * hurd/port2fd.c: Likewise.
66459 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66461         [BZ #3906]
66462         * bits/in.h (IPV6_PKTINFO): Define new macro.
66463         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
66465 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66467         [BZ #13954]
66468         [BZ #13955]
66469         [BZ #13956]
66470         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
66471         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66472         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
66473         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66474         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66475         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66476         * math/libm-test.inc (logb_test) : Additional logb tests.
66478 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66479             Andreas Jaeger  <aj@suse.de>
66481         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66482         * configure: Regenerated.
66483         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66484         * config.make.in (link-obsolete-rpc): New substituted variable.
66485         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66486         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66487         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66488         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66489         so that libc.a contains the symbols.
66490         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66491         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66492         * sunrpc/auth_none.c: Likewise.
66493         * sunrpc/auth_unix.c: Likewise.
66494         * sunrpc/authdes_prot.c: Likewise.
66495         * sunrpc/authuxprot.c: Likewise.
66496         * sunrpc/clnt_gen.c: Likewise.
66497         * sunrpc/clnt_perr.c: Likewise.
66498         * sunrpc/clnt_raw.c: Likewise.
66499         * sunrpc/clnt_simp.c: Likewise.
66500         * sunrpc/clnt_tcp.c: Likewise.
66501         * sunrpc/clnt_udp.c: Likewise.
66502         * sunrpc/clnt_unix.c: Likewise.
66503         * sunrpc/des_crypt.c: Likewise.
66504         * sunrpc/des_soft.c: Likewise.
66505         * sunrpc/get_myaddr.c: Likewise.
66506         * sunrpc/key_call.c: Likewise.
66507         * sunrpc/key_prot.c: Likewise.
66508         * sunrpc/netname.c: Likewise.
66509         * sunrpc/pm_getmaps.c: Likewise.
66510         * sunrpc/pm_getport.c: Likewise.
66511         * sunrpc/pmap_clnt.c: Likewise.
66512         * sunrpc/pmap_prot.c: Likewise.
66513         * sunrpc/pmap_prot2.c: Likewise.
66514         * sunrpc/pmap_rmt.c: Likewise.
66515         * sunrpc/publickey.c: Likewise.
66516         * sunrpc/rpc_cmsg.c: Likewise.
66517         * sunrpc/rpc_common.c: Likewise.
66518         * sunrpc/rpc_dtable.c: Likewise.
66519         * sunrpc/rpc_prot.c: Likewise.
66520         * sunrpc/rpc_thread.c: Likewise.
66521         * sunrpc/rtime.c: Likewise.
66522         * sunrpc/svc.c: Likewise.
66523         * sunrpc/svc_auth.c: Likewise.
66524         * sunrpc/svc_raw.c: Likewise.
66525         * sunrpc/svc_run.c: Likewise.
66526         * sunrpc/svc_tcp.c: Likewise.
66527         * sunrpc/svc_udp.c: Likewise.
66528         * sunrpc/svc_unix.c: Likewise.
66529         * sunrpc/svcauth_des.c: Likewise.
66530         * sunrpc/xcrypt.c: Likewise.
66531         * sunrpc/xdr.c: Likewise.
66532         * sunrpc/xdr_array.c: Likewise.
66533         * sunrpc/xdr_float.c: Likewise.
66534         * sunrpc/xdr_intXX_t.c: Likewise.
66535         * sunrpc/xdr_mem.c: Likewise.
66536         * sunrpc/xdr_rec.c: Likewise.
66537         * sunrpc/xdr_ref.c: Likewise.
66538         * sunrpc/xdr_sizeof.c: Likewise.
66539         * sunrpc/xdr_stdio.c: Likewise.
66541 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66543         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66544         change.  Update copyright years.
66546 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66548         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66550 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66551             Joseph Myers  <joseph@codesourcery.com>
66552             Paul Pluzhnikov  <ppluzhnikov@google.com>
66554         [BZ #14012]
66555         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66556         requiring rpcgen.
66557         [cross-compiling] (extra-libs): Likewise.
66558         [cross-compiling] (extra-libs-others): Likewise.
66559         [cross-compiling] (librpcsvc-routines): Likewise.
66560         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66561         [cross-compiling] (omit-deps): Likewise.
66562         (sunrpc-CPPFLAGS): New variable.
66563         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66564         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66565         (cross-rpcgen-objs): New variable.
66566         (extra-objs): Append $(cross-rpcgen-objs).
66567         ($(cross-rpcgen-objs)): New rule.
66568         ($(objpfx)cross-rpcgen): Likewise.
66569         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66570         comment.
66571         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66572         ($(objpfx)x%.stmp): Likewise.
66573         * sunrpc/proto.h [IS_IN_build] (_): Define.
66574         [IS_IN_build] (_libc_intl_domainname): Likewise.
66576 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66578         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66579         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66580         and R_X86_64_TPOFF64.
66582 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66584         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66585         sysdeps/unix/sysv/syscalls.list.
66586         (stime): Likewise.
66587         (utime): Likewise.
66588         * sysdeps/unix/sysv/syscalls.list: Remove file.
66590 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66592         [BZ #3440]
66593         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66594         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66595         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66596         (__LC_IDENTIFICATION): Make these macros useful in #if
66597         expressions, as required by C99.
66599 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66601         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66602         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66603         after this.
66605 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66607         * stdlib/longlong.h: Updated from GCC.
66609 2012-05-09  Andreas Jaeger  <aj@suse.de>
66611         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66612         default is first entry.
66613         (run_mode): Set type.
66614         (main): Remove informal message about syslog.
66615         (options): Fix typo.
66617         [BZ #14053]
66618         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66619         to asm.
66620         (lrint): Likewise.
66621         (llrintf): Likewise.
66622         (llrint): Likewise.
66623         (rint): Likewise.
66624         (rintf): Likewise.
66625         (nearbyint): Likewise.
66626         (nearbyintf): Likewise.
66628 2012-05-09  Andreas Jaeger  <aj@suse.de>
66629             Pedro Alves  <palves@redhat.com>
66631         * nscd/nscd.c (run_mode): Use enum.
66632         (main): Cleanup coding style issue.
66634 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66635             Andreas Jaeger  <aj@suse.de>
66637         * nscd/nscd.c (go_background): Replaced with...
66638         (run_mode): ... this.
66639         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66640         (options): Add -F --foreground.
66641         (main): Implement it.
66642         (parse_opt): Parse it.
66644 2012-05-09  Andreas Jaeger  <aj@suse.de>
66646         [BZ #14083]
66647         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66648         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66649         -Wconversion warning.
66650         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66651         Likewise.
66653 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66655         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66656         == 0.
66657         (LC_ALL): Use macro-int-constant.
66658         (LC_COLLATE): Likewise.
66659         (LC_CTYPE): Likewise.
66660         (LC_MESSAGES): Likewise.
66661         (LC_MONETARY): Likewise.
66662         (LC_NUMERIC): Likewise.
66663         (LC_TIME): Likewise.
66664         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66665         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66666         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66667         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66668         Specify type.
66669         [C99-based standards] (float_t): Expect type.
66670         [C99-based standards] (double_t): Expect type.
66671         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66672         type.
66673         [C99-based standards] (HUGE_VALL): Likewise.
66674         [C99-based standards] (INFINITY): Likewise.
66675         [C99-based standards] (NAN): Likewise.
66676         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66677         [C99-based standards] (FP_NAN): Likewise.
66678         [C99-based standards] (FP_NORMAL): Likewise.
66679         [C99-based standards] (FP_SUBNORMAL): Likewise.
66680         [C99-based standards] (FP_ZERO): Likewise.
66681         [C99-based standards] (FP_FAST_FMA): Use
66682         optional-macro-int-constant.  Specify type.  Require == 1.
66683         [C99-based standards] (FP_FAST_FMAF): Likewise.
66684         [C99-based standards] (FP_FAST_FMAL): Likewise.
66685         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66686         [C99-based standards] (FP_ILOGBNAN): Likewise.
66687         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66688         Specify type.
66689         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66690         [C99-based standards] (math_errhandling): Specify type.
66691         [ISO99 || ISO11] (signgam): Do not allow.
66692         [non-C99-based standards] (copysignf): Do not allow.
66693         [non-C99-based standards] (exp2f): Likewise.
66694         [non-C99-based standards] (log2f): Likewise.
66695         [non-C99-based standards] (modff): Allow.
66696         [non-C99-based standards] (erff): Do not allow.
66697         [non-C99-based standards] (erfcf): Likewise.
66698         [non-C99-based standards] (gammaf): Likewise.
66699         [non-C99-based standards] (hypotf): Likewise.
66700         [non-C99-based standards] (j0f): Likewise.
66701         [non-C99-based standards] (j1f): Likewise.
66702         [non-C99-based standards] (jnf): Likewise.
66703         [non-C99-based standards] (lgammaf): Likewise.
66704         [non-C99-based standards] (tgammaf): Likewise.
66705         [non-C99-based standards] (y0f): Likewise.
66706         [non-C99-based standards] (y1f): Likewise.
66707         [non-C99-based standards] (ynf): Likewise.
66708         [non-C99-based standards] (isnanf): Likewise.
66709         [non-C99-based standards] (acoshf): Likewise.
66710         [non-C99-based standards] (asinhf): Likewise.
66711         [non-C99-based standards] (atanhf): Likewise.
66712         [non-C99-based standards] (cbrtf): Likewise.
66713         [non-C99-based standards] (expm1f): Likewise.
66714         [non-C99-based standards] (ilogbf): Likewise.
66715         [non-C99-based standards] (log1pf): Likewise.
66716         [non-C99-based standards] (logbf): Likewise.
66717         [non-C99-based standards] (nextafterf): Likewise.
66718         [non-C99-based standards] (remainderf): Likewise.
66719         [non-C99-based standards] (rintf): Likewise.
66720         [non-C99-based standards] (scalbf): Likewise.
66721         [non-C99-based standards] (copysignl): Likewise.
66722         [non-C99-based standards] (exp2l): Likewise.
66723         [non-C99-based standards] (log2l): Likewise.
66724         [non-C99-based standards] (modfl): Allow.
66725         [non-C99-based standards] (erfl): Do not allow.
66726         [non-C99-based standards] (erfcl): Likewise.
66727         [non-C99-based standards] (gammal): Likewise.
66728         [non-C99-based standards] (hypotl): Likewise.
66729         [non-C99-based standards] (j0l): Likewise.
66730         [non-C99-based standards] (j1l): Likewise.
66731         [non-C99-based standards] (jnl): Likewise.
66732         [non-C99-based standards] (lgammal): Likewise.
66733         [non-C99-based standards] (tgammal): Likewise.
66734         [non-C99-based standards] (y0l): Likewise.
66735         [non-C99-based standards] (y1l): Likewise.
66736         [non-C99-based standards] (ynl): Likewise.
66737         [non-C99-based standards] (isnanl): Likewise.
66738         [non-C99-based standards] (acoshl): Likewise.
66739         [non-C99-based standards] (asinhl): Likewise.
66740         [non-C99-based standards] (atanhl): Likewise.
66741         [non-C99-based standards] (cbrtl): Likewise.
66742         [non-C99-based standards] (expm1l): Likewise.
66743         [non-C99-based standards] (ilogbl): Likewise.
66744         [non-C99-based standards] (log1pl): Likewise.
66745         [non-C99-based standards] (logbl): Likewise.
66746         [non-C99-based standards] (nextafterl): Likewise.
66747         [non-C99-based standards] (remainderl): Likewise.
66748         [non-C99-based standards] (rintl): Likewise.
66749         [non-C99-based standards] (scalbl): Likewise.
66750         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66751         [non-C99-based standards] (FP_*): Do not allow.
66752         [C99-based standards] (FP_*): Change to
66753         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66754         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66755         allow.
66756         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66757         (SIG_ERR): Likewise.
66758         [X/Open-based standards] (SIG_HOLD): Likewise.
66759         (SIG_IGN): Likewise.
66760         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66761         positive value.
66762         (SIGFPE): Likewise.
66763         (SIGILL): Likewise.
66764         (SIGINT): Likewise.
66765         (SIGSEGV): Likewise.
66766         (SIGTER): Likewise.
66767         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66768         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66769         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66770         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66771         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66772         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66773         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66774         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66775         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66776         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66777         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66778         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66779         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66780         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66781         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66782         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66783         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66784         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66785         [X/Open-based standards] (SIGTRAP): Likewise.
66786         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66787         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66788         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66789         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66790         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66791         allow.
66793 2012-05-08  Ian Wienand  <ianw@vmware.com>
66795         [BZ #14080]
66796         * time/tzset.c (__tzset_parse_tz): Update default rules for
66797         daylight time changes in the Energy Policy Act of 2005.
66799 2012-05-09  Andreas Jaeger  <aj@suse.de>
66801         [BZ #13983]
66802         * elf/ldconfig.c (parse_conf): Change string to make clear that
66803         ldconfig only issued a warning if ld.so.conf does not exist.
66805 2012-05-08  David S. Miller  <davem@davemloft.net>
66807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66808         movxtod instead of popping the value on the stack.
66810         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66812 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66814         * config.h.in: Add HAVE_ARM_PCS_VFP.
66816 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66818         [BZ #13979]
66819         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66820         checking but the checks are disabled for any reason.
66822 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66824         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66825         and ELF64_R_TYPE with ELFW(R_TYPE).
66827 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66829         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66830         (ulimit): Likewise.
66832         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66833         (settimeofday): Likewise.
66835 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66837         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66838         a struct th_u2 inside the union, and move tu_block/tu_code into
66839         a new th_u3 union of tu_block/tu_code inside of that.  Move
66840         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66841         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66842         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66843         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66844         (th_stuff): Change to th_u1.tu_stuff.
66845         (th_data): Define.
66846         (th_msg): Change to th_u1.th_u2.tu_data.
66848 2012-05-07  David S. Miller  <davem@davemloft.net>
66850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66852         [BZ #14074]
66853         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66854         (SETUP_PIC_REG): Use it.
66855         (SETUP_PIC_REG_LEAF): Use it.
66857 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66859         [BZ #13885]
66860         [BZ #13923]
66861         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66862         USE_AS_EXPM1L.
66863         (EXPL_FINITE): Likewise.
66864         (FLDLOG): Likewise.
66865         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66866         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66867         e_expl.S.
66868         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66869         USE_AS_EXPM1L.
66870         (EXPL_FINITE): Likewise.
66871         (FLDLOG): Likewise.
66872         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66873         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66874         e_expl.S.
66875         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66876         test of -max_value argument for long double.
66877         * sysdeps/i386/fpu/libm-test-ulps: Update.
66878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66880 2012-05-06  David S. Miller  <davem@davemloft.net>
66882         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66883         quad soft-float symbols whose references which are compiler
66884         generated.
66885         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66887 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66889         [BZ #13884]
66890         [BZ #13914]
66891         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66892         USE_AS_EXP10L.
66893         (EXPL_FINITE): Likewise.
66894         (FLDLOG): Likewise.
66895         (c0): Likewise.
66896         (c1): Likewise.
66897         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66898         Adjust comments for base varying.
66899         (__expl_finite): Change alias to EXPL_FINITE.
66900         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66901         e_expl.S.
66902         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66903         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66904         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66905         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66906         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66907         USE_AS_EXP10L.
66908         (EXPL_FINITE): Likewise.
66909         (FLDLOG): Likewise.
66910         (c0): Likewise.
66911         (c1): Likewise.
66912         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66913         Adjust comments for base varying.
66914         (__expl_finite): Change alias to EXPL_FINITE.
66915         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66916         tests for bugs.
66917         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66919         [BZ #14064]
66920         * math/libm-test.inc (check_float_internal): Correct ulp
66921         calculation for subnormal expected results.
66923 2012-05-06  Andreas Jaeger  <aj@suse.de>
66925         * Makeconfig (+math-flags): New, set to -frounding-math.
66926         (+cflags): Add +math-flags so that all of glibc gets compiled with
66927         it.
66929         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66931 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66933         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66934         Disable one test.
66936         [BZ #13787]
66937         [BZ #13922]
66938         [BZ #14036]
66939         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66940         (__ieee754_expl): Allow for and saturate large arguments.
66941         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66942         (u_threshold): Likewise.
66943         (__exp): Call __ieee754_exp before checking for overflow and
66944         underflow.
66945         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66946         (u_threshold): Likewise.
66947         (__expf): Call __ieee754_expf before checking for overflow and
66948         underflow.
66949         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66950         (u_threshold): Likewise.
66951         (__expl): Call __ieee754_expl before checking for overflow and
66952         underflow.
66953         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66954         (__ieee754_expl): Allow for and saturate large arguments.
66955         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66956         missing overflow exception on overflow.
66957         (expm1_test): Do not allow missing overflow exception on overflow.
66959         * sysdeps/i386/fpu/e_expl.c: Move to ...
66960         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66961         rather than using inline asm.
66962         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66963         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66964         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66966         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66967         (nice): Likewise.
66968         (poll): Likewise.
66969         (signal): Likewise.
66970         (time): Likewise.
66971         (times): Likewise.
66973 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66975         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66976         sysdeps/unix/common/syscalls.list.
66977         (fchmod): Likewise.
66978         (fchown): Likewise.
66979         (ftruncate): Likewise.
66980         (getrusage): Likewise.
66981         (gettimeofday): Likewise.
66982         (setpgid): Likewise.
66983         (setregid): Likewise.
66984         (setreuid): Likewise.
66985         (sigaction): Likewise.
66986         (truncate): Likewise.
66987         (vhangup): Likewise.
66988         * sysdeps/unix/common/syscalls.list: Remove file.
66989         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66990         * sysdeps/unix/sysv/linux/Implies: Likewise.
66992 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66994         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66996         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66997         Moved to ...
66998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66999         Here.
67000         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
67001         to ...
67002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
67003         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
67004         to ...
67005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
67006         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
67007         to ...
67008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
67009         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
67010         to ...
67011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
67012         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
67013         to ...
67014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
67015         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
67016         to ...
67017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
67018         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
67019         to ...
67020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
67021         Here.
67022         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
67023         to ...
67024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
67025         Here.
67026         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
67027         to ...
67028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
67029         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
67030         Moved to ...
67031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
67032         Here.
67033         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
67034         to ...
67035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
67037 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67039         * sysdeps/unix/common/bits/dirent.h: Remove file.
67040         * sysdeps/unix/common/bits/fcntl.h: Likewise.
67042         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
67043         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
67044         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
67045         * sysdeps/unix/bsd/isatty.c: Likewise.
67046         * sysdeps/unix/bsd/tcdrain.c: Likewise.
67047         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
67048         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
67050 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67052         [BZ #13563]
67053         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
67054         long double comparison inaccuracies.
67055         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
67056         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67058 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
67060         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
67061         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
67063 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
67065         [BZ #14049]
67066         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
67067         nonzero digits before rounding a hex value.
67068         * stdlib/tst-strtod.c (tests): Add another test.
67070 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67072         * sysdeps/s390/fpu/libm-test-ulps: Update.
67074 2012-05-03  Andreas Jaeger  <aj@suse.de>
67076         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
67077         does not get optimized out.
67078         (malloc_opt_barrier): New.
67080 2012-05-03  Andreas Jaeger  <aj@suse.de>
67081             Roland McGrath  <roland@hack.frob.com>
67083         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
67084         intermediate file deletion.
67085         (generated): Add .symlist files.
67087 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
67089         [BZ #13775]
67090         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
67091         Redirect under this condition.
67092         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67093         [__USE_GNU] (__dprintf_chk): Not under this condition.
67094         [__USE_GNU] (__vdprintf_chk): Likewise.
67095         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
67096         under this condition.
67097         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
67098         [__USE_XOPEN2K8] (dprintf): Define under this condition.
67099         [__USE_XOPEN2K8] (vdprintf): Likewise.
67100         [__USE_GNU] (__dprintf_chk): Not under this condition.
67101         [__USE_GNU] (__vdprintf_chk): Likewise.
67102         [__USE_GNU] (dprintf): Likewise.
67103         [__USE_GNU] (vdprintf): Likewise.
67105 2012-05-03  Roland McGrath  <roland@hack.frob.com>
67107         * elf/Makefile (common-generated): Set this instead of generated for
67108         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
67109         $(all-built-dso)-derived lists.
67111 2012-05-03  Andreas Jaeger  <aj@suse.de>
67113         * sysdeps/i386/fpu/libm-test-ulps: Update.
67115         * FAQ: Removed.
67116         * FAQ.in: Likewise.
67117         * scripts/gen-FAQ.pl: Likewise.
67118         * manual/install.texi (Installation): Point to online location of
67119         FAQ.
67120         * Makefile (files-for-dist): Remove FAQ.
67121         (FAQ): Remove.
67123 2012-05-02  Allan McRae  <allan@archlinux.org>
67125         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
67126         (LDFLAGS-reldepmod5.so): Likewise.
67127         (LDFLAGS-reldep6mod1.so): Likewise.
67128         (LDFLAGS-reldep6mod4.so): Likewise.
67129         (LDFLAGS-reldep8mod3.so): Likewise.
67130         (LDFLAGS-unload4mod1.so): Likewise.
67131         (LDFLAGS-unload4mod2.so): Likewise.
67132         (LDFLAGS-tst-initorder): Likewise.
67133         (LDFLAGS-tst-initordera2.so): Likewise.
67134         (LDFLAGS-tst-initordera3.so): Likewise.
67135         (LDFLAGS-tst-initordera4.so): Likewise.
67136         (LDFLAGS-tst-initorderb2.so): Likewise.
67137         (LDFLAGS-noload): Likewise.
67138         (LDFLAGS-next): Likewise.
67139         (LDFLAGS-order2mod1.so): Likewise.
67140         (LDFLAGS-order2mod2.so): Likewise.
67141         (LDFLAGS-tst-initorder2): Likewise.
67142         (LDFLAGS-tst-initorder2a.so): Likewise.
67143         (LDFLAGS-tst-initorder2b.so): Likewise.
67144         (LDFLAGS-tst-initorder2c.so): Likewise.
67145         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
67147 2012-05-02  David S. Miller  <davem@davemloft.net>
67149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67151 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
67153         [BZ #14055]
67154         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
67156 2012-05-02  Andreas Jaeger  <aj@suse.de>
67158         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
67159         since we manipulate rounding mode.
67160         (CPPFLAGS-test-idouble.c): Likewise.
67161         (CPPFLAGS-test-ifloat.c): Likewise.
67162         (CFLAGS-test-ldouble.c): Likewise.
67163         (CFLAGS-test-double.c): Likewise.
67164         (CFLAGS-test-float.c): Likewise.
67165         (CFLAGS-test-misc.c): Likewise.
67166         (CFLAGS-test-test-fenv.c): Likewise.
67168 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67170         [BZ #2550]
67171         [BZ #2570]
67172         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
67173         comparisons to determine direction to adjust input.
67175 2012-05-01  Roland McGrath  <roland@hack.frob.com>
67177         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
67178         output to the target.
67180         * scripts/localplt.awk: New file.
67181         * elf/Makefile ($(objpfx)check-localplt): Target removed.
67182         (check-localplt-CFLAGS): Variable removed.
67183         ($(all-built-dso:=.jmprel)): New static pattern rule.
67184         (generated): Add those targets.
67185         (localplt-built-dso): New variable.
67186         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
67188         * elf/check-localplt.c: File removed.
67190         * scripts/check-execstack.awk: New file.
67191         * elf/Makefile ($(objpfx)check-execstack): Target removed.
67192         (check-execstack-CFLAGS): Variable removed.
67193         ($(objpfx)check-execstack.h): Target removed.
67194         ($(objpfx)execstack-default): New target.
67195         (generated): Add that instead of check-execstack.h.
67196         ($(all-built-dso:=.phdr)): New static pattern rule.
67197         (generated): Add those targets.
67198         * elf/check-execstack.c: File removed.
67200         * scripts/check-textrel.awk: New file.
67201         * elf/Makefile ($(objpfx)check-textrel): Target removed.
67202         (check-textrel-CFLAGS): Variable removed.
67203         (all-built-dso): Use := to define.o
67204         ($(all-built-dso:=.dyn)): New static pattern rule.
67205         (generated): Add those targets.
67206         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
67207         * config.make.in (READELF): New substituted variable.
67208         * elf/check-textrel.c: File removed.
67210 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67212         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67213         allow.
67214         * conform/data/ctype.h-data [C99-based standards] (isblank):
67215         Expect function.
67216         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
67217         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
67218         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67219         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
67220         Specify type.  Require positive value.
67221         (EILSEQ): Likewise.
67222         (ERANGE): Likewise.
67223         [ISO || POSIX] (EILSEQ): Do not expect.
67224         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
67225         Specify type.  Require positive value.
67226         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
67227         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
67228         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
67229         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
67230         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
67231         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
67232         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
67233         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
67234         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
67235         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
67236         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
67237         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
67238         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
67239         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
67240         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
67241         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
67242         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
67243         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
67244         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
67245         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
67246         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
67247         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
67248         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
67249         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
67250         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
67251         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
67252         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
67253         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
67254         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
67255         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
67256         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
67257         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
67258         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
67259         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
67260         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
67261         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
67262         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
67263         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
67264         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
67265         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
67266         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
67267         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
67268         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
67269         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
67270         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
67271         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
67272         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
67273         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
67274         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
67275         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
67276         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
67277         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
67278         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
67279         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
67280         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
67281         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
67282         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
67283         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
67284         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
67285         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
67286         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
67287         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
67288         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
67289         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
67290         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
67291         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
67292         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
67293         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
67294         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
67295         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
67296         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
67297         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
67298         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
67299         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
67300         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
67301         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
67302         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
67303         Require >= 2.
67304         (FLT_ROUNDS): Expect as macro, not constant.
67305         (FLT_MANT_DIG): Use macro-int-constant.
67306         (DBL_MANT_DIG): Likewise.
67307         (LDBL_MANT_DIG): Likewise.
67308         (FLT_DIG): Likewise.
67309         (DBL_DIG): Likewise.
67310         (LDBL_DIG): Likewise.
67311         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
67312         (DBL_MIN_EXP): Likewise.
67313         (LDBL_MIN_EXP): Likewise.
67314         (FLT_MAX_EXP): Use macro-int-constant.
67315         (DBL_MAX_EXP): Likewise.
67316         (LDBL_MAX_EXP): Likewise.
67317         (FLT_MAX_10_EXP): Likewise.
67318         (DBL_MAX_10_EXP): Likewise.
67319         (LDBL_MAX_10_EXP): Likewise.
67320         (FLT_MAX): Use macro-constant.
67321         (DBL_MAX): Likewise.
67322         (LDBL_MAX): Likewise.
67323         (FLT_EPSILON): Use macro-constant.  Give upper bound.
67324         (DBL_EPSILON): Likewise.
67325         (LDBL_EPSILON): Likewise.
67326         (FLT_MIN): Likewise.
67327         (DBL_MIN): Likewise.
67328         (LDBL_MIN): Likewise.
67329         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
67330         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
67331         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
67332         [ISO11] (FLT_HAS_SUBNORM): Likewise.
67333         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
67334         [ISO11] (DBL_DECIMAL_DIG): Likewise.
67335         [ISO11] (FLT_DECIMAL_DIG): Likewise.
67336         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
67337         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
67338         [ISO11] (FLT_TRUE_MIN): Likewise.
67339         [ISO11] (LDBL_TRUE_MIN): Likewise.
67340         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67341         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
67342         (SCHAR_MIN): Use macro-int-constant.  Specify type.
67343         (SCHAR_MAX): Likewise.
67344         (UCHAR_MAX): Likewise.
67345         (CHAR_MIN): Likewise.
67346         (CHAR_MAX): Likewise.
67347         (MB_LEN_MAX): Use macro-int-constant.
67348         (SHRT_MIN): Use macro-int-constant.  Specify type.
67349         (SHRT_MAX): Likewise.
67350         (USHRT_MAX): Likewise.
67351         (INT_MAX): Likewise.
67352         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
67353         bound negative.
67354         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67355         bound with "U".
67356         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67357         bound with "L".
67358         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
67359         bound negative.  Suffix upper bound with "L".
67360         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
67361         bound with "UL".
67362         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
67363         Specify type.
67364         [C99-based standards] (LLONG_MAX): Likewise.
67365         [C99-based standards] (ULLONG_MAX): Likewise.
67366         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
67367         == 0.
67368         [ISO11] (max_align_t): Require type.
67369         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67371         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
67372         from $CFLAGS, without defining away __attribute__ calls.
67373         (checknamespace): Use $CFLAGS_namespace.
67375         * conform/conformtest.pl (@keywords): Only include C99 keywords
67376         for standards based on C99 or C11.
67378         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
67379         Disable tests.
67380         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
67381         UNIX98]: Likewise.
67383         * conform/conformtest.pl: Handle "macro-int-constant" and test for
67384         usability of symbols in #if.
67386         * conform/conformtest.pl: If macro or constant types start
67387         "promoted:", expect the symbol to be of the following type
67388         promoted by the integer promotions.
67390         * conform/conformtest.pl: Parse all "constant" and "macro" lines
67391         in one place.  Also handle "macro-constant".
67393         * conform/conformtest.pl: Only accept expected macro values with
67394         "==".  Parse all "macro" lines in one place.
67395         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
67397         * conform/conformtest.pl: Handle braced types on "constant" lines
67398         instead of handling "typed-constant".
67399         * conform/data/signal.h-data: Use "constant" instead of
67400         "typed-constant".
67402         * conform/conformtest.pl: Handle "optional-" at start of lines in
67403         one place rather than duplicating several cases.  Handle each
67404         format of "macro" line with initial "optional-".
67406         * conform/conformtest.pl: Only accept expected constant or
67407         optional-constant values with "==".  Parse all "constant" lines in
67408         one place.  Parse all "optional-constant" lines in one place.
67409         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
67410         * conform/data/fmtmsg.h-data: Likewise.
67411         * conform/data/netinet/in.h-data: Likewise.
67412         * conform/data/tar.h-data: Likewise.
67413         * conform/data/limits.h-data: Use "==" form on "constant" and
67414         "optional-constant" lines.
67416         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
67417         Use -std=c99 for XOPEN2K.
67418         (@knownproblems): Remove.
67419         (newtoken): Don't check %isknown.
67421         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
67422         Do not expect macro.
67423         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
67424         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
67425         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
67426         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
67427         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
67428         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
67429         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
67430         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
67431         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
67432         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
67433         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
67434         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
67435         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
67436         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
67437         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
67438         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
67439         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
67440         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
67441         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
67442         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
67443         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
67444         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
67445         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
67446         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
67447         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
67448         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
67449         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
67450         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
67451         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
67452         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
67453         [XPG3] (acosh): Likewise.
67454         [XPG3] (asinh): Likewise.
67455         [XPG3] (atanh): Likewise.
67456         [XPG3] (cbrt): Likewise.
67457         [XPG3] (expm1): Likewise.
67458         [XPG3] (ilogb): Likewise.
67459         [XPG3] (log1p): Likewise.
67460         [XPG3] (logb): Likewise.
67461         [XPG3] (nextafter): Likewise.
67462         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
67463         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
67464         [XPG3] (remainder): Likewise.
67465         [XPG3] (rint): Likewise.
67466         [XPG3 || XPG4 || UNIX98] (round): Likewise.
67467         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
67468         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
67469         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
67470         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
67471         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
67472         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
67473         [UNIX98 || XOPEN2K] (scalb): Expect.
67474         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67475         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67476         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67477         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67478         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67479         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67480         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67481         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67482         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67483         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67484         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67485         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67486         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67487         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67488         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67489         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67490         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67491         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67492         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67493         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67494         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67495         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67496         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67497         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67498         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67499         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67500         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67501         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67502         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67503         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67504         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67505         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67506         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67507         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67508         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67509         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67510         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67511         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67512         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67513         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67514         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67515         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67516         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67517         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67518         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67519         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67520         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67521         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67522         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67523         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67524         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67525         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67526         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67527         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67528         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67529         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67530         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67531         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67532         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67533         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67534         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67535         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67536         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67537         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67538         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67539         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67540         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67541         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67542         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67543         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67544         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67545         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67546         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67547         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67548         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67549         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67550         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67551         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67552         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67553         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67554         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67555         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67556         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67557         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67558         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67559         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67560         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67561         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67562         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67563         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67564         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67565         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67566         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67567         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67568         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67569         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67570         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67571         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67572         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67573         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67574         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67575         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67576         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67577         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67578         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67579         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67580         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67581         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67582         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67583         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67584         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67585         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67586         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67587         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67588         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67589         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67590         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67591         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67592         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67593         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67594         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67595         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67596         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67597         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67598         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67599         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67600         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67601         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67602         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67603         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67604         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67605         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67606         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67607         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67608         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67609         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67610         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67612         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67613         _XOPEN_SOURCE_EXTENDED for XPG4.
67615         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67617         * Makeconfig (localtime): Remove variable.
67618         (inst_localtime-file): Likewise.
67620 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67623         Update.
67624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67625         Update.
67626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67627         Update.
67628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67629         Update.
67630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67631         Update.
67632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67633         Update.
67634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67635         Update.
67636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67637         Update.
67638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67639         Update.
67641 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67643         [BZ #2550]
67644         [BZ #2570]
67645         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67646         comparisons to determine direction to adjust input.
67647         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67648         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67649         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67650         Likewise.
67651         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67652         Likewise.
67653         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67654         Likewise.
67655         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67656         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67657         Likewise.
67658         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67659         Likewise.
67660         * math/libm-test.inc (nexttoward_test): Add more tests.
67662 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67664         [BZ #14040]
67665         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67666         in version GLIBC_2.1, not GLIBC_2.0.
67667         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67668         Likewise.
67670 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67672         [BZ #13942]
67673         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67674         (1 - x) * (1 + x).
67675         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67676         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67677         * math/libm-test.inc (acos_test): Add more tests.
67678         (asin_test): Likewise.
67679         * sysdeps/i386/fpu/libm-test-ulps: Update.
67680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67682         [BZ #14034]
67683         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67684         of square root.
67685         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67686         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67687         * math/libm-test.inc (acos_test_tonearest): New function.
67688         (acos_test_towardzero): Likewise.
67689         (acos_test_downward): Likewise.
67690         (acos_test_upward): Likewise.
67691         (asin_test_tonearest): Likewise.
67692         (asin_test_towardzero): Likewise.
67693         (asin_test_downward): Likewise.
67694         (asin_test_upward): Likewise.
67695         (main): Call the new functions.
67696         * sysdeps/i386/fpu/libm-test-ulps: Update.
67697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67699         [BZ #13884]
67700         [BZ #13924]
67701         * math/e_exp10.c: Include <float.h>.
67702         (__ieee754_exp10): Handle underflow here rather than multiplying
67703         large negative argument by M_LN10.
67704         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67705         of __ieee754_expf.
67706         * math/e_exp10l.c: Include <float.h>.
67707         (__ieee754_exp10l): Handle underflow here rather than multiplying
67708         large negative argument by M_LN10l.
67709         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67710         spurious overflow exception on underflow.
67712 2012-04-29  Marek Polacek  <polacek@redhat.com>
67714         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67715         (__fortify_function): New macro.
67716         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67717         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67718         __extern_always_inline.
67719         * libio/bits/stdio2.h: Likewise.
67720         * libio/bits/stdio.h: Likewise.
67721         * string/string.h: Likewise.
67722         * string/bits/string3.h: Likewise.
67723         * include/stdio.h: Likewise.
67724         * stdlib/bits/stdlib.h: Likewise.
67725         * stdlib/stdlib.h: Likewise.
67726         * rt/bits/mqueue2.h: Likewise.
67727         * rt/mqueue.h: Likewise.
67728         * posix/bits/unistd.h: Likewise.
67729         * posix/unistd.h: Likewise.
67730         * io/bits/poll2.h: Likewise.
67731         * io/bits/fcntl2.h: Likewise.
67732         * io/fcntl.h: Likewise.
67733         * io/sys/poll.h: Likewise.
67734         * misc/bits/syslog.h: Likewise.
67735         * misc/bits/syslog-ldbl.h: Likewise.
67736         * misc/sys/syslog.h: Likewise.
67737         * socket/bits/socket2.h: Likewise.
67738         * socket/sys/socket.h: Likewise.
67739         * debug/tst-chk1.c: Likewise.
67740         * wcsmbs/bits/wchar2.h: Likewise.
67741         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67742         * wcsmbs/wchar.h: Likewise.
67744 2012-04-29  Andreas Jaeger  <aj@suse.de>
67746         * Makerules (tests): Remove enable-check-abi protection.
67747         (check-abi-warn): Remove.
67748         (check-abi-%): Remove check-abi-warn usage.
67750         * configure.in: Remove check-abi configure option.
67751         * configure: Regenerated.
67752         * config.make.in (enable-check-abi): Remove.
67754 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67756         [BZ #14033]
67757         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67758         double functions to double *_finite functions.
67760         [BZ #13941]
67761         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67762         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67763         LDBL_MIN_EXP.
67764         * stdio-common/Makefile (tests): Add tst-sprintf3.
67765         * stdio-common/tst-sprintf3.c: New file.
67767         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67768         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67770 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67772         * conform/conformtest.pl: Remove duplicate typed-constant
67773         handling.
67775 2012-04-28  David S. Miller  <davem@davemloft.net>
67777         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67778         (check-abi-%): Remove AWK script prerequisite and explicit
67779         abilist directory.
67780         (check-abi): Rewrite to just diff the symlist with the abilist.
67781         (config-tls, config-abi-config): Delete, no longer used.
67782         (update-abi-%): Remove AWK script and explicit abilist directory.
67783         (update-abi): Rewrite to simply compare and conditionally copy the
67784         symlist and the sysdep abilist file.  Remove update-abi-config
67785         checks.
67786         * abilist/ld.abilist: Remove.
67787         * abilist/libBrokenLocale.abilist: Remove.
67788         * abilist/libanl.abilist: Remove.
67789         * abilist/libcrypt.abilist: Remove.
67790         * abilist/libdl.abilist: Remove.
67791         * abilist/librt.abilist: Remove.
67792         * abilist/libthread_db.abilist: Remove.
67793         * abilist/libutil.abilist: Remove.
67794         * scripts/extract-abilist.awk: Remove.
67795         * scripts/merge-abilist.awk: Remove.
67796         * sysdeps/generic/libcidn.abilist: New file.
67797         * sysdeps/generic/libnss_compat.abilist: New file.
67798         * sysdeps/generic/libnss_db.abilist: New file.
67799         * sysdeps/generic/libnss_dns.abilist: New file.
67800         * sysdeps/generic/libnss_files.abilist: New file.
67801         * sysdeps/generic/libnss_hesiod.abilist: New file.
67802         * sysdeps/generic/libnss_nis.abilist: New file.
67803         * sysdeps/generic/libnss_nisplus.abilist: New file.
67804         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67805         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67806         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67807         file.
67808         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67809         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67810         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67811         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67812         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67813         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67814         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67815         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67816         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67817         file.
67818         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67819         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67820         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67821         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67822         file.
67823         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67824         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67825         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67826         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67827         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67828         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67829         file.
67830         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67831         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67832         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67833         file.
67834         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67836         New file.
67837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67838         New file.
67839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67840         New file.
67841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67842         New file.
67843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67844         New file.
67845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67846         New file.
67847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67848         New file.
67849         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67850         New file.
67851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67852         New file.
67853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67854         New file.
67855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67856         New file.
67857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67858         New file.
67859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67860         New file.
67861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67862         file.
67863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67864         New file.
67865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67866         New file.
67867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67868         file.
67869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67870         New file.
67871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67872         New file.
67873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67874         file.
67875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67876         New file.
67877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67878         New file.
67879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67880         New file.
67881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67882         New file.
67883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67884         New file.
67885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67886         New file.
67887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67889         file.
67890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67891         New file.
67892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67893         file.
67894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67895         file.
67896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67897         file.
67898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67899         file.
67900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67901         file.
67902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67903         New file.
67904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67905         file.
67906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67907         file.
67908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67909         New file.
67910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67911         file.
67912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67914         file.
67915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67916         New file.
67917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67918         file.
67919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67920         file.
67921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67922         file.
67923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67924         file.
67925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67926         file.
67927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67928         New file.
67929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67930         file.
67931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67932         file.
67933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67934         New file.
67935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67936         file.
67937         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67938         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67939         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67940         file.
67941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67942         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67943         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67944         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67945         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67946         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67947         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67948         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67949         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67950         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67953         file.
67954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67955         New file.
67956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67957         file.
67958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67959         file.
67960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67961         file.
67962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67963         file.
67964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67965         file.
67966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67967         New file.
67968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67969         New file.
67970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67971         file.
67972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67973         New file.
67974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67975         file.
67976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67978         file.
67979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67980         New file.
67981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67982         file.
67983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67984         file.
67985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67986         file.
67987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67988         file.
67989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67990         file.
67991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67992         New file.
67993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67994         New file.
67995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67996         file.
67997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67998         New file.
67999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
68000         file.
68002 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68004         * conform/conformtest.pl: Fix typo in handling typed-constant from
68005         allow-header.
68007 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68009         * README: Cut down references to pre-2.6 Linux kernels and
68010         Linuxthreads.  Update lists of configurations in libc and ports
68011         and sort alphabetically.  Say "or newer" with Linux kernel version
68012         requirements.
68014         * config.h.in [IS_IN_build]: Allow compiling without optimization.
68016 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
68018         [BZ #887]
68019         * math/libm-test.inc (logb_test_downward): New test to expose
68020         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
68021         rounding mode.
68023 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
68025         [BZ #14027]
68026         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
68027         to be done.
68028         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
68029         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
68031 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
68033         * sysdeps/unix/i386/brk.S: Remove file.
68034         * sysdeps/unix/i386/dl-brk.S: Likewise.
68035         * sysdeps/unix/i386/pipe.S: Likewise.
68036         * sysdeps/unix/i386/sigreturn.S: Likewise.
68037         * sysdeps/unix/i386/syscall.S: Likewise.
68038         * sysdeps/unix/i386/vfork.S: Likewise.
68039         * sysdeps/unix/i386/wait.S: Likewise.
68041         * sysdeps/unix/common/tcsendbrk.c: Move to ...
68042         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
68044         * configure.in (arm*-none*): Do not allow without
68045         --enable-hacker-mode.
68046         (netbsd*): Remove case setting base_os.
68047         (386bsd*): Likewise.
68048         (freebsd*): Likewise.
68049         (bsdi*): Likewise.
68050         (osf*): Likewise.
68051         (sunos*): Likewise.
68052         (ultrix*): Likewise.
68053         (newsos*): Likewise.
68054         (dynix*): Likewise.
68055         (*bsd*): Likewise.
68056         (sysv*): Likewise.
68057         (isc*): Likewise.
68058         (esix*): Likewise.
68059         (sco*): Likewise.
68060         (minix*): Likewise.
68061         (irix4*): Likewise.
68062         (irix6*): Likewise.
68063         (solaris[2-9]*): Likewise.
68064         (none): Likewise.
68065         * configure: Regenerated.
68067 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68069         [BZ #11521]
68070         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
68071         overflow or cancellation in calculating denominator.
68072         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
68073         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
68074         down expression to avoid unexpected rounding in newer GCCs.
68075         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
68077 2012-04-26  David S. Miller  <davem@davemloft.net>
68079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
68080         long-double compat symbols.
68081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
68085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
68087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
68088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
68089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
68090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
68091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
68092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
68093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
68095 2012-04-25  David S. Miller  <davem@davemloft.net>
68097         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
68098         HWCAP_* values only after the memory barriers have been defined.
68099         (atomic_full_barrier): Define.
68100         (atomic_read_barrier): Define.
68101         (atomic_write_barrier): Define.
68103 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68105         * shlib-versions: Add libgcc_s version information.
68106         * sysdeps/generic/libgcc_s.h: Remove.
68107         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
68108         libgcc_s.h.
68109         * sysdeps/gnu/unwind-resume.c: Likewise.
68110         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
68112 2012-04-25  David S. Miller  <davem@davemloft.net>
68114         * sysdeps/unix/sparc/brk.S: Delete.
68115         * sysdeps/unix/sparc/dl-brk.S: Delete.
68116         * sysdeps/unix/sparc/pipe.S: Delete.
68117         * sysdeps/unix/sparc/sysdep.S: Delete.
68118         * sysdeps/unix/sparc/sysdep.h: Delete.
68119         * sysdeps/unix/sparc/vfork.S: Delete.
68120         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
68121         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
68122         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
68123         (ret_ERRVAL, r0, r1, MOVE): Define.
68124         (JUMPTARGET): Remove.
68125         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
68126         sysdeps/unix/sparc/sysdep.h
68127         (ENTRY, END): Remove.
68128         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68130 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
68132         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
68133         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68134         -DIS_IN_build.
68136         * timezone/README: Update upstream location and email address for
68137         tzcode and tzdata.
68138         * timezone/zdump.c: Update from tzcode 2012b.
68139         * timezone/zic.c: Likewise.
68141         * configure.in (libc_cv_as_needed): Remove test.
68142         * configure: Regenerated.
68143         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
68144         conditional definition.
68145         [$(have-as-needed) != yes] (no-as-needed): Likewise.
68146         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
68147         * config.make.in (have-as-needed): Remove variable.
68149 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
68150             Paul Pluzhnikov  <ppluzhnikov@google.com>
68152         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
68153         strings correctly.
68155 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
68157         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
68158         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
68159         * sysdeps/sh/strlen.S: Likewise.
68161 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68163         * sysdeps/unix/fork.S: Remove file.
68164         * sysdeps/unix/i386/fork.S: Likewise.
68165         * sysdeps/unix/sparc/fork.S: Likewise.
68167         * sysdeps/unix/system.c: Remove file.
68168         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
68170         * sysdeps/unix/getegid.S: Remove file.
68171         * sysdeps/unix/geteuid.S: Likewise.
68173 2012-04-24  Roland McGrath  <roland@hack.frob.com>
68175         * scripts/check-localplt.awk: New file.
68176         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
68177         of diff.
68178         * scripts/data/localplt-generic.data: Add a comment.
68180         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
68181         NODE when __dir_mkfile failed.
68182         * sysdeps/mach/hurd/symlinkat.c: Likewise.
68183         Reported by Ludovic Courtès <ludo@gnu.org>.
68185 2012-04-24  Andreas Jaeger  <aj@suse.de>
68187         * Makerules (common-clean): Also remove gen-as-const-headers
68188         files.
68190 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68192         * Makerules (native-compile): Do not change working directory for
68193         build.  Use $(OUTPUT_OPTION) in command.
68194         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
68196 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68198         [BZ #13886]
68199         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
68200         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
68201         * math/libm-test.inc (floor_test): Add more tests.
68202         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
68204 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
68206         * sysdeps/unix/getdents.c: Remove file.
68207         * sysdeps/unix/sysv/getdents.c: Likewise.
68208         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
68210         * sysdeps/unix/syscalls.list (madvise): Add syscall from
68211         sysdeps/unix/mman/syscalls.list.
68212         (mmap): Likewise.
68213         (mprotect): Likewise.
68214         (msync): Likewise.
68215         (munmap): Likewise.
68216         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
68217         * sysdeps/unix/mman/syscalls.list: Remove.
68218         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
68220         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
68221         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
68222         * configure: Regenerated.
68223         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
68224         $(libgcc_s_suffix).
68225         * config.make.in (libgcc_s_suffix): Remove variable.
68227 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
68229         * sysdeps/unix/sysv/gethostname.c: Move to ...
68230         * sysdeps/posix/gethostname.c: ... here.
68232         * sysdeps/unix/execve.S: Remove file.
68234         * sysdeps/unix/_exit.S: Remove file.
68236 2012-04-23  Andreas Jaeger  <aj@suse.de>
68238         [BZ #13739]
68239         * manual/Makefile: Remove make dist support, there's no
68240         need for a stand-alone documentation tar ball.
68241         (TEXI2DVI): Define always, it's not in Makeconfig.
68242         (dist): Removed.
68243         (tar-it): Removed.
68244         (edition): Removed.
68245         (glibc-doc-$(edition).tar): Removed
68246         (%.Z): Removed.
68247         (%.gz): Removed.
68248         (%.uu): Removed.
68249         (ETAGS): Remove, it's in Makeconfig.
68250         (move-if-change): Remove, it's in Makeconfig.
68252 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
68254         [BZ #13970]
68255         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
68256         (strtod, strtof, strtold, strtol, strtoul, strtoq)
68257         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
68258         (strtod_l, strtof_l, strtold_l): Remove __wur.
68259         It is not necessarily an error to ignore strtol's return value.
68260         One can reliably look at the stored endptr to decide whether
68261         the number had valid syntax.
68263 2012-04-21  Andreas Jaeger  <aj@suse.de>
68265         [BZ #13739]
68266         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
68268 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
68270         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
68271         * sysdeps/unix/sysv/Versions: Remove file.
68273 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
68275         [BZ #13927]
68276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68278 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
68280         [BZ #7064]
68281         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
68282         version from __vm86.
68284 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
68286         * sysdeps/unix/common/lxstat.c: Remove file.
68287         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
68289         * sysdeps/unix/sysv/Makefile: Remove file.
68291         * sysdeps/unix/sysv/direct.h: Remove file.
68293         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
68294         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
68295         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
68296         * sysdeps/unix/sysv/bits/signum.h: Likewise.
68297         * sysdeps/unix/sysv/bits/stat.h: Likewise.
68298         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
68299         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
68301         * sysdeps/unix/sysv/setrlimit.c: Remove file.
68303         * sysdeps/unix/xmknod.c: Remove file.
68304         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
68306         * sysdeps/unix/sysv/settimeofday.c: Remove file.
68308         * sysdeps/unix/sysv/i386/time.S: Remove file.
68310         * sysdeps/unix/fxstat.c: Remove file.
68311         * sysdeps/unix/xstat.c: Likewise.
68312         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
68314         * sysdeps/unix/sysv/sigaction.c: Remove file.
68316         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
68317         (sysdep_headers): Remove variable.
68318         [termio.h not in sysdep_headers] (generated): Likewise.
68319         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
68320         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
68321         * sysdeps/unix/sysv/tcdrain.c: Likewise.
68322         * sysdeps/unix/sysv/tcflow.c: Likewise.
68323         * sysdeps/unix/sysv/tcflush.c: Likewise.
68324         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
68325         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
68326         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
68327         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
68328         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
68330         * sysdeps/unix/siglist.c: Remove file.
68332         * sysdeps/unix/getppid.S: Remove file.
68334         * sysdeps/unix/mkdir.c: Remove file.
68335         * sysdeps/unix/rmdir.c: Likewise.
68337 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
68339         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68340         ERR_MAX value.
68341         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
68342         errlist-compat value.
68344 2012-04-18  David S. Miller  <davem@davemloft.net>
68346         * sysdeps/generic/memcopy.h (reg_char): Delete.
68347         * debug/strcat_chk.c: Use char, not reg_char.
68348         * debug/strcpy_chk.c: Likewise.
68349         * debug/strncat_chk.c: Likewise.
68350         * debug/strncpy_chk.c: Likewise.
68351         * string/memchr.c: Likewise.
68352         * string/memrchr.c: Likewise.
68353         * string/rawmemchr.c: Likewise.
68354         * string/strcat.c: Likewise.
68355         * string/strchr.c: Likewise.
68356         * string/strchrnul.c: Likewise.
68357         * string/strcmp.c: Likewise.
68358         * string/strcpy.c: Likewise.
68359         * string/strncat.c: Likewise.
68360         * string/strncmp.c: Likewise.
68361         * string/strncpy.c: Likewise.
68363 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68365         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
68366         __builtin_memcopy is called when src and dest ranges are known to not
68367         overlap.
68369 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68371         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
68372         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
68373         fwd_align_merge macro call.
68374         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
68375         bwd_align_merge macro call.
68376         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68378 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
68380         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
68381         bwd_align_merge macros.
68382         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
68383         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
68384         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
68386 2012-04-18  David S. Miller  <davem@davemloft.net>
68388         * sysdeps/sparc/sparc64/memcopy.h: Delete.
68390 2012-04-18  Andreas Jaeger  <aj@suse.de>
68392         [BZ# 6794]
68393         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
68394         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68395         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68397         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
68398         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
68399         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68401         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
68402         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
68403         Adjust for changed ldbl-128 files.
68405         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
68406         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
68407         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
68409 2012-04-17  David S. Miller  <davem@davemloft.net>
68411         * sysdeps/sparc/sparc32/memcopy.h: Delete.
68413 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
68415         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
68416         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
68417         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
68418         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
68419         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
68420         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
68422 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68424         [BZ #6794]
68425         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
68426         * math/libm-test.inc: Add ilogb errno and exception tests.
68427         * math/w_ilogb.c: New file: ilogb wrapper.
68428         * math/w_ilogbf.c: New file: ilogbf wrapper.
68429         * math/w_ilogbl.c: New file: ilogbl wrapper.
68430         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
68431         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
68432         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
68433         exception being thrown with 0.0 as argument.
68434         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
68435         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
68436         exception being thrown with 0.0 as argument.
68437         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
68438         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68439         exception being thrown with 0.0 as argument.
68440         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
68441         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
68442         exception being thrown with 0.0 as argument.
68443         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
68444         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
68445         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
68446         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
68447         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
68448         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
68449         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
68450         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
68451         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
68453 2012-04-17  Petr Baudis  <pasky@ucw.cz>
68455         * include/sys/uio.h: Change __vector to __iovec to avoid clash
68456         with altivec.
68458 2012-04-16  Marek Polacek  <polacek@redhat.com>
68460         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
68462 2012-04-16  Marek Polacek  <polacek@redhat.com>
68464         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
68465         operands of fdivp instruction.
68467 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68469         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
68470         * elf/tst-auditmod3b.c: Likewise.
68471         * elf/tst-auditmod4b.c: Likewise.
68472         * elf/tst-auditmod5b.c: Likewise.
68473         * elf/tst-auditmod6b.c: Likewise.
68474         * elf/tst-auditmod6c.c: Likewise.
68475         * elf/tst-auditmod7b.c: Likewise.
68476         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68477         * sysdeps/x86_64/preconfigure.in: Likewise.
68478         * sysdeps/x86_64/preconfigure: Regenerated.
68480 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68482         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68483         __ILP32__.
68485 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68487         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68488         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68490 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68492         [BZ #13973]
68493         * locale/iso-639.def: Fix gl language name. Spotted by
68494         Yaron Shahrabani.
68496 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68498         [BZ #2074]
68499         * libio/libio.h (__io_write_fn): Update comment.
68501 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68503         [BZ #2074]
68504         * stdio.texi (Hook Functions): The user provided writer function
68505         is not allowed to return -1.
68507 2012-04-11  David S. Miller  <davem@davemloft.net>
68509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68511 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68513         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68514         Add a leading slash to rtkaio.
68516 2012-04-11  Jim Meyering  <meyering@redhat.com>
68518         [BZ #11959]
68519         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68520         It is not necessarily an error to ignore fwrite's return
68521         value.  One can reliably use ferror to test for errors after
68522         the fact.
68524 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68526         * bits/types.h (__snseconds_t): New type.
68527         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68529         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68531         (__SNSECONDS_T_TYPE): Likewise.
68532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68533         (__SNSECONDS_T_TYPE): Likewise.
68534         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68535         (__SNSECONDS_T_TYPE): Likewise.
68537 2012-04-10  Andreas Jaeger  <aj@suse.de>
68539         [BZ #2636]
68540         * manual/time.texi (Processor Time): Return type of times is
68541         elapsed real time since an arbitrary point in the past.
68542         (CPU Time): Move CLK_TCK from here...
68543         (Processor Time): ...to here.  Correct description.
68544         * manual/conf.texi (Constants for Sysconf): Correct description of
68545         _SC_CLK_TCK.
68547 2012-04-10  David S. Miller  <davem@davemloft.net>
68549         [BZ #13967]
68550         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68551         where the is a gap between DT_REL(A) and DT_JMPREL.
68553 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68555         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68556         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68557         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68559 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68561         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68562         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68563         (dl_main): Handle --inhibit-cache.
68564         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68565         _dl_inhibit_cache.
68566         * elf/dl-load.c (_dl_map_object): Use it.
68567         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68569 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68571         [BZ #13872]
68572         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68573         (__ieee754_powl): Saturate large exponents rather than testing for
68574         overflow of y*log2(x).
68575         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68576         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68577         exceptions.
68579         [BZ #11521]
68580         * math/s_ctan.c: Include <float.h>.
68581         (__ctan): Avoid internal overflow or cancellation in calculating
68582         denominator.
68583         * math/s_ctanf.c: Likewise.
68584         * math/s_ctanl.c: Likewise.
68585         * math/s_ctanh.c: Likewise.
68586         * math/s_ctanhf.c: Likewise.
68587         * math/s_ctanhl.c: Likewise.
68588         * math/libm-test.inc (ctan_test): Add more tests.
68589         (ctanh_test): Likewise.
68590         * sysdeps/i386/fpu/libm-test-ulps: Update.
68591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68593 2012-04-09  Andreas Jaeger  <aj@suse.de>
68595         [BZ #6894]
68596         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68597         is an optional BSD extension.
68599         [BZ #10254]
68600         * manual/stdio.texi (Opening Streams): Document additional fopen
68601         parameters.
68603 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68605         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68606         %eax without telling the compiler.
68608 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68610         [BZ # 13963]
68611         * manual/install.texi: Use sourceware.org.
68613 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68615         [BZ #13873]
68616         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68617         (__ieee754_pow): Generate overflow and underflow using huge*huge
68618         and tiny*tiny rather than just returning constant infinity or zero
68619         for large exponents.
68620         * math/libm-test.inc (pow_test): Require overflow exceptions for
68621         applicable cases of large exponents.
68623         [BZ #706]
68624         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68625         (__ieee754_pow): Use iterative multiplication algorithm only for
68626         integer exponents with absolute value below 1024.  Check for odd
68627         integer exponents when using algorithm for real exponents.
68628         * math/libm-test.inc (pow_test): Add more tests.
68629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68631 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68633         [BZ #13705]
68634         * math/libm-test.inc (exp_test): Do not allow overflow exception
68635         on underflow test.
68637 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68639         [BZ #13705]
68640         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68641         instead of __kernel_standard_f.
68643 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68645         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68646         * sysdeps/x86_64/memset_chk.S: Likewise.
68648 2012-04-08  Andreas Jaeger  <aj@suse.de>
68650         [BZ #10153]
68651         * manual/startup.texi (Environment Access): Describe return value
68652         for putenv and setenv.
68654         [BZ #6895]
68655         * manual/filesys.texi (Directory Entries): Add description for
68656         DT_LNK.
68658         [BZ #6890]
68659         * manual/filesys.texi (Directory Entries): Clarify that it's file
68660         system not operating system in the description of DT_UNKNOWN.
68662         [BZ #6578]
68663         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68665 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68667         [BZ #6649]
68668         * manual/llio.texi (Opening and Closing Files): Add cross
68669         reference to explain mode argument.
68671 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68673         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68674         * sysdeps/x86_64/memset_chk.S: Likewise.
68676 2012-04-07  David S. Miller  <davem@davemloft.net>
68678         * elf/elf.h (R_SPARC_WDISP10): Define.
68679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68680         R_SPARC_SIZE32.
68681         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68682         R_SPARC_SIZE64 and R_SPARC_H34.
68684 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68686         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68687         conditions and remove no longer applicable assertion.
68689 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68691         * bits/byteswap.h: Include <features.h>.
68692         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68693         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68695 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68697         * bits/byteswap.h (__bswap_16): Removed.
68698         Include <bits/byteswap-16.h> to get __bswap_16.
68699         * sysdeps/i386/bits/byteswap.h: Likewise.
68700         * sysdeps/s390/bits/byteswap.h: Likewise.
68701         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68702         * bits/byteswap-16.h: New file.
68703         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68704         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68705         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68706         * string/Makefile (headers): Add bits/byteswap-16.h.
68708 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68710         [BZ #13895]
68711         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68712         extra indirection.
68713         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68714         * nss/tst-nss-static.c: New.
68716 2012-04-06  Robert Millan  <rmh@gnu.org>
68718         [BZ #6486]
68719         * manual/llio.texi (File Position Primitive): lseek
68720         refers to WHENCE when it really means OFFSET.
68722 2012-04-06  Andreas Jaeger  <aj@suse.de>
68724         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68725         strncmp declarations.
68727         * abilist/libc.abilist: Add __poll and __ppoll.
68729 2012-04-05  David S. Miller  <davem@davemloft.net>
68731         * scripts/check-local-headers.sh: Accept a host triplet in the
68732         path matched by the exclude regexp.
68734         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68735         definition.
68736         * sysdeps/powerpc/powerpc32/dl-machine.h
68737         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68738         * sysdeps/s390/s390-32/dl-machine.h
68739         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68740         * sysdeps/sparc/sparc32/dl-machine.h
68741         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68742         * sysdeps/sparc/sparc64/dl-machine.h
68743         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68745         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68746         lazy binding.
68747         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68748         undefined symbol errors.
68750         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68751         DT_NEEDED entries.
68753 2012-04-05  Michael Matz  <matz@suse.de>
68755         [BZ #13592]
68756         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68758 2012-04-05  Andreas Jaeger  <aj@suse.de>
68760         [BZ #13908]
68761         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68762         comment.
68764 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68766         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68767         which ROUND is no valid rounding mode.
68769 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68771         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68772         read again.
68773         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68775 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68777         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68778         an exception using FPU order intentionally.
68780 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68782         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68783         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68784         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68785         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68787 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68789         [BZ #12340]
68790         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68791         EINVAL when BUFLEN is too smal.
68793 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68795         [BZ #13553]
68796         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68797         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68799 2012-04-03  Andreas Jaeger  <aj@suse.de>
68801         [BZ #13938]
68802         * manual/setjmp.texi (System V contexts): Fix sentence.
68804         [BZ #13926]
68805         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68806         New macro for this case.
68807         [!__GNUC__] (__bswap_64): New inline function for this case.
68808         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68809         * bits/byteswap.h: Likewise.
68810         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68811         ull, guard with __GLIBC_HAVE_LONG_LONG.
68813         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68814         __GLIBC_HAVE_LONG_LONG.
68816         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68817         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68819 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68821         [BZ #13691]
68822         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68823         inptr and inend, rather than using last_ch.
68825 2012-04-02  David S. Miller  <davem@davemloft.net>
68827         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68828         * stdio-common/printf-parse.h (read_int): Change return type to
68829         'int', return -1 on INT_MAX overflow.
68830         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68831         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68832         overflows INT_MAX.  Check for overflow of in-format-string precision
68833         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68834         SIZE_MAX not INT_MAX for integer overflow test.
68835         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68836         skip the construct in the format string but do not record anything.
68837         * stdio-common/bug22.c: Adjust to test both width/prevision
68838         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68839         explicitly for proper errno values.
68841 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68843         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68844         CHAR_MAX.
68845         * string/test-strcmp.c [! WIDE]: Likewise.
68846         * time/tst-mktime2.c: Likewise for INT_MAX.
68847         * string/test-string.h: #include <sys/param.h> for MIN.
68849         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68850         * sysdeps/i386/init-first.c (init): Likewise.
68851         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68852         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68853         * sysdeps/sh/init-first.c (init): Likewise.
68855 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68857         * po/ru.po: Update from translation team.
68858         * po/vi.po: Likewise.
68860 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68862         * resolv/nss_dns/dns-host.c: Merge copyright years.
68864 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68866         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68867         Optimize memcpy with prefetch if
68868         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68869         src, dst pointers have unequal 16 byte alignments.
68871 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68873         [BZ #13928]
68874         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68875         from a CNAME entry and return the minimum ttl for the query.
68876         (gaih_getanswer_slice): Likewise.
68878 2012-03-30  Jeff Law  <law@redhat.com>
68880         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68881         due to long keys.
68882         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68883         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68885         * resolv/nss_dns/dns-host.c: Update copyright year.
68887 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68889         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68890         requests to save a system call.  Fix check that all bytes are sent.
68892         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68893         comments for sendmmsg.
68895 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68897         [BZ #13691]
68898         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68899         with only 1 character between 0x0041 and 0x01b0.
68900         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68901         * wcsmbs/tst-mbsnrtowcs.c: New file.
68903 2012-03-29  David S. Miller  <davem@davemloft.net>
68905         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68906         small copies by hand.
68908 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68910         [BZ #13761]
68911         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68912         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68913         group memberships.
68915 2012-03-28  David S. Miller  <davem@davemloft.net>
68917         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68918         that branches into memcpy.
68919         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68920         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68921         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68922         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68923         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68924         bits.
68925         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68926         implementation too.
68927         * sysdeps/sparc/mempcpy.S: New file.
68929         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68930         the IFUNC routine in the libc case.
68931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68933         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68934         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68935         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68936         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68937         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68938         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68939         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68940         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68942         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68943         loop to 256 bytes instead of 64 bytes and fix test signedness.
68945         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68946         * sysdeps/sparc/sparc32/Makefile: rather than here...
68947         * sysdeps/sparc/sparc64/Makefile: and here.
68949 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68951         * malloc/mallocbug.c: Avoid warnings about unused variables.
68953 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68955         [BZ #13760]
68956         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68957         in the right place. Discard and retry query if response is
68958         larger than input buffer size.
68960 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68962         [BZ #369]
68963         [BZ #2678]
68964         [BZ #3866]
68965         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68966         x for large integer exponent.
68967         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68968         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68969         sign of result as needed afterwards.
68970         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68971         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68972         result for underflowing pow the same as for overflow.
68973         (__kernel_standard_l): Handle powl overflow and underflow here
68974         rather than calling __kernel_standard.
68975         * math/libm-test.inc (pow_test): Add more tests.
68977         [BZ #3868]
68978         [BZ #13879]
68979         [BZ #13910]
68980         [BZ #13911]
68981         [BZ #13912]
68982         [BZ #13913]
68983         [BZ #13915]
68984         [BZ #13916]
68985         [BZ #13917]
68986         [BZ #13918]
68987         [BZ #13919]
68988         [BZ #13920]
68989         [BZ #13921]
68990         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68991         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68992         (__kernel_standard_l): New function.
68993         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68994         __kernel_standard.
68995         * math/w_acosl.c (__acosl): Likewise.
68996         * math/w_asinl.c (__asinl): Likewise.
68997         * math/w_atan2l.c (__atan2l): Likewise.
68998         * math/w_atanhl.c (__atanhl): Likewise.
68999         * math/w_coshl.c (__coshl): Likewise.
69000         * math/w_exp10l.c (__exp10l): Likewise.
69001         * math/w_exp2l.c (__exp2l): Likewise.
69002         * math/w_fmodl.c (__fmodl): Likewise.
69003         * math/w_hypotl.c (__hypotl): Likewise.
69004         * math/w_j0l.c (__j0l, __y0l): Likewise.
69005         * math/w_j1l.c (__j1l, __y1l): Likewise.
69006         * math/w_jnl.c (__jnl, __ynl): Likewise.
69007         * math/w_lgammal.c (__lgammal): Likewise.
69008         * math/w_log10l.c (__log10l): Likewise.
69009         * math/w_log2l.c (__log2l): Likewise.
69010         * math/w_logl.c (__logl): Likewise.
69011         * math/w_powl.c (__powl): Likewise.
69012         * math/w_remainderl.c (__remainderl): Likewise.
69013         * math/w_scalbl.c (sysv_scalbl): Likewise.
69014         * math/w_sinhl.c (__sinhl): Likewise.
69015         * math/w_sqrtl.c (__sqrtl): Likewise.
69016         * math/w_tgammal.c (__tgammal): Likewise.
69017         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
69018         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
69019         * math/libm-test.inc (acos_test): Add more tests.
69020         (acosh_test): Likewise.
69021         (asin_test): Likewise.
69022         (atanh_test): Likewise.
69023         (exp_test): Likewise.
69024         (exp10_test): Likewise.
69025         (exp2_test): Likewise.
69026         (expm1_test): Likewise.
69027         (lgamma_test): Likewise.
69028         (log_test): Likewise.
69029         (log10_test): Likewise.
69030         (log1p_test): Likewise.
69031         (log2_test): Likewise.
69032         (pow_test): Do not allow some spurious overflow exceptions.
69033         (sqrt_test): Add more tests.
69034         (tgamma_test): Likewise.
69035         (y0_test): Likewise.
69036         (y1_test): Likewise.
69037         (yn_test): Likewise.
69039 2012-03-27  Anton Blanchard  <anton@samba.org>
69041         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
69042         MAP_HUGETLB.
69043         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69044         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69045         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69047 2012-03-27  David S. Miller  <davem@davemloft.net>
69049         * conform/Makefile: Run run-conformtest.sh using $(BASH).
69051         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
69052         have-as-vis3 check.
69054 2012-03-27  Andreas Jaeger  <aj@suse.de>
69056         * sysdeps/x86_64/elf/configure.in: Moved to ...
69057         * sysdeps/x86_64/configure.in: ... here.
69058         * sysdeps/x86_64/elf/start.S: Moved to ...
69059         * sysdeps/x86_64/start.S: ... here.
69060         * sysdeps/x86_64/elf/configure: Delete.
69062         * sysdeps/x86_64/configure.in: Merge contents from
69063         sysdeps/i386/configure.in (without i686 check).
69065         * sysdeps/i386/elf/Versions: Merge into ...
69066         * sysdeps/i386/Versions: ... this.
69067         * sysdeps/i386/elf/Versions: Delete file.
69068         * sysdeps/i386/elf/start.S: Moved to ...
69069         * sysdeps/i386/start.S: ...here.
69070         * sysdeps/i386/elf/configure.in: Merge into...
69071         * sysdeps/i386/configure.in: ...here.
69072         * sysdeps/i386/elf/configure.in: Delete file.
69073         * sysdeps/i386/elf/configure: Delete file.
69075         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
69076         * debug/backtracesyms.c: ... here.
69077         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
69078         * debug/backtracesymsfd.c: ... here.
69079         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
69080         * sysdeps/generic/ifunc-sel.h: ... here.
69082         * sysdeps/unix/i386/start.c: Delete file.
69083         * sysdeps/unix/sparc/start.c: Delete file.
69084         * sysdeps/unix/start.c: Delete file.
69086         * sysdeps/sh/elf/configure.in: Moved to ...
69087         * sysdeps/sh/configure.in: ... here.
69088         * sysdeps/sh/elf/start.S: Moved to ...
69089         * sysdeps/sh/start.S: ... here.
69090         * sysdeps/sh/elf/configure: Delete file.
69092         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
69093         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
69094         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
69095         * sysdeps/powerpc/powerpc64/entry.h: ... here.
69096         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
69097         * sysdeps/powerpc/powerpc64/start.S: here.
69098         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
69099         * sysdeps/powerpc/powerpc64/Makefile: ... this.
69100         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
69101         * sysdeps/powerpc/powerpc64/configure.in: ... this.
69102         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
69104         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
69105         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
69106         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
69107         * sysdeps/powerpc/powerpc32/start.S: ... here.
69108         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
69109         * sysdeps/powerpc/powerpc32/configure.in: ... this.
69110         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
69112         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
69113         * sysdeps/powerpc/ifunc-sel.h: ... here.
69114         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
69115         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
69117         * sysdeps/sparc/elf/configure.in: Moved to ...
69118         * sysdeps/sparc/configure.in: ... here.
69119         * sysdeps/sparc/elf/configure: Delete file.
69120         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
69121         * sysdeps/sparc/sparc32/start.S: ... here.
69122         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
69123         * sysdeps/sparc/sparc64/start.S: ... here.
69124         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
69125         * sysdeps/sparc/sparc32/Makefile: ... this.
69126         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
69127         * sysdeps/sparc/sparc64/Makefile: ... this.
69129         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
69130         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
69131         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
69132         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
69133         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
69134         * sysdeps/s390/s390-32/setjmp.S: ... here.
69135         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
69136         * sysdeps/s390/s390-32/configure.in: ... here.
69137         * sysdeps/s390/s390-32/elf/configure: Delete file.
69138         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
69139         * sysdeps/s390/s390-32/start.S: ... here.
69141         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
69142         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
69143         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
69144         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
69145         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
69146         * sysdeps/s390/s390-64/setjmp.S: ... here.
69147         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
69148         * sysdeps/s390/s390-64/configure.in: ... here
69149         * sysdeps/s390/s390-64/elf/configure: Delete file.
69150         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
69151         * sysdeps/s390/s390-64/start.S: ... here.
69152         * sysdeps/s390/s390-64/elf/configure: Delete.
69154         * configure.in: Remove support for elf directories in sysdeps.
69156         * configure: Regenerated.
69157         * sysdeps/i386/configure: Regenerated.
69158         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69159         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69160         * sysdeps/s390/s390-32/configure: Regenerated.
69161         * sysdeps/s390/s390-64/configure: Regenerated.
69162         * sysdeps/sh/configure: Regenerated.
69163         * sysdeps/sparc/configure: Regenerated.
69164         * sysdeps/x86_64/configure: Regenerated.
69166 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
69168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69170         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
69171         denormal result into account.
69173 2012-03-25  Roland McGrath  <roland@hack.frob.com>
69175         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
69176         Reported by Allan McRae <allan@archlinux.org>.
69178 2012-03-23  Jeff Law  <law@redhat.com>
69180         * nss/getnssent.c (__nss_getent): Fix typo.
69182 2012-03-23  David S. Miller  <davem@davemloft.net>
69184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69186 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
69188         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
69189         to pad to uint64_t for each field.
69190         (dl_tls_index): Replace unsigned long with uint64_t.
69192 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
69193         Paul Pluzhnikov  <ppluzhnikov@google.com>
69195         [BZ #6528]
69196         * grp/Makefile (otherlibs): Don't set it.
69197         * inet/Makefile (otherlibs): Likewise.
69198         * login/Makefile (otherlibs): Likewise.
69199         * nscd/Makefile (otherlibs): Likewise.
69200         * posix/Makefile (otherlibs): Likewise.
69201         * pwd/Makefile (otherlibs): Likewise.
69202         * rt/Makefile (otherlibs): Likewise.
69203         * sunrpc/Makefile (otherlibs): Likewise.
69204         * nss/Makefile (otherlibs): Likewise.
69205         Add libnss_files to routines and static-only-routines.
69206         ($(objpfx)getent): Remove rule.
69207         * resolv/Makefile: Add libnss_dns and libresolv to routines and
69208         static-only-routines.
69210 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69212         [BZ #13892]
69213         * math/s_cexp.c: Include <float.h>.
69214         (__cexp): Handle exp result overflowing not necessarily
69215         overflowing both real and imaginary parts of result.
69216         * math/s_cexpf.c: Likewise.
69217         * math/s_cexpl.c: Likewise.
69218         * math/libm-test.inc (cexp_test): Add more tests.
69219         * sysdeps/i386/fpu/libm-test-ulps: Update.
69220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69222 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69224         * include/link.h (ELFW): New macro.
69225         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
69226         Replace ELF64_R_TYPE with ELFW(R_TYPE).
69228 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69230         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
69231         with uint64_t.
69233 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69235         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
69236         declaration.
69237         (struct La_x32_retval): Likewise.
69239 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
69241         * sysdeps/x86_64/preconfigure.in: New file.
69242         * sysdeps/x86_64/preconfigure: New generated file.
69244 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
69246         [BZ #13824]
69247         * math/e_exp2l.c: Include <float.h>.
69248         (__ieee754_exp2l): Handle overflow and underflow cases
69249         separately.  Only pass fractional part of argument to
69250         __ieee754_expl.
69251         * math/libm-test.inc (exp2_test): Add more tests.
69253         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
69254         negating x to take absolute value.
69255         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
69256         Likewise.
69257         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
69258         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
69259         Likewise.
69260         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
69261         computing low part if x was negated.
69262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
69264 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69266         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
69267         la_x32_gnu_pltexit.
69268         (pltexit): Cast int_retval to ptrdiff_t.
69269         * elf/tst-auditmod3b.c: Likewise.
69270         * elf/tst-auditmod4b.c: Likewise.
69271         * elf/tst-auditmod5b.c: Likewise.
69272         * elf/tst-auditmod6b.c: Likewise.
69273         * elf/tst-auditmod6c.c: Likewise.
69274         * elf/tst-auditmod7b.c: Likewise.
69276         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
69277         and x32_gnu_pltexit.
69279         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
69280         __ELF_NATIVE_CLASS.
69281         (La_x32_regs): New macro.
69282         (La_x32_retval): Likewise.
69283         (la_x32_gnu_pltenter): New function prototype.
69284         (la_x32_gnu_pltexit): Likewise.
69286 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
69288         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
69289         exponent.
69291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69293         * configure.in (libc_cv_cc_nofma): Check for option to disable
69294         generation of FMA instructions.
69295         * configure: Regenerate.
69296         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
69297         * sysdeps/ieee754/dbl-64/Makefile: New file.
69298         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
69299         Remove brandred-fma4.
69300         (CFLAGS-brandred-fma4.c): Remove.
69301         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
69302         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
69303         define.
69304         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
69305         define.
69307 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69309         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
69310         LLONG_MAX != LONG_MAX.
69311         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69312         (_fitoa_word): Likewise.
69313         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
69314         LLONG_MAX != LONG_MAX.
69315         * stdio-common/_itowa.h: Include <_itoa.h>.
69316         (_itowa_word): Use _ITOA_WORD_TYPE on value.
69317         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
69318         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
69319         only if not defined.
69320         (_ITOA_WORD_TYPE): Likewise.
69321         (_itoa_word): Use _ITOA_WORD_TYPE on value.
69322         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
69324 2012-03-21  David S. Miller  <davem@davemloft.net>
69326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69328 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
69330         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
69331         of x86_64 when setting libc_cv_slibdir, libdir and
69332         libc_cv_localedir.
69333         * sysdeps/unix/sysv/linux/configure: Regenerated.
69335 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69337         * manual/lang.texi (Old Varargs): Remove section.
69338         (How Variadic): Update menu.
69339         (va_start): Do not mention varargs.h.
69341 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69342             Joseph Myers  <joseph@codesourcery.com>
69344         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
69345         link test.
69346         * configure: Regenerated.
69348 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69350         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
69351         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
69352         conformtest.pl
69354 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69356         * NOTES: Remove.
69357         * Makefile (files-for-dist): Remove NOTES.
69358         (NOTES): Remove rule.
69359         * README: Don't refer to NOTES.
69360         * manual/creature.texi: Don't include macros.texi.
69361         * manual/intro.texi (creature.texi): Remove comment referring to
69362         NOTES.
69364         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
69365         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
69366         * configure: Regenerated.
69367         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
69368         LIBC_TRY_CC_OPTION.
69369         (libc_cv_as_i686): Likewise.
69370         (libc_cv_cc_avx): Likewise.
69371         (libc_cv_cc_sse2avx): Likewise.
69372         (libc_cv_cc_fma4): Likewise.
69373         (libc_cv_cc_novzeroupper): Likewise.
69374         * sysdeps/i386/configure: Regenerated.
69376         [BZ #13883]
69377         * sysdeps/i386/fpu/s_cexp.S: Remove.
69378         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
69379         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
69380         * math/libm-test.inc (cexp_test): Add more tests.
69381         * sysdeps/i386/fpu/libm-test-ulps: Update.
69382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69384 2012-03-21  Allan McRae  <allan@archlinux.org>
69386         * timezone/Makefile: Do not install iso3166.tab and zone.tab
69388 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
69390         [BZ #13871]
69391         * math/w_exp2.c: Do not include <float.h>.
69392         (o_threshold, u_threshold): Remove.
69393         (__exp2): Calculate result before checking finiteness and calling
69394         __kernel_standard.
69395         * math/w_exp2f.c: Likewise.
69396         * math/w_exp2l.c: Likewise.
69397         * math/libm-test.inc (exp2_test): Require overflow exception for
69398         1e6 input.
69400         [BZ #3866]
69401         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
69402         range of signed 64-bit integers before using fistpll.  Remove
69403         checks for whether integers fit in mantissa bits.
69404         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
69405         the range of signed 32-bit integers before using fistpl.  Remove
69406         checks for whether integers fit in mantissa bits.
69407         * sysdeps/i386/fpu/e_powl.S (p64): New object.
69408         (__ieee754_powl): Test for y outside the range of signed 64-bit
69409         integers before using fistpll.  Reduce 64-bit values to 63-bit
69410         ones as needed.
69411         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
69412         divide-by-zero is raised for zero to large negative powers.
69413         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
69414         (__ieee754_powl): Test for y outside the range of signed 64-bit
69415         integers before using fistpll.  Reduce 64-bit values to 63-bit
69416         ones as needed.
69417         * math/libm-test.inc (pow_test): Add more tests.
69419 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69421         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
69422         <stdio-common/_itoa.h>.
69423         * debug/segfault.c: Likewise.
69424         * elf/dl-cache.c: Likewise.
69425         * elf/dl-minimal.c: Likewise.
69426         * elf/dl-misc.c: Likewise.
69427         * elf/dl-sysdep.c: Likewise.
69428         * elf/dl-version.c: Likewise.
69429         * elf/rtld.c: Likewise.
69430         * hurd/hurdsock.c: Likewise.
69431         * hurd/lookup-retry.c: Likewise.
69432         * malloc/malloc.c: Likewise.
69433         * malloc/mtrace.c: Likewise.
69434         * nscd/nscd_getgr_r.c: Likewise.
69435         * nscd/nscd_getpw_r.c: Likewise.
69436         * nscd/nscd_getserv_r.c: Likewise.
69437         * posix/getopt_init.c: Likewise.
69438         * posix/wordexp.c: Likewise.
69439         * stdio-common/_itoa.c: Likewise.
69440         * stdio-common/printf_fphex.c: Likewise.
69441         * stdio-common/vfprintf.c: Likewise.
69442         * string/_strerror.c: Likewise.
69443         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
69444         * sysdeps/i386/i686/hp-timing.h: Likewise.
69445         * sysdeps/mach/_strerror.c: Likewise.
69446         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
69447         * sysdeps/mach/hurd/sethostid.c: Likewise.
69448         * sysdeps/mach/hurd/xmknodat.c: Likewise.
69449         * sysdeps/mach/xpg-strerror.c: Likewise.
69450         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69451         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69452         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
69453         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
69454         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69455         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
69456         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
69457         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
69458         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
69459         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
69460         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
69461         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
69462         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
69463         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
69464         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
69465         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
69466         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
69467         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
69468         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
69469         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
69470         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
69472         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69474         * stdio-common/_itoa.h: Moved to ...
69475         * sysdeps/generic/_itoa.h: Here.
69477         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69479         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69480         instead of "_itoa.h" and "_itowa.h".
69481         * stdio-common/vfprintf.: Likewise.
69483 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69485         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69486         <bits/wordsize.h>.
69487         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69488         (__signbit): Likwise.
69489         (llrintf): Likwise.
69490         (llrint): Likwise.
69492 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69494         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69495         __WORDSIZE != 64.
69497 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69499         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69500         OVERFLOW_EXCEPTION_OK.
69501         * math/libm-test.inc ("Philosophy"): Update comment about
69502         exception testing.
69503         (OVERFLOW_EXCEPTION): Define.
69504         (OVERFLOW_EXCEPTION_OK): Likewise.
69505         (INVALID_EXCEPTION_OK): Renumber.
69506         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69507         (IGNORE_ZERO_INF_SIGN): Likewise.
69508         (test_exceptions): Handle FE_OVERFLOW.
69509         (exp10_test): Expect overflow exceptions.
69510         (exp2_test): Likewise.
69511         (expm1_test): Likewise.
69512         (nextafter_test): Likewise.
69513         (pow_test): Likewise.
69514         (scalbn_test): Likewise.
69515         (scalbln_test): Likewise.
69517 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69519         * sysdeps/x86_64/bits/atomic.h
69520         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69521         64bit integer.
69522         (atomic_exchange_acq): Likewise.
69523         (__arch_exchange_and_add_body): Likewise.
69524         (__arch_add_body): Likewise.
69525         (atomic_add_negative): Likewise.
69526         (atomic_add_zero): Likewise.
69528 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69530         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69531         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69535         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69536         Check __x86_64__ instead of __WORDSIZE.
69538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69540         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69542 2012-03-19  David S. Miller  <davem@davemloft.net>
69544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69546         * sysdeps/sparc/fpu/fenv_private.h: New file.
69547         * sysdeps/sparc/fpu/math_private.h: Use it.
69548         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69549         Remove.
69550         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69551         (libc_feholdexcept_setroundl): Remove.
69552         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69553         Remove.
69554         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69555         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69557 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69559         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69560         int64_t instead of long int.
69561         (INSERT_WORDS64): Likwise.
69563 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69565         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69566         _Unwind_GetCFA return to _Unwind_Ptr first.
69568 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69570         [BZ #13629]
69571         * math/s_clog.c: Include <float.h>.
69572         (__clog): Scale large or subnormal inputs.
69573         * math/s_clogf.c: Likewise.
69574         * math/s_clogl.c: Likewise.
69575         * math/s_clog10.c: Include <float.h>.
69576         (M_LOG10_2): Define.
69577         (__clog10): Scale large or subnormal inputs.
69578         * math/s_clog10f.c: Likewise.
69579         * math/s_clog10l.c: Likewise.
69580         * math/libm-test.inc (clog_test): Add more tests.
69581         (clog10_test): Likewise.
69582         * sysdeps/i386/fpu/libm-test-ulps: Update.
69583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69585         [BZ #11451]
69586         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69587         x and y.
69588         * math/libm-test.inc (atan2_test): Add another test.
69590         * Makerules (common-objdir-compile): Remove.
69591         * sysdeps/unix/Makefile (config-generated): Do not add
69592         $(unix-generated) to variable.
69593         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69594         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69595         Remove rule.
69596         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69597         Likewise.
69598         [generic bits/local_lim.h] (before-compile): Do not append to
69599         variable.
69600         [generic bits/local_lim.h] (common-generated): Likewise.
69601         [generic sys/param.h] (before-compile): Do not append to variable.
69602         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69603         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69604         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69605         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69606         include.
69607         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69608         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69609         [generic sys/param.h] ($(addprefix
69610         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69611         [generic sys/param.h] (common-generated): Do not append to
69612         variable.
69613         [generic sys/param.h] (sysdep_headers): Likewise.
69614         [generic bits/errno.h] (before-compile): Do not append to
69615         variable.
69616         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69617         rule.
69618         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69619         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69620         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69621         [generic bits/errno.h] (common-generated): Do not append to
69622         variable.
69623         [generic bits/ioctls.h] (before-compile): Do not append to
69624         variable.
69625         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69626         rule.
69627         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69628         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69629         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69630         rule.
69631         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69632         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69633         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69634         [generic bits/ioctls.h] (common-generated): Do not append to
69635         variable.
69636         [generic sys/syscall.h] (syscall.h): Remove variable.
69637         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69638         rule.
69639         [generic sys/syscall.h] (before-compile): Do not append to
69640         variable.
69641         [generic sys/syscall.h] (common-generated): Likewise.
69642         * sysdeps/unix/errnos-tmpl.c: Remove file.
69643         * sysdeps/unix/errnos.awk: Likewise.
69644         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69645         * sysdeps/unix/ioctls.awk: Likewise.
69646         * sysdeps/unix/mk-local_lim.c: Likewise.
69647         * sysdeps/unix/snarf-ioctls: Likewise.
69649 2012-03-19  Richard Henderson  <rth@twiddle.net>
69651         * sysdeps/i386/fpu/fenv_private.h: New file.
69652         * sysdeps/i386/fpu/math_private.h: Use it.
69653         (math_opt_barrier, math_force_eval): Remove.
69654         (libc_feholdexcept_setround_53bit): Remove.
69655         (libc_feupdateenv_53bit): Remove.
69656         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69657         (math_opt_barrier, math_force_eval): Remove.
69658         (libc_feholdexcept): Remove.
69659         (libc_feholdexcept_setround): Remove.
69660         (libc_fetestexcept, libc_fesetenv): Remove.
69661         (libc_feupdateenv_test): Remove.
69662         (libc_feupdateenv, libc_feholdsetround): Remove.
69663         (libc_feresetround): Remove.
69665         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69666         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69668         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69669         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69670         (libc_feupdateenv_testl): New.
69671         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69672         (libc_feupdateenv_testf): New.
69673         (libc_feupdateenv): Use libc_feupdateenv_test.
69674         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69675         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69677         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69678         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69679         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69680         (libc_feresetround_noex): New.
69681         (libc_feresetround_noexf): New.
69682         (libc_feresetround_noexl): New.
69683         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69684         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69685         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69686         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69687         SET_RESTORE_ROUND.
69688         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69689         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69690         (__cos): Likewise.
69691         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69692         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69693         SET_RESTORE_ROUND_NOEX.
69694         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69695         SET_RESTORE_ROUND_NOEXF.
69696         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69697         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69698         (libc_feholdsetroundf): New.
69699         (libc_feresetround, libc_feresetroundf): New.
69701         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69702         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69703         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69705         * sysdeps/generic/math_private.h: Include <fenv.h>.
69706         (default_libc_feholdexcept): New.
69707         (default_libc_feholdexcept_setround): New.
69708         (default_libc_fesetenv, default_libc_feupdateenv): New.
69709         (libc_feholdexcept): Only define if undefined.
69710         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69711         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69712         (libc_feholdexcept_setroundl): Likewise.
69713         (libc_feholdexcept_setround_53bit): Likewise.
69714         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69715         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69716         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69717         (libc_feupdateenv_53bit): Likewise.
69718         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69719         (libc_feholdexcept): Convert from macro to inline function.
69720         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69721         (libc_fesetenv, libc_feupdateenv): Likewise.
69723         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69724         not previously defined.
69725         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69726         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69727         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69728         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69729         * sysdeps/ieee754/flt-32/math_private.h: New file.
69730         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69731         math_private.h below SET_FLOAT_WORD.
69732         (__isnan, __isinf_ns, __finite): Remove.
69733         (__isnanf, __isinf_nsf, __finitef): Remove.
69735 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69739 2012-03-17  David S. Miller  <davem@davemloft.net>
69741         [BZ #6471]
69742         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69743         for 2.16.
69745 2012-03-16  David S. Miller  <davem@davemloft.net>
69747         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69748         warnings.
69750         [BZ #6471]
69751         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69752         properly.
69753         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69754         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69755         sysdep_routines when subdir is sysvipc.
69756         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69757         __getshmlba helper.
69759         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69761 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69763         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69764         [__LP64__].
69766 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69768         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69769         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69770         (__lround): Renamed to ...
69771         (__llround): This.  Replace long int with long long int.
69772         Define lround functions as aliases of llround functions.
69773         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69775 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69777         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69778         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69779         adresses to uintptr_t.  Replace "long int" and "unsigned long
69780         int" with "greg_t" on va_arg.
69782 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69784         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69785         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69787         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69788         Move e_machine check before EI_CLASS check.  Handle x32
69789         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69790         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69791         SKIP_EM_IA_64 and include
69792         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69794         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69795         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69796         (add_system_dir): New macro.
69798         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69799         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69801 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69803         [BZ #2551]
69804         [BZ #2552]
69805         [BZ #2553]
69806         [BZ #2554]
69807         [BZ #2562]
69808         [BZ #2563]
69809         [BZ #2565]
69810         [BZ #2566]
69811         [BZ #2576]
69812         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69813         (y0): Likewise.
69814         * math/w_j0f.c (j0f): Likewise.
69815         (y0f): Likewise.
69816         * math/w_j0l.c (__j0l): Likewise.
69817         (__y0l): Likewise.
69818         * math/w_j1.c (j1): Likewise.
69819         (y1): Likewise.
69820         * math/w_j1f.c (j1f): Likewise.
69821         (y1f): Likewise.
69822         * math/w_j1l.c (__j1l): Likewise.
69823         (__y1l): Likewise.
69824         * math/w_jn.c (jn): Likewise.
69825         (yn): Likewise.
69826         * math/w_jnf.c (jnf): Likewise.
69827         (ynf): Likewise.
69828         * math/w_jnl.c (__jnl): Likewise.
69829         (__ynl): Likewise.
69830         * math/libm-test.inc (j0_test): Add more tests.
69831         (j1_test): Likewise.
69832         (jn_test): Likewise.  Add trailing semicolon to existing test.
69833         (y0_test): Likewise.
69834         (y1_test): Likewise.
69835         * sysdeps/i386/fpu/libm-test-ulps: Update.
69836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69838         [BZ #13851]
69839         [BZ #13854]
69840         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69841         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69842         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69843         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69844         (__tanl): Set errno for infinite argument.
69845         * sysdeps/i386/fpu/mptan.c: Remove.
69846         * sysdeps/i386/fpu/s_tan.S: Likewise.
69847         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69848         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69849         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69850         * math/libm-test.inc (tan_test): Add more tests and enable more
69851         tests for double and long double.
69852         * sysdeps/i386/fpu/libm-test-ulps: Update.
69853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69855 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69857         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69858         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69860 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69862         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69863         * configure.in: Use it for both main tree and add-ons.
69864         * configure: Regenerated.
69866 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69868         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69870 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69872         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69873         in comment.
69875         [BZ #13851]
69876         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69877         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69878         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69879         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69880         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69881         infinite argument.
69882         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69883         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69884         != 0 for prec == 2.
69885         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69886         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69887         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69888         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69889         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69890         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69891         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69892         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69893         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69894         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69895         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69896         * math/libm-test.inc (cos_test): Add more tests and enable more
69897         tests for long double.
69898         (sin_test): Likewise.
69899         (sincos_test): Likewise.
69900         * sysdeps/i386/fpu/libm-test-ulps: Update.
69901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69903 2012-03-16  David S. Miller  <davem@davemloft.net>
69905         * sysdeps/sparc/fpu/math_private.h: New file.
69907 2012-03-15  David S. Miller  <davem@davemloft.net>
69909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69910         file.
69911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69913         file.
69914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69915         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69916         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69917         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69918         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69919         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69920         sysdep routines.
69921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69923         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69924         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69926         * sysdeps/sparc/sparc-ifunc.h: New file.
69927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69928         sparc-ifunc.h
69929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69931         Likewise.
69932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69933         Likewise.
69934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69938         Likewise.
69939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69944         Likewise.
69945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69946         Likewise.
69947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69953         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69954         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69956         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69958         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69961         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69962         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69963         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69964         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69965         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69966         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69967         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69968         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69969         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69970         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69972 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69974         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69975         scaling.
69976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69978 2012-03-15  Andreas Jaeger  <aj@suse.de>
69980         [BZ #13852]
69981         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69982         ieee754/flt-32 implementation for sin, cos and sincos.
69983         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69984         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69985         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69986         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69987         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69988         ieee754/flt-32 implementation for tan.
69990         * math/libm-test.inc (cos_test): Enable some large input tests for
69991         float as well
69992         (sin_test): Likewise.
69993         (sincos_test): Likewise.
69994         (tan_test): Add tests for large input.
69996         * sysdeps/i386/fpu/libm-test-ulps: Update.
69998 2012-03-15  Andreas Jaeger  <aj@suse.de>
70000         [BZ #13658]
70001         * math/libm-test.inc (cos_test): Add more test cases.
70002         (sin_test): Likewise.
70003         (sincos_test): Likewise.
70005 2012-03-15  Andreas Jaeger  <aj@suse.de>
70007         [BZ #13837]
70008         * math/libm-test.inc (cos_test): Add a test case for large input
70009         value.
70010         (sin_test): Likewise.
70011         (sincos_test): Likewise.
70013 2012-03-15  Andreas Jaeger  <aj@suse.de>
70014             Joseph Myers  <joseph@codesourcery.com>
70016         [BZ #13658]
70017         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
70018         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
70019         * sysdeps/i386/fpu/branred.c: Likewise.
70020         * sysdeps/i386/fpu/dosincos.c: Likewise.
70021         * sysdeps/i386/fpu/mpa.c: Likewise.
70022         * sysdeps/i386/fpu/s_cos.S: Likewise.
70023         * sysdeps/i386/fpu/s_sin.S: Likewise.
70024         * sysdeps/i386/fpu/s_sincos.S: Likewise.
70025         * sysdeps/i386/fpu/sincos32.c: Likewise.
70027         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
70028         Define.
70029         (libc_feupdateenv_53bit): Define.
70030         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
70031         Define.
70032         (libc_feupdateenv_53bit): Define.
70034         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
70035         53 bit (without extend i386 double precision).
70037         * math/libm-test.inc (sincos_test): Add tests for large input.
70038         (sin): Likewise.
70039         (cos): Likewise.
70041         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
70043 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
70045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70047 2012-03-15  David S. Miller  <davem@davemloft.net>
70049         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
70050         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
70051         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
70052         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
70053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
70054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
70055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
70056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
70057         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
70058         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
70059         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
70060         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
70061         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
70062         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
70063         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
70064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
70065         file.
70066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
70067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
70068         file.
70069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
70070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
70071         file.
70072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
70073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
70074         file.
70075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
70076         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
70077         fmin/fmax sysdep routines.
70078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
70080 2012-03-14  David S. Miller  <davem@davemloft.net>
70082         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
70083         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
70084         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
70085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
70086         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
70087         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
70088         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
70089         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
70090         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
70091         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
70092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
70093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
70094         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
70095         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
70096         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
70097         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
70098         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
70099         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
70100         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
70101         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
70102         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
70103         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
70104         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
70105         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
70106         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
70107         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
70108         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
70109         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
70110         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
70111         routines.
70112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
70113         file.
70114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
70115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
70116         file.
70117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
70118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
70119         file.
70120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
70121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
70122         file.
70123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
70124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
70125         file.
70126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
70127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
70128         file.
70129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
70130         file.
70131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
70132         file.
70133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
70134         file.
70135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
70136         New file.
70137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
70138         file.
70139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
70140         file.
70141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
70142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
70143         file.
70144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
70145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
70146         file.
70147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
70148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
70149         file.
70150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
70151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
70152         VIS3 routines.
70154         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
70155         New file.
70157         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70159         * sysdeps/sparc/configure.in: New file.
70160         * sysdeps/sparc/configure: Generate.
70161         * configure.in (libc_cv_sparc_as_vis3): Substitute.
70162         * configure: Regenerate.
70163         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
70164         * config.make.in (have-as-vis3): New.
70165         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
70166         available use -Av9d instead of -Av9a.
70167         * sysdeps/sparc/sparc64/Makefile: Likewise.
70168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
70169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
70170         New file.
70171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
70172         file.
70173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
70174         New file.
70175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
70176         file.
70177         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
70178         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
70179         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
70180         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
70181         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
70183         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
70184         fzeros/fnegs to load 0x80000000 into a float register instead of
70185         using the stack.
70186         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
70188 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70191         bits/syscall.h.
70192         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
70193         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
70194         ($(inst_includedir)/bits/syscall.h): Remove rule.
70195         ($(objpfx)bits/syscall.d): Include instead of
70196         $(objpfx)syscall-list.d.
70197         (generated): Change syscall-list.h and syscall-list.d to
70198         bits/syscall.h and bits/syscall.d.
70200 2012-03-14  Roland McGrath  <roland@hack.frob.com>
70202         [BZ #13846]
70203         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
70205 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
70207         [BZ #13841]
70208         * math/s_csqrt.c: Include <float.h>.
70209         (__csqrt): Scale large or subnormal inputs.
70210         * math/s_csqrtf.c: Likewise.
70211         * math/s_csqrtl.c: Likewise.
70212         * math/libm-test.inc (csqrt_test): Add more tests.
70213         * sysdeps/i386/fpu/libm-test-ulps: Update.
70214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70216         [BZ #13840]
70217         * math/libm-test.inc (hypot_test): Add more tests.
70219 2012-03-13  David S. Miller  <davem@davemloft.net>
70221         [BZ #13840]
70222         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
70223         double-precision for the calculation instead of scaling.
70225 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
70227         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
70228         manipulate bits before adding and subtracting TWO52[sx].
70229         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
70230         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
70231         Likewise.
70232         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
70234 2012-03-13  David S. Miller  <davem@davemloft.net>
70236         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
70237         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
70238         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
70239         rtld-global-offsets.h
70240         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70242         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
70243         large parameters.
70245         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
70247         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
70248         'err' in the ifdef scope in which it is actually used.
70250         * nss/nss_db/db-init.c: Include string.h
70252 2012-03-12  David S. Miller  <davem@davemloft.net>
70254         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70255         masking out of the most significant byte of random value used.
70256         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70257         Fix coding style in previous change.
70259         * sysdeps/unix/sysv/linux/kernel-features.h
70260         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
70261         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
70262         expression.
70263         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
70264         later.
70266 2012-03-11  David S. Miller  <davem@davemloft.net>
70268         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
70269         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
70270         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
70271         for 'resultvar' otherwise things get truncated on 64-bit.
70273         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70274         Fix masking out of the most significant byte of random value used.
70276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70278 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
70280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70282 2012-03-09  David S. Miller  <davem@davemloft.net>
70284         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
70285         variables with appropriate CPP guards.
70286         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
70287         from the frame pointer, not the stack pointer.  Correct layout
70288         comments.  Fix test on resulting framesize and the management of
70289         the outregs buffer for pltexit.  Preserve floating point return
70290         values across _dl_call_pltexit call.
70291         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
70292         framesize and the management of the outregs buffer for pltexit.
70293         Preserve floating point return values across _dl_call_pltexit
70294         call.
70295         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
70296         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
70297         (la_sparc64_gnu_pltexit): New functions.
70298         (print_exit): Fix format string for return register value.
70300 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
70302         * sunrpc/Makefile (others): Add rpcgen.
70303         ($(objpfx)rpcgen): Remove special build rule and dependency on
70304         libc.
70305         * sunrpc/rpcgen.c: New file.
70307 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
70309         [BZ #13673]
70310         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
70311         * stdio-common/bug-vfprintf-nargs.c: Likewise.
70312         * sysdeps/i386/crti.S: Likewise.
70313         * sysdeps/i386/crtn.S: Likewise.
70314         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
70315         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
70316         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
70317         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
70318         * sysdeps/sh/crti.S: Likewise.
70319         * sysdeps/sh/crtn.S: Likewise.
70320         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
70322         [BZ #13673]
70323         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
70324         with URL.
70325         * locale/programs/locfile-kw.gperf: Likewise.
70326         * locale/programs/charmap-kw.h: Regenerated.
70327         * locale/programs/locfile-kw.h: Likewise.
70329         [BZ #13673]
70330         * intl/plural.y: Replace FSF snail mail address with URL.
70331         * intl/plural.c: Regenerated.
70333 2012-03-09  Richard Henderson  <rth@twiddle.net>
70335         * include/math_private.h: Remove file.
70336         * math/math_private.h: Move file ...
70337         * sysdeps/generic/math_private.h: ... here.
70339         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
70340         * sysdeps/powerpc/fpu/math_private.h: Likewise.
70341         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70343         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
70344         and <math_private.h>.
70345         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
70346         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
70347         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
70348         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
70349         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
70350         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
70351         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
70352         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70353         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70354         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70355         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70356         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70357         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70358         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70359         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70360         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70361         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70362         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70363         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70364         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70365         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70366         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70367         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70369         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
70370         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70371         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70372         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70373         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70374         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
70375         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70376         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70377         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
70378         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
70379         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
70380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
70381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
70382         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
70383         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
70384         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70385         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
70386         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
70387         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
70388         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
70389         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
70390         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
70391         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
70392         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
70393         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
70394         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
70395         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
70396         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
70397         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
70398         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
70399         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
70400         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70401         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
70402         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
70403         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
70404         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
70405         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70406         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
70407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70408         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
70409         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
70410         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70411         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70412         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70413         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
70414         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
70415         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
70416         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70417         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
70418         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70419         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
70420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
70421         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
70422         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
70423         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
70424         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
70425         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
70426         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
70427         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
70428         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70429         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
70430         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
70431         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
70432         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
70433         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70434         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70435         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70436         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70437         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70438         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70439         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70440         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70441         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70442         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70443         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70444         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70445         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70446         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70447         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70448         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70449         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
70450         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70451         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70452         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
70454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
70455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
70456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
70457         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70458         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
70459         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
70460         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70461         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
70462         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
70463         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
70464         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
70465         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
70466         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
70467         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70468         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
70469         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
70470         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
70471         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70472         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
70473         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70474         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70475         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70476         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70477         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70478         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70479         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70480         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70481         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70482         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70483         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70484         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70485         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70486         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70487         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70488         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70489         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70490         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70491         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70492         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70493         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70494         * sysdeps/ieee754/k_standard.c: Likewise.
70495         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70496         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70497         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70498         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70499         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70500         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70501         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70502         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70503         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70504         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70505         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70506         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70507         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70508         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70509         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70510         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70511         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70512         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70513         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70514         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70515         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70516         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70517         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70518         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70519         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70520         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70521         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70522         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70523         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70524         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70525         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70526         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70527         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70528         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70529         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70530         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70531         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70532         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70533         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70534         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70535         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70536         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70537         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70538         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70539         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70540         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70541         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70543         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70546         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70547         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70548         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70551         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70552         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70553         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70554         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70555         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70556         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70557         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70559         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70561         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70562         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70563         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70564         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70565         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70567         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70568         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70569         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70570         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70571         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70572         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70573         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70574         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70575         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70576         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70577         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70578         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70579         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70580         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70581         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70582         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70583         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70584         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70585         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70586         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70587         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70588         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70591         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70592         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70593         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70594         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70595         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70597         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70598         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70599         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70600         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70601         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70602         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70603         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70604         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70605         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70606         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70607         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70608         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70609         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70610         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70611         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70612         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70613         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70614         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70615         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70616         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70617         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70618         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70619         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70620         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70621         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70622         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70623         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70624         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70625         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70626         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70627         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70628         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70632         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70633         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70634         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70635         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70637         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70638         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70639         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70641         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70643         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70644         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70645         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70646         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70647         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70649         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70650         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70651         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70652         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70653         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70654         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70655         * sysdeps/ieee754/s_lib_version.c: Likewise.
70656         * sysdeps/ieee754/s_matherr.c: Likewise.
70657         * sysdeps/ieee754/s_signgam.c: Likewise.
70658         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70659         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70660         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70661         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70662         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70663         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70664         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70665         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70666         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70667         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70668         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70669         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70670         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70671         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70672         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70673         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70674         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70675         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70676         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70677         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70680 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70682         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70683         * sunrpc/rpc_main.c: Likewise.
70684         * sunrpc/rpc_svcout.c: Likewise.
70686 2012-03-09  David S. Miller  <davem@davemloft.net>
70688         * include/math_private.h: New file.
70690 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70692         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70693         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70694         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70695         from <bits/socket_type.h>.
70696         (enum __socket_type): Don't define here.
70697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70698         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70699         bits/socket_type.h.
70701         [BZ #13566]
70702         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70703         checking __USE_GNU.
70705         * Makerules ($(inst_includedir)/%.h): New rule.
70706         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70707         (install-others): Remove variable setting.
70708         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70710 2012-03-08  Richard Henderson  <rth@twiddle.net>
70712         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70713         from macro to inline function; merge with the
70714         !__LIBC_INTERNAL_MATH_INLINES version.
70715         (__ieee754_sqrtf): Likewise.
70717         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70718         to inline function.
70719         (__rintf, __floor, __floorf): Likewise.
70721         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70722         macro to inline function.
70723         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70725         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70726         not <math/math_private.h>.
70728 2012-03-08  David S. Miller  <davem@davemloft.net>
70730         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70731         copyright year.
70732         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70734 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70736         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70737         normalization.
70738         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70739         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70741 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70743         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70744         be defined individually, they must be defined as a block.  Define
70745         S for printing a string instead of hidint the different by using a
70746         macro for adding the 'l'.
70747         * stdio-common/tst-fphex-wide.c: Adjust.
70749 2012-03-07  Marek Polacek  <polacek@redhat.com>
70751         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70753 2012-03-08  Marek Polacek  <polacek@redhat.com>
70755         [BZ #13806]
70756         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70757         * stdio-common/tst-fphex.c: Define a few macros to make the
70758         test reusable.  Use them.
70759         * stdio-common/tst-fphex-wide.c: New file.
70761 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70763         [BZ #6911]
70764         * manual/macros.texi (gnusystems): New macro.
70765         (nongnusystems): Likewise.
70766         (gnulinuxhurdsystems): Likewise.
70767         (gnuhurdsystems): Likewise..
70768         (gnulinuxsystems): Likewise.
70769         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70770         variants of the GNU system, not "GNU system".
70771         * manual/conf.texi: Likewise.
70772         * manual/errno.texi: Likewise.  Update example of errno macro
70773         expansion.
70774         * manual/filesys.texi: Likewise.
70775         (getumask): Document as specific to GNU/Hurd.
70776         * manual/install.texi: Likewise.  Reword some references to
70777         GNU/Linux.
70778         * manual/intro.texi: Likewise.
70779         * manual/io.texi: Likewise.
70780         (File Name Portability): Detail which constraints are inapplicable
70781         to all GNU systems and which are only inapplicable to GNU/Hurd.
70782         * manual/job.texi: Likewise.
70783         * manual/llio.texi: Likewise.
70784         (O_NOCTTY): Document as present on GNU/Linux.
70785         * manual/maint.texi: Likewise.
70786         * manual/memory.texi: Likewise.
70787         * manual/pattern.texi: Likewise.
70788         * manual/pipe.texi: Likewise.
70789         * manual/process.texi: Likewise.
70790         * manual/resource.texi: Likewise.
70791         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70792         child on GNU/Hurd.
70793         * manual/setjmp.texi: Likewise.
70794         * manual/signal.texi: Likewise.
70795         * manual/startup.texi: Likewise.
70796         * manual/stdio.texi: Likewise.
70797         * manual/terminal.texi: Likewise.
70798         (ONLCR): Document as POSIX.
70799         (OXTABS): Document availability on GNU/Linux as XTABS.
70800         (ONOEOT): Document availability separately from other bits.
70801         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70802         * manual/time.texi: Likewise.
70803         * manual/users.texi: Likewise.
70804         * INSTALL: Regenerated.
70805         * sysdeps/gnu/errlist.c: Regenerated.
70807         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70808         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70809         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70810         puts.
70811         * configure: Regenerated.
70813 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70815         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70816         default includes instead of AC_HEADER_CHECK.
70817         * sysdeps/i386/configure: Regenerated.
70819         [BZ #10716]
70820         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70821         * math/s_cacoshf.c (__cacoshf): Likewise.
70822         * math/s_cacoshl.c (__cacoshl): Likewise.
70823         * math/s_casinh.c (__casinh): Set signs of result from argument.
70824         * math/s_casinhf.c (__casinhf): Likewise.
70825         * math/s_casinhl.c (__casinhl): Likewise.
70826         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70827         (casinh_test): Add more tests.
70828         * sysdeps/i386/fpu/libm-test-ulps: Update.
70829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70831 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70833         * po/zh_TW.po: Update from translation team.
70835         * login/Makefile (distribute): Remove variable.
70836         * catgets/Makefile: Likewise.
70837         * mach/Makefile: Likewise.
70838         * malloc/Makefile: Likewise.
70839         * misc/Makefile: Likewise.
70840         * iconv/Makefile: Likewise.
70841         * nscd/Makefile: Likewise.
70842         * hurd/Makefile: Likewise.
70843         * manual/Makefile: Likewise.
70844         * locale/Makefile: Likewise.
70845         * intl/Makefile: Likewise.
70846         * conform/Makefile: Likewise.
70847         * nss/Makefile: Likewise.
70848         * time/Makefile: Likewise.
70849         * soft-fp/Makefile: Likewise.
70850         * dirent/Makefile: Likewise.
70851         * gmon/Makefile: Likewise.
70852         * po/Makefile: Likewise.
70853         * rt/Makefile: Likewise.
70854         * socket/Makefile: Likewise.
70855         * math/Makefile: Likewise.
70856         * signal/Makefile: Likewise.
70857         * debug/Makefile: Likewise.
70858         * elf/Makefile: Likewise.
70859         * timezone/Makefile: Likewise.
70860         * stdlib/Makefile: Likewise.
70861         * iconvdata/Makefile: Likewise.
70862         * sunrpc/Makefile: Likewise.
70863         * io/Makefile: Likewise.
70864         * argp/Makefile: Likewise.
70865         * inet/Makefile: Likewise.
70866         * hesiod/Makefile: Likewise.
70867         * grp/Makefile: Likewise.
70868         * csu/Makefile: Likewise.
70869         * wctype/Makefile: Likewise.
70870         * crypt/Makefile: Likewise.
70871         * libio/Makefile: Likewise.
70872         * string/Makefile: Likewise.
70873         * nis/Makefile: Likewise.
70874         * resolv/Makefile: Likewise.
70875         * stdio-common/Makefile: Likewise.
70876         * wcsmbs/Makefile: Likewise.
70877         * dlfcn/Makefile: Likewise.
70878         * posix/Makefile: Likewise.
70880         [BZ #6959]
70881         * timezone/Makefile: Don't install timezone files, just the programs
70882         and scripts.
70884 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70886         * nss/databases.def: Add missing gshadow entry.
70888         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70890 2012-03-06  Marek Polacek  <polacek@redhat.com>
70892         [BZ #13726]
70893         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70894         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70895         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70896         * stdio-common/tst-long-dbl-fphex.c: New file.
70898 2012-03-06  David S. Miller  <davem@davemloft.net>
70900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70901         (set_obp_int): New function.
70902         (get_obp_int): New function.
70903         (__get_clockfreq_via_dev_openprom): Likewise.
70904         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70905         Avoid unused variable warnings on 'val' and use builtin_expect.
70906         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70907         __builtin_expect.
70908         (INLINE_CLONE_SYSCALL): Likewise.
70910 2012-03-05  David S. Miller  <davem@davemloft.net>
70912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70914 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70918         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70919         only for |x| >= 40.
70920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70922 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70924         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70925         Replace gettimeofday with __vdso_gettimeofday.
70927         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70928         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70929         __vdso_clock_gettime and __vdso_getcpu.
70931         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70932         time with __vdso_time.
70934 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70936         * manual/lang.texi (size_t): Note types to which size_t may be
70937         equivalent with the GNU C Library, but do not describe when
70938         differences between them are significant.
70940 2012-03-05  Andreas Jaeger  <aj@suse.de>
70942         * sysdeps/i386/fpu/libm-test-ulps: Update.
70944 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70946         [BZ #3976]
70947         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70948         (__ieee754_pow): Save and restore rounding mode and use
70949         round-to-nearest for main computations.
70950         * math/libm-test.inc (pow_test_tonearest): New function.
70951         (pow_test_towardzero): Likewise.
70952         (pow_test_downward): Likewise.
70953         (pow_test_upward): Likewise.
70954         (main): Call the new functions.
70955         * sysdeps/i386/fpu/libm-test-ulps: Update.
70956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70958         [BZ #3976]
70959         * math/libm-test.inc (cosh_test_tonearest): New function.
70960         (cosh_test_towardzero): Likewise.
70961         (cosh_test_downward): Likewise.
70962         (cosh_test_upward): Likewise.
70963         (sinh_test_tonearest): Likewise.
70964         (sinh_test_towardzero): Likewise.
70965         (sinh_test_downward): Likewise.
70966         (sinh_test_upward): Likewise.
70967         (main): Call the new functions.
70968         * sysdeps/i386/fpu/libm-test-ulps: Update.
70969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70971 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70973         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70974         default stack guard is set in last bytes.
70975         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70977 2012-03-05  Kees Cook  <keescook@chromium.org>
70979         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70981         [BZ #13656]
70982         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70983         possibly allocate from heap instead of stack.
70984         * stdio-common/bug-vfprintf-nargs.c: New file.
70985         * stdio-common/Makefile (tests): Add nargs overflow test.
70987 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70991 2012-03-03  Marek Polacek  <polacek@redhat.com>
70993         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70994         * math/math_private.h: Likewise.
70995         * stdlib/tst-strtod.c: Likewise.
70996         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70997         * sysdeps/x86_64/bits/atomic.h: Likewise.
70999 2012-03-02  David S. Miller  <davem@davemloft.net>
71001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
71002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
71003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
71004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
71005         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
71006         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
71007         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
71008         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
71010 2012-03-02  Roland McGrath  <roland@hack.frob.com>
71012         [BZ #13792]
71013         * manual/examples/README: New file, says the example source files
71014         can be used under GPL>=2.
71015         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
71016         line containing just "*/".
71017         * manual/examples/add.c: Add copyright header (GPL>=2).
71018         * manual/examples/argp-ex1.c: Likewise.
71019         * manual/examples/argp-ex2.c: Likewise.
71020         * manual/examples/argp-ex3.c: Likewise.
71021         * manual/examples/argp-ex4.c: Likewise.
71022         * manual/examples/atexit.c: Likewise.
71023         * manual/examples/db.c: Likewise.
71024         * manual/examples/dir.c: Likewise.
71025         * manual/examples/dir2.c: Likewise.
71026         * manual/examples/execinfo.c: Likewise.
71027         * manual/examples/filecli.c: Likewise.
71028         * manual/examples/filesrv.c: Likewise.
71029         * manual/examples/fmtmsgexpl.c: Likewise.
71030         * manual/examples/genpass.c: Likewise.
71031         * manual/examples/inetcli.c: Likewise.
71032         * manual/examples/inetsrv.c: Likewise.
71033         * manual/examples/isockad.c: Likewise.
71034         * manual/examples/longopt.c: Likewise.
71035         * manual/examples/memopen.c: Likewise.
71036         * manual/examples/memstrm.c: Likewise.
71037         * manual/examples/mkfsock.c: Likewise.
71038         * manual/examples/mkisock.c: Likewise.
71039         * manual/examples/mygetpass.c: Likewise.
71040         * manual/examples/pipe.c: Likewise.
71041         * manual/examples/popen.c: Likewise.
71042         * manual/examples/rprintf.c: Likewise.
71043         * manual/examples/search.c: Likewise.
71044         * manual/examples/select.c: Likewise.
71045         * manual/examples/setjmp.c: Likewise.
71046         * manual/examples/sigh1.c: Likewise.
71047         * manual/examples/sigusr.c: Likewise.
71048         * manual/examples/stpcpy.c: Likewise.
71049         * manual/examples/strdupa.c: Likewise.
71050         * manual/examples/strftim.c: Likewise.
71051         * manual/examples/strncat.c: Likewise.
71052         * manual/examples/subopt.c: Likewise.
71053         * manual/examples/swapcontext.c: Likewise.
71054         * manual/examples/termios.c: Likewise.
71055         * manual/examples/testopt.c: Likewise.
71056         * manual/examples/testpass.c: Likewise.
71057         * manual/examples/timeval_subtract.c: Likewise.
71059         [BZ #13792]
71060         * manual/time.texi (Elapsed Time): Move timeval_subtract example
71061         function to ...
71062         * manual/timeval_subtract.c.texi: ... here, new file.
71064 2012-03-02  David S. Miller  <davem@davemloft.net>
71066         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
71068 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
71070         [BZ #3976]
71071         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
71072         (__sin): Save and restore rounding mode and use round-to-nearest
71073         for all computations.
71074         (__cos): Save and restore rounding mode and use round-to-nearest
71075         for all computations.
71076         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
71077         <fenv.h>.
71078         (tan): Save and restore rounding mode and use round-to-nearest for
71079         all computations.
71080         * math/libm-test.inc (cos_test_tonearest): New function.
71081         (cos_test_towardzero): Likewise.
71082         (cos_test_downward): Likewise.
71083         (cos_test_upward): Likewise.
71084         (sin_test_tonearest): Likewise.
71085         (sin_test_towardzero): Likewise.
71086         (sin_test_downward): Likewise.
71087         (sin_test_upward): Likewise.
71088         (tan_test_tonearest): Likewise.
71089         (tan_test_towardzero): Likewise.
71090         (tan_test_downward): Likewise.
71091         (tan_test_upward): Likewise.
71092         (main): Call the new functions.
71093         * sysdeps/i386/fpu/libm-test-ulps: Update.
71094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71096         [BZ #10135]
71097         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
71098         small n, then large n, before computing and testing k+n.
71099         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
71100         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
71101         Likewise.
71102         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
71103         Likewise.
71104         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
71105         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
71106         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
71107         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
71108         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
71109         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
71110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
71111         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
71112         * math/libm-test.inc (scalbn_test): Add more tests.
71113         (scalbln_test): Likewise.
71115         * manual/filesys.texi (mode_t): Describe constraints on size and
71116         signedness, not exact equivalence to a particular type.
71117         (ino_t): Likewise.
71118         (ino64_t): Likewise.
71119         (dev_t): Likewise.
71120         (nlink_t): Likewise.
71121         (blkcnt_t): Likewise.
71122         (blkcnt64_t): Likewise.
71123         * manual/llio.texi (off_t): Likewise.
71125         [BZ #3976]
71126         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
71127         (__ieee754_exp): Save and restore rounding mode and use
71128         round-to-nearest for all computations.
71129         * math/libm-test.inc (exp_test_tonearest): New function.
71130         (exp_test_towardzero): Likewise.
71131         (exp_test_downward): Likewise.
71132         (exp_test_upward): Likewise.
71133         (main): Call the new functions.
71134         * sysdeps/i386/fpu/libm-test-ulps: Update.
71135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71137 2012-03-01  Chris Demetriou  <cgd@google.com>
71139         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
71140         have predictable order.
71142 2012-03-01  David S. Miller  <davem@davemloft.net>
71144         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
71146         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
71147         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
71148         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
71149         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
71151         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
71152         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
71153         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
71154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
71155         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
71156         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
71157         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
71158         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
71159         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
71161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71163         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
71164         * sysdeps/sparc/fpu/libm-test-ulps: to here.
71165         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
71167         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
71168         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71169         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71170         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
71171         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
71172         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
71173         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
71174         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71175         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71176         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
71177         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
71178         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71180         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71181         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71182         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71183         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
71184         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
71185         * sysdeps/sparc/elf/configure: Regenerated.
71187 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
71189         * configure.in (AS, LD): Require binutils 2.20 or later.
71190         * configure: Regenerated.
71191         * manual/install.texi (Tools for Compilation): Give binutils 2.20
71192         as required minimum version.
71193         * INSTALL: Regenerated.
71195         [BZ #2541]
71196         [BZ #4108]
71197         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
71198         before squaring exponent.
71199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
71200         bottom long double and 27 bits of top long double before squaring
71201         exponent.
71202         * math/libm-test.inc (erfc_test): Add more tests.
71203         * sysdeps/i386/fpu/libm-test-ulps: Update.
71204         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71207 2012-03-01  Kai Tietz  <ktietz@redhat.com>
71209         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
71210         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
71211         containing bit-fields.
71212         * soft-fp/extended.h (_FP_UNION_E): Likewise.
71213         * soft-fp/single.h (_FP_UNION_S): Likewise.
71214         * soft-fp/double.h (_FP_UNION_D): Likewise.
71216 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71218         [BZ #13786]
71219         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
71220         not include ../strcmp.S.
71221         [USE_AS_STRNCASECMP_L]: Likewise.
71222         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
71223         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
71224         * sysdeps/i386/i686/multiarch/strncase_l-c.c
71225         (__strncasecmp_l_ia32): Define as alias to
71226         __strncasecmp_l_nonascii.
71228         [BZ #5794]
71229         * math/libm-test.inc (expm1_test): Add test for bug 5794.
71230         * sysdeps/i386/fpu/libm-test-ulps: Update.
71231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71233         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
71234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71236 2012-02-29  Jeff Law  <law@redhat.com>
71238         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
71239         out of bounds read.
71241 2012-02-29  Marek Polacek  <polacek@redhat.com>
71243         [BZ #13706]
71244         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
71245         * elf/Makefile: Add rules to run tst-unused-dep.out.
71247 2012-02-28  David S. Miller  <davem@davemloft.net>
71249         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
71250         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
71251         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
71252         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
71253         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
71254         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
71256 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
71258         * math/libm-test.inc (llround_test): Move one test from
71259         lround_test.  Use TEST_f_L in moved test.
71260         (lround_test): Move misplaced test to llround_test.  Add testcase
71261         from bug 2561.
71263 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
71265         * sysdeps/x86_64/fpu/e_expf.S: New file.
71266         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
71268 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
71270         [BZ #13637]
71271         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
71272         of remain_len that may cause incomplete multi-byte character and
71273         false match.
71274         * posix/bug-regex33.c: New file.
71275         * posix/Makefile (tests): Add bug-regex33.
71277 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
71279         * manual/macros.texi: New file.
71280         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
71281         * manual/libc.texinfo: Include macros.texi.
71282         * manual/creatute.texi: Likewise.
71283         * manual/install.texi: Likewise.
71284         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
71285         @glibcadj{} in references to the GNU C Library.
71286         * manual/charset.texi: Likewise.
71287         * manual/conf.texi: Likewise.
71288         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
71289         when not using those macros.
71290         * manual/creature.texi: Likewise.
71291         * manual/crypt.texi: Likewise.
71292         * manual/errno.texi: Likewise.
71293         * manual/filesys.texi: Likewise.
71294         * manual/header.texi: Likewise.
71295         * manual/install.texi: Likewise.
71296         * manual/intro.texi: Likewise.
71297         * manual/io.texi: Likewise.
71298         * manual/job.texi: Likewise.
71299         * manual/lang.texi: Likewise.
71300         * manual/libc.texiinfo: Likewise.
71301         * manual/llio.texi: Likewise.
71302         * manual/locale.texi: Likewise.
71303         * manual/maint.texi: Likewise.
71304         * manual/math.texi: Likewise.
71305         * manual/memory.texi: Likewise.
71306         * manual/message.texi: Likewise.
71307         * manual/nss.texi: Likewise.
71308         * manual/pattern.texi: Likewise.
71309         * manual/process.texi: Likewise.
71310         * manual/resource.texi: Likewise.
71311         * manual/search.texi: Likewise.
71312         * manual/setjmp.texi: Likewise.
71313         * manual/signal.texi: Likewise.
71314         * manual/socket.texi: Likewise.
71315         * manual/startup.texi: Likewise.
71316         * manual/stdio.texi: Likewise.
71317         * manual/string.texi: Likewise.
71318         * manual/sysinfo.texi: Likewise.
71319         * manual/syslog.texi: Likewise.
71320         * manual/terminal.texi: Likewise.
71321         * manual/time.texi: Likewise.
71322         * manual/users.texi: Likewise.
71323         * INSTALL: Regenerated.
71324         * NOTES: Regenerated.
71325         * sysdeps/gnu/errlist.c: Regenerated.
71327 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
71329         * include/dirent.h: Include <dirstream.h> before
71330         <dirent/dirent.h>.
71332 2012-02-28  David S. Miller  <davem@davemloft.net>
71334         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
71335         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
71336         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
71337         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
71339 2012-02-27  David S. Miller  <davem@davemloft.net>
71341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
71342         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
71343         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
71344         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
71346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
71347         frame pointer instead of stack pointer relative arg slot.
71348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71349         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71350         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71352 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
71354         [BZ #3992]
71355         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
71357 2012-02-27  David S. Miller  <davem@davemloft.net>
71359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
71360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
71361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
71363         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
71364         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
71365         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
71366         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
71368 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71370         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
71371         later.  Allow versions 5-9.
71372         * configure: Regenerated.
71373         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
71374         required minimum version and 4.6 as recommended version.  Do not
71375         mention bugs in GCC 2.7 and 2.8.
71376         * INSTALL: Regenerated.
71378 2012-02-27  David S. Miller  <davem@davemloft.net>
71380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
71381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
71382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
71383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
71384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
71385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
71386         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
71387         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
71389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
71390         manipulate bits before adding and subtracting TWO112[sx].
71391         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
71393 2012-02-27  Roland McGrath  <roland@hack.frob.com>
71395         [BZ #13775]
71396         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
71397         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
71398         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
71399         being in POSIX, because they are in 1003.1-2008.
71401         * rt/tst-aio.c: Include <fcntl.h>.
71402         * rt/tst-aio7.c: Likewise.
71403         * rt/tst-aio64.c: Likewise.
71405         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
71407 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
71409         * manual/install.texi (--with-headers): Describe headers as
71410         interface headers, not private headers.
71411         (Specific advice for GNU/Linux systems): Describe use of headers
71412         from "make headers_install", not private headers from older
71413         kernels.
71414         * INSTALL: Regenerated.
71415         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
71416         Change to 2.6.19.
71417         * sysdeps/unix/sysv/linux/configure: Regenerated.
71419         * manual/llio.texi (fclean): Remove documentation.
71421         * manual/Makefile (libc-texi-generated): New variable.  Include
71422         version.texi.
71423         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
71424         $(libc-texi-generated), not duplicated list of files.
71425         (version.texi, stamp-version): New rules.
71426         (realclean): Remove $(libc-texi-generated), not individual files
71427         from that list.  Do not remove dir-add.texinfo.
71428         * manual/libc.texinfo: Comment out uses of edition numbers and
71429         references to printed manual.  Remove last-updated dates.
71430         (EDITION): Comment out.
71431         (ISBN): Likewise.
71432         (VERSION, UPDATED): Remove.
71433         (version.texi): Include.
71435 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
71437         * sysdeps/posix/spawni.c: Include <signal.h>.
71438         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
71439         * sysdeps/pthread/aio_fsync.c: Likewise.
71441 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
71443         * conform/Makefile (tests): Run only when not cross-compiling and
71444         when fast-check is not defined.
71446         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
71447         * conform/data/limits.h-data: Fixes for POSIX2008.
71448         * conform/run-conformtest.sh: Run all tests.
71449         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
71450         headers.
71451         * include/bits/dlfcn.h: Likewise.
71452         * include/langinfo.h: Likewise.
71453         * include/monetary.h: Likewise.
71454         * include/sys/poll.h: Likewise.
71456         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
71457         for __USE_GNU.
71458         * posix/spawn.h: Define __need_sigset_t.
71459         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
71460         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
71461         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
71462         to get sigevent_t only.
71463         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
71464         only for __USE_GNU.
71465         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71466         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
71467         process_vm_writev only for __USE_GNU.
71468         * termios/termios.h: Declare tcgetsid also for POSIX2008.
71470         * conform/Makefile: For now ignore errors from run-conformtest.
71471         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
71472         POSIX to avoid namespace pollution.  Don't prepend headers.
71473         * conform/data/aio.h-data: Fixes for POSIX testing.
71474         * conform/data/fcntl.h-data: Likewise.
71475         * conform/data/glob.h-data: Likewise.
71476         * conform/data/grp.h-data: Likewise.
71477         * conform/data/pthread.h-data: Likewise.
71478         * conform/data/pwd.h-data: Likewise.
71479         * conform/data/signal.h-data: Likewise.
71480         * conform/data/spawn.h-data: Likewise.
71481         * conform/data/stdio.h-data: Likewise.
71482         * conform/data/stdlib.h-data: Likewise.
71483         * conform/data/stropts.h-data: Likewise.
71484         * conform/data/sys/mman.h-data: Likewise.
71485         * conform/data/sys/stat.h-data: Likewise.
71486         * conform/data/sys/types.h-data: Likewise.
71487         * conform/data/sys/wait.h-data: Likewise.
71488         * conform/data/time.h-data: Likewise.
71489         * conform/data/unistd.h-data: Likewise.
71490         * conform/data/utime.h-data: Likewise.
71492         * io/sys/stat.h: fchmod was always in POSIX.
71493         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71494         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71495         * rt/aio.h: Define __need_timespec before including <time.h>.
71496         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71497         struct.  Add forward declaration of pthread_attr_t and use it in
71498         sigevent.
71499         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71500         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71501         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71502         always remove CLK_TCK definition.
71504 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71506         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71508 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71510         * conform/run-conformtest.sh: New file.
71511         * conform/Makefile: Run run-conformtest for tests.
71512         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71513         support.
71515         * conform/data/uchar.h-data: New file.
71516         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71517         * conform/data/arpa/inet.h-data: Likewise.
71518         * conform/data/assert.h-data: Likewise.
71519         * conform/data/complex.h-data: Likewise.
71520         * conform/data/cpio.h-data: Likewise.
71521         * conform/data/ctype.h-data: Likewise.
71522         * conform/data/dirent.h-data: Likewise.
71523         * conform/data/dlfcn.h-data: Likewise.
71524         * conform/data/errno.h-data: Likewise.
71525         * conform/data/fcntl.h-data: Likewise.
71526         * conform/data/float.h-data: Likewise.
71527         * conform/data/fmtmsg.h-data: Likewise.
71528         * conform/data/fnmatch.h-data: Likewise.
71529         * conform/data/ftw.h-data: Likewise.
71530         * conform/data/glob.h-data: Likewise.
71531         * conform/data/grp.h-data: Likewise.
71532         * conform/data/iconv.h-data: Likewise.
71533         * conform/data/inttypes.h-data: Likewise.
71534         * conform/data/langinfo.h-data: Likewise.
71535         * conform/data/libgen.h-data: Likewise.
71536         * conform/data/limits.h-data: Likewise.
71537         * conform/data/locale.h-data: Likewise.
71538         * conform/data/math.h-data: Likewise.
71539         * conform/data/monetary.h-data: Likewise.
71540         * conform/data/mqueue.h-data: Likewise.
71541         * conform/data/ndbm.h-data: Likewise.
71542         * conform/data/net/if.h-data: Likewise.
71543         * conform/data/netdb.h-data: Likewise.
71544         * conform/data/netinet/in.h-data: Likewise.
71545         * conform/data/nl_types.h-data: Likewise.
71546         * conform/data/poll.h-data: Likewise.
71547         * conform/data/pthread.h-data: Likewise.
71548         * conform/data/pwd.h-data: Likewise.
71549         * conform/data/regex.h-data: Likewise.
71550         * conform/data/sched.h-data: Likewise.
71551         * conform/data/search.h-data: Likewise.
71552         * conform/data/semaphore.h-data: Likewise.
71553         * conform/data/setjmp.h-data: Likewise.
71554         * conform/data/signal.h-data: Likewise.
71555         * conform/data/spawn.h-data: Likewise.
71556         * conform/data/stdarg.h-data: Likewise.
71557         * conform/data/stdio.h-data: Likewise.
71558         * conform/data/stdlib.h-data: Likewise.
71559         * conform/data/string.h-data: Likewise.
71560         * conform/data/strings.h-data: Likewise.
71561         * conform/data/stropts.h-data: Likewise.
71562         * conform/data/sys/ipc.h-data: Likewise.
71563         * conform/data/sys/mman.h-data: Likewise.
71564         * conform/data/sys/msg.h-data: Likewise.
71565         * conform/data/sys/resource.h-data: Likewise.
71566         * conform/data/sys/select.h-data: Likewise.
71567         * conform/data/sys/sem.h-data: Likewise.
71568         * conform/data/sys/shm.h-data: Likewise.
71569         * conform/data/sys/socket.h-data: Likewise.
71570         * conform/data/sys/stat.h-data: Likewise.
71571         * conform/data/sys/statvfs.h-data: Likewise.
71572         * conform/data/sys/time.h-data: Likewise.
71573         * conform/data/sys/timeb.h-data: Likewise.
71574         * conform/data/sys/times.h-data: Likewise.
71575         * conform/data/sys/types.h-data: Likewise.
71576         * conform/data/sys/uio.h-data: Likewise.
71577         * conform/data/sys/un.h-data: Likewise.
71578         * conform/data/sys/utsname.h-data: Likewise.
71579         * conform/data/sys/wait.h-data: Likewise.
71580         * conform/data/syslog.h-data: Likewise.
71581         * conform/data/tar.h-data: Likewise.
71582         * conform/data/termios.h-data: Likewise.
71583         * conform/data/utime.h-data: Likewise.
71584         * conform/data/utmpx.h-data: Likewise.
71585         * conform/data/varargs.h-data: Likewise.
71586         * conform/data/wchar.h-data: Likewise.
71587         * conform/data/wctype.h-data: Likewise.
71588         * conform/data/wordexp.h-data: Likewise.
71590         * include/stropts.h: New file.
71591         * include/uchar.h: New file.
71592         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71593         * include/assert.h: Likewise.
71594         * include/ctype.h: Likewise.
71595         * include/dirent.h: Likewise.
71596         * include/dlfcn.h: Likewise.
71597         * include/fcntl.h: Likewise.
71598         * include/fnmatch.h: Likewise.
71599         * include/glob.h: Likewise.
71600         * include/grp.h: Likewise.
71601         * include/libio.h: Likewise.
71602         * include/locale.h: Likewise.
71603         * include/math.h: Likewise.
71604         * include/net/if.h: Likewise.
71605         * include/netdb.h: Likewise.
71606         * include/netinet/in.h: Likewise.
71607         * include/pthread.h: Likewise.
71608         * include/pwd.h: Likewise.
71609         * include/regex.h: Likewise.
71610         * include/sched.h: Likewise.
71611         * include/search.h: Likewise.
71612         * include/setjmp.h: Likewise.
71613         * include/signal.h: Likewise.
71614         * include/stdio.h: Likewise.
71615         * include/stdlib.h: Likewise.
71616         * include/string.h: Likewise.
71617         * include/sys/cdefs.h: Likewise.
71618         * include/sys/mman.h: Likewise.
71619         * include/sys/msg.h: Likewise.
71620         * include/sys/resource.h: Likewise.
71621         * include/sys/select.h: Likewise.
71622         * include/sys/socket.h: Likewise.
71623         * include/sys/stat.h: Likewise.
71624         * include/sys/statvfs.h: Likewise.
71625         * include/sys/time.h: Likewise.
71626         * include/sys/times.h: Likewise.
71627         * include/sys/uio.h: Likewise.
71628         * include/sys/utsname.h: Likewise.
71629         * include/sys/wait.h: Likewise.
71630         * include/termios.h: Likewise.
71631         * include/time.h: Likewise.
71632         * include/ulimit.h: Likewise.
71633         * include/unistd.h: Likewise.
71634         * include/utime.h: Likewise.
71635         * include/wchar.h: Likewise.
71636         * include/wctype.h: Likewise.
71637         * include/wordexp.h: Likewise.
71639         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71641         * time/time.h: TIME_UTC must be a macro.
71642         Make timespec_get available for ISO C11 only as well.
71644 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71646         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71647         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71649 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71651         * configure.in: Use -o not -a in test for unsupported multi-arch.
71653 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71655         * manual/texinfo.tex: Update to version 2012-01-19.16.
71657 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71659         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71661 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71663         [BZ #13738]
71664         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71665         * manual/fdl-1.3.texi: New file.
71666         * manual/fdl-1.1.texi: File removed.
71668         [BZ #13738]
71669         * manual/libc.texinfo (FDL_VERSION): New @set.
71670         Use it for mention of FDL in cover text.
71671         (Documentation License): Use it in @include file name.
71673 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71674             Roland McGrath  <roland@hack.frob.com>
71676         [BZ #5461]
71677         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71678         (not LONG_LONG_MAX and LONG_LONG_MIN.
71679         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71680         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71681         name.
71682         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71684 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71686         [BZ #2547]
71687         [BZ #11365]
71688         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71689         manipulate bits before adding and subtracting TWO23[sx].
71690         * math/libm-test.inc (nearbyint_test): Add more tests.
71692 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71694         [BZ #2548]
71695         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71696         bits before adding and subtracting TWO23[sx].
71697         * math/libm-test.inc (rint_test): Add more tests.
71698         (rint_test_tonearest): Likewise.
71699         (rint_test_towardzero): Likewise.
71700         (rint_test_downward): Likewise.
71701         (rint_test_upward: Likewise.
71703 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71705         [BZ #10110]
71706         * include/stdc-predef.h: New file.  Extracted from features.h.
71707         * include/features.h: Include stdc-predef.h.
71708         * Makefile (headers): Add stdc-predef.h.
71709         * CONFORMANCE (Compiler limitations): Update.
71711 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71713         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71715 2012-02-21  David S. Miller  <davem@davemloft.net>
71717         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71718         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71720 2012-02-20  David S. Miller  <davem@davemloft.net>
71722         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71723         using a normal save/restore sequence, rather than allocating a
71724         dummy stack frame just to store a frame pointer and restore.
71725         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71727 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71729         * manual/install.texi: Fix stray word in line-wrapped comment.
71731 2012-02-20  David S. Miller  <davem@davemloft.net>
71733         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71734         both binutils and gcc support GOTDATA.
71736         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71737         "rd %pc" in the PIC register setup sequences.
71739         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71740         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71741         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71742         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71743         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71745         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71747         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71748         (SYSCALL_ERROR_HANDLER): Likewise.
71749         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71750         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71751         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71752         (SYSCALL_ERROR_HANDLER): Likewise.
71754         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71755         (HAVE_GCC_GOTDATA): New.
71756         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71757         relocation support in both binutils and gcc.
71758         * sysdeps/sparc/elf/configure: Regenerate.
71760         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71761         * sysdeps/sparc/sparc32/elf/configure: Delete.
71762         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71763         * sysdeps/sparc/sparc64/elf/configure: Delete.
71764         * sysdeps/sparc/elf/configure.in: New file.
71765         * sysdeps/sparc/elf/configure: Generate.
71767         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71768         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71769         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71770         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71771         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71773 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71775         * manual/install.texi: Do not mention specific glibc version
71776         numbers.
71777         * manual/libc.texinfo (VERSION, UPDATED): Update.
71778         (@copying): Use @copyright{} and range of years.
71780 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71782         [BZ #13695]
71783         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71784         [crti.S not in sysdirs] (generated): Do not append.
71785         [crti.S not in sysdirs] (omit-deps): Likewise.
71786         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71787         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71788         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71789         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71790         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71791         Likewise.
71792         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71793         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71794         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71795         * csu/defs.awk: Remove file.
71796         * sysdeps/generic/initfini.c: Likewise.
71797         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71798         variable.
71799         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71800         Likewise.
71802 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71804         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71805         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71806         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71807         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71808         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71809         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71810         <bits/epoll.h>.
71811         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71812         (__EPOLL_PACKED): Define to empty if not defined by
71813         <bits/epoll.h>.
71814         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71816         bits/epoll.h.
71818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71820         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71821         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71822         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71823         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71824         <bits/timerfd.h>.
71825         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71827         bits/timerfd.h.
71829 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71831         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71832         in C locale.
71833         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71835         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71838 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71840         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71841         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71843 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71845         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71846         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71847         defined.
71848         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71849         Likewise.
71850         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71851         entry for 2.16.
71853 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71855         * math/w_acos.c: Use non-signaling floating-point comparisons.
71856         * math/w_acosf.c: Likewise.
71857         * math/w_acosh.c: Likewise.
71858         * math/w_acoshf.c: Likewise.
71859         * math/w_acoshl.c: Likewise.
71860         * math/w_acosl.c: Likewise.
71861         * math/w_asin.c: Likewise.
71862         * math/w_asinf.c: Likewise.
71863         * math/w_asinl.c: Likewise.
71864         * math/w_atanh.c: Likewise.
71865         * math/w_atanhf.c: Likewise.
71866         * math/w_atanhl.c: Likewise.
71867         * math/w_exp2.c: Likewise.
71868         * math/w_exp2f.c: Likewise.
71869         * math/w_exp2l.c: Likewise.
71870         * math/w_j0.c: Likewise.
71871         * math/w_j0f.c: Likewise.
71872         * math/w_j0l.c: Likewise.
71873         * math/w_j1.c: Likewise.
71874         * math/w_j1f.c: Likewise.
71875         * math/w_j1l.c: Likewise.
71876         * math/w_jn.c: Likewise.
71877         * math/w_jnf.c: Likewise.
71878         * math/w_log.c: Likewise.
71879         * math/w_log10.c: Likewise.
71880         * math/w_log10f.c: Likewise.
71881         * math/w_log10l.c: Likewise.
71882         * math/w_log2.c: Likewise.
71883         * math/w_log2f.c: Likewise.
71884         * math/w_log2l.c: Likewise.
71885         * math/w_logf.c: Likewise.
71886         * math/w_logl.c: Likewise.
71887         * math/w_sqrt.c: Likewise.
71888         * math/w_sqrtf.c: Likewise.
71889         * math/w_sqrtl.c: Likewise.
71890         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71891         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71892         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71893         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71894         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71896 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71898         [BZ #9739]
71899         * manual/string.texi (strnlen): Use correct parameter name in
71900         equivalent expression.
71902 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71904         [BZ #11174]
71905         * manual/users.texi (seteuid): Consistently use neweuid for
71906         argument name.
71908 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71910         [BZ #13704]
71911         * manual/nss.texi (Services in the NSS configuration): Correct
71912         list of services in example configuration file.
71914 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71916         [BZ #11322]
71917         * manual/arith.texi: Remove statements about negative zero
71918         behaving identically to zero.
71920 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71922         [BZ #5993]
71923         * manual/install.texi: Do not document upgrading from libc5.
71925 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71927         [BZ #4596]
71928         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71930 2012-02-18  David S. Miller  <davem@davemloft.net>
71932         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71933         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71934         %o7 across the call.
71935         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71936         instead.
71937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71938         SETUP_PIC_REG_LEAF.
71939         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71940         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71941         * sysdeps/sparc/crtn.S: Likewise.
71943 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71945         * aout/Makefile: Remove.
71947 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71949         [BZ #13058]
71950         * manual/examples/argp-ex1.c (main): Format definition in GNU
71951         style.
71952         * manual/examples/argp-ex2.c (main): Likewise.
71953         * manual/examples/argp-ex3.c (main): Likewise.
71954         * manual/examples/argp-ex4.c (main): Likewise.
71955         * manual/examples/longopt.c (main): Use new-style prototype
71956         definition.
71957         * manual/examples/strncat.c (main): Specify return type and use
71958         (void) for arguments.
71959         * manual/examples/subopt.c (main): Use char **argv argument.
71961 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71963         [BZ #5077]
71964         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71965         rounding modes.
71967 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71969         [BZ #6907]
71970         * manual/string.texi (strchr): Change when strchrnul is
71971         recommended.
71973 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71975         [BZ #174]
71976         * manual/locale.texi (setlocale): Document LOCPATH.
71978 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71980         [BZ #10210]
71981         * manual/process.texi (execle): Move @dots{} before last argument.
71983 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71985         [BZ #12047]
71986         * manual/charset.texi (Generic Charset Conversion): Fix typo
71987         (LC_TYPE -> LC_CTYPE).
71989 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71991         [BZ #5805]
71992         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71993         (scalbnf): Likewise.
71994         (scalbnl): Likewise.
71995         (scalbln): Likewise.
71996         (scalblnf): Likewise.
71997         (scalblnl): Likewise.
71998         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71999         (vwarnx): Likewise.
72000         (verr): Likewise.
72001         (verrx): Likewise.
72002         * manual/filesys.texi (telldir): Use braces around return type.
72003         * manual/llio.texi (mmap): Add space after comma.
72004         (mmap64): Likewise.
72005         * manual/math.texi (jn): Use @var{} on parameter names.
72006         (jnf): Likewise.
72007         (jnl): Likewise.
72008         (yn): Likewise.
72009         (ynf): Likewise.
72010         (ynl): Likewise.
72011         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
72012         line.
72013         * manual/resource.texi (ulimit): Use @dots{} instead of literal
72014         "...".
72015         (sched_get_priority_min): Remove semicolon on @deftypefun line.
72016         (sched_get_priority_max): Likewise.
72017         * manual/signal.texi (sigvec): Add space after comma.
72018         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
72019         names.
72020         (if_indextoname): Likewise.
72021         (if_freenameindex): Likewise.
72022         (sendto): Use ',' instead of '.' in prototype.
72023         * manual/startup.texi (syscall): Use @dots{} instead of literal
72024         "...".
72025         * manual/stdio.texi (__fpending): Separate initial words of
72026         paragraph from @deftypefun line.
72027         * manual/syslog.texi (syslog): Use @dots{} instead of literal
72028         "...".
72029         (vsyslog): Use @var{} on parameter names.
72030         * manual/terminal.texi (stty): Use @var{} on parameter names.
72031         * manual/users.texi (getutmp): Use @var{} on parameter names.
72032         (getutmpx): Likewise.
72034 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72036         [BZ #6884]
72037         * manual/stdio.texi (fopen): Fix typos in description of
72038         ",ccs=STRING".
72040 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
72042         [BZ #4026]
72043         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
72044         get clock_id definition.
72046 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
72048         [BZ #4822]
72049         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
72050         (madvise): Cast every argument to void on its own.
72052 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72054         [BZ #9902]
72055         * manual/startup.texi (Exit Status): Fix typo.
72057 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
72059         [BZ #10140]
72060         * manual/examples/argp-ex1.c: Include <stdlib.h>.
72061         * manual/examples/argp-ex2.c: Likewise.
72062         * manual/examples/argp-ex3.c: Likewise.
72064 2012-02-16  Richard Henderson  <rth@redhat.com>
72066         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
72067         * sysdeps/s390/s390-32/initfini.c: Remove.
72068         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
72069         * sysdeps/s390/s390-64/initfini.c: Remove.
72071 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72073         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
72074         compiler output for sysdeps/generic/initfini.c.
72075         * sysdeps/sh/elf/initfini.c: Remove file.
72077 2012-02-16  David S. Miller  <davem@davemloft.net>
72079         [BZ #11494]
72080         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
72082         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
72083         * sysdeps/sparc/crti.S: New file.
72084         * sysdeps/sparc/crtn.S: New file.
72085         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
72086         * sysdeps/sparc/sparc64/Makefile: Likewise.
72088 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
72090         [BZ #3335]
72091         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
72093 2012-02-15  Roland McGrath  <roland@hack.frob.com>
72095         [BZ #4822]
72096         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
72098         * mach/devstream.c (cookie_io_functions_t): Macro removed.
72099         (write, read, close): Likewise.
72100         Patch by Aurelien Jarno <aurelien@aurel32.net>.
72102 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
72104         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
72105         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
72106         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
72107         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
72108         <bits/signalfd.h>.
72109         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
72110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72111         bits/signalfd.h.
72113 2012-02-14  Marek Polacek  <polacek@redhat.com>
72115         * sysdeps/x86_64/crti.S: New file.
72116         * sysdeps/x86_64/crtn.S: New file.
72117         * sysdeps/x86_64/elf/initfini.c: Remove file.
72119 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72121         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
72122         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
72123         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
72124         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
72125         <bits/inotify.h>.
72126         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
72127         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72128         bits/inotify.h.
72130 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
72132         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
72133         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
72134         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
72135         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
72136         <bits/eventfd.h>.
72137         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
72138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72139         bits/eventfd.h.
72141 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
72143         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
72144         __feraiseexcept instead of feraiseexcept.
72146         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
72147         nanosleep invocations.
72148         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
72149         strings, and add error checking for a nanosleep invocations.
72151 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
72153         Replace FSF snail mail address with URLs, as per GNU coding standards.
72154         Most of the snail mail addresses were wrong anyway, and omitting
72155         them makes the source code easier to maintain.  Almost all of the
72156         changes are to license notices and to locale LC_IDENTIFICATION
72157         addresses, except for this one:
72158         * manual/libc.texinfo: In "Published by", give the FSF's URL,
72159         not its snail mail address.
72161 2012-02-09  Richard Henderson  <rth@twiddle.net>
72163         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
72164         of kernel-features.h.
72166         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
72168 2012-02-08  Marek Polacek  <polacek@redhat.com>
72170         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
72171         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
72172         * sysdeps/gnu/_G_config.h: Likewise.
72173         * sysdeps/generic/_G_config.h: Likewise.
72175 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
72177         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
72178         tests.
72179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72181         * sysdeps/powerpc/powerpc32/crti.S: New file.
72182         * sysdeps/powerpc/powerpc32/crtn.S: New file.
72183         * sysdeps/powerpc/powerpc64/crti.S: New file.
72184         * sysdeps/powerpc/powerpc64/crtn.S: New file.
72186         * Makeconfig (have-initfini): Don't set.
72187         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
72188         * configure.in (nopic_initfini): Don't substitute.
72189         * config.h.in (HAVE_INITFINI): Don't #undef.
72190         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
72191         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
72193 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
72195         Support crti.S and crtn.S provided directly by architectures.
72196         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
72197         [crti.S in sysdirs] (omit-deps): Likewise.
72198         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
72199         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
72200         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
72201         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
72202         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
72203         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
72204         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
72205         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
72206         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
72207         compiler output for sysdeps/generic/initfini.c.
72208         * sysdeps/i386/elf/Makefile: Remove file.
72209         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
72211 2012-02-07  Marek Polacek  <polacek@redhat.com>
72213         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
72214         * sysdeps/gnu/_G_config.h: Likewise.
72215         * sysdeps/mach/hurd/_G_config.h: Likewise.
72217 2012-02-07  Marek Polacek  <polacek@redhat.com>
72219         * math/Makefile (tests): Add tst-CMPLX2.
72220         * math/tst-CMPLX2.c: New file.
72222 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
72224         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
72226         * math/libm-test.inc (jn_test): Add missing L suffix.
72228 2012-02-06  Marek Polacek  <polacek@redhat.com>
72230         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
72231         * sysdeps/i386/fpu/e_powf.S: Likewise.
72232         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72233         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72234         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72235         * sysdeps/i386/fpu/e_pow.S: Likewise.
72236         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72237         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72238         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72239         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72240         * sysdeps/i386/fpu/e_log2.S: Likewise.
72241         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72242         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72243         * sysdeps/i386/fpu/e_powl.S: Likewise.
72244         * sysdeps/i386/fpu/s_log1p.S: Likewise.
72245         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72246         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72247         * sysdeps/i386/fpu/e_logl.S: Likewise.
72248         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72249         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
72250         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72251         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72252         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72253         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72254         * sysdeps/i386/fpu/e_log.S: Likewise.
72255         * sysdeps/i386/fpu/s_cexp.S: Likewise.
72256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72257         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
72258         * sysdeps/i386/fpu/e_logf.S: Likewise.
72259         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72261         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
72262         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72263         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72264         * sysdeps/i386/fpu/e_log10.S: Likewise.
72265         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72266         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72267         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72268         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72269         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72270         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72271         * sysdeps/i386/asm-syntax.h: Likewise.
72272         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72273         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72274         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72275         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
72276         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
72277         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72278         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72279         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72280         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72281         * sysdeps/powerpc/sysdep.h: Likewise.
72282         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
72283         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72285 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72287         [BZ #411]
72288         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
72290 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
72292         * sysdeps/i386/sysdep.h: Include <features.h>.
72293         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
72294         version.
72296 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
72298         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
72299         Define.
72300         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
72301         LOAD_PIC_REG_STR.
72303 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72305         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
72306         (SETUP_PIC_REG): Use GET_PC_THUNK.
72307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
72308         macro.
72310 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72312         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
72313         for non-PIC compilation.
72314         (SETUP_PIC_REG): Add .p2align directive.
72315         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
72316         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
72317         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
72318         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
72319         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
72320         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
72321         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
72322         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72323         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
72324         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
72325         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
72326         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
72327         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
72328         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
72329         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
72330         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
72331         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
72332         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
72333         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
72334         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
72335         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
72336         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
72337         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
72338         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
72339         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
72340         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
72341         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72342         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
72343         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
72344         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
72345         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
72346         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72347         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
72348         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
72349         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
72350         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
72351         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
72352         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
72353         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
72354         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
72355         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
72357 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
72359         * math/tst-CMPLX.c: Include <stdio.h>.
72361 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
72363         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
72364         float.
72365         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72366         * sysdeps/sparc/bits/mathdef.h: Likewise.
72368 2012-01-31  Marek Polacek  <polacek@redhat.com>
72370         * libio/libio.h: Don't define _PARAMS.
72371         * locale/programs/config.h: Don't define PARAMS.
72372         * stdlib/strtol_l.c: Likewise.
72373         (__strtol_l): Remove PARAMS from the prototype.
72375 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
72377         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
72378         names.  Just use the correct names.  Remove unnecessary wrapper
72379         functions.
72380         * malloc/arena.c: Likewise.
72381         * malloc/hooks.c: Likewise.
72383         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
72384         ARENA_TEST says not to.  Simplify test for creation of a new arena.
72385         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
72387 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
72389         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
72390         into tail calls.
72391         (update_get_addr): New function.
72392         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
72393         GET_ADDR_MODULE parameter.
72395 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72397         * crypt/cert.c: Remove __STDC__ conditionals.
72398         * crypt/crypt-entry.c: Likewise.
72399         * crypt/crypt_util.c: Likewise.
72400         * libio/filedoalloc.c: Likewise.
72401         * libio/fileops.c: Likewise.
72402         * libio/genops.c: Likewise.
72403         * libio/iofclose.c: Likewise.
72404         * libio/iofdopen.c: Likewise.
72405         * libio/iofopen.c: Likewise.
72406         * libio/iofopen64.c: Likewise.
72407         * libio/iogetdelim.c: Likewise.
72408         * libio/iopopen.c: Likewise.
72409         * libio/obprintf.c: Likewise.
72410         * libio/oldfileops.c: Likewise.
72411         * libio/oldiofclose.c: Likewise.
72412         * libio/oldiofdopen.c: Likewise.
72413         * libio/oldiofopen.c: Likewise.
72414         * libio/oldiopopen.c: Likewise.
72415         * libio/wfiledoalloc.c: Likewise.
72416         * libio/wgenops.c: Likewise.
72417         * locale/programs/xmalloc.c: Likewise.
72418         * misc/syslog.c: Likewise.
72419         * stdio-common/xbug.c: Likewise.
72420         * string/memchr.c: Likewise.
72421         * string/memcmp.c: Likewise.
72422         * string/memrchr.c: Likewise.
72423         * string/rawmemchr.c: Likewise.
72424         * sysdeps/posix/getcwd.c: Likewise.
72425         * time/strftime_l.c: Likewise.
72427 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
72429         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
72430         * config.make.in (config-cflags-sse2avx): Define.
72431         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
72432         Fix typo.
72434 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
72436         * scripts/config.guess: Update from upstream config git repository.
72437         * scripts/config.sub: Likewise.
72439 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
72441         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
72442         (EM_NUM): Update.
72443         (R_TILEPRO_*, R_TILEGX_*): New macros.
72445         * scripts/firstversions.awk: Fix bug in version range handling.
72447         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
72449         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
72451         * include/sys/epoll.h: New file.
72452         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
72453         libc_hidden_def.
72455 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
72457         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
72458         Avoid unnecessary __WORDSIZE == 64 test.
72459         (fmaxf): Use VEX format if possible.
72460         (fmax): Likewise.
72461         (fminf): Likewise.
72462         (fmin): Likewise.
72464         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
72465         * math/math_private.h: Remove libc_fegetround* and
72466         libc_fesetround*.
72467         * sysdeps/i386/configure.in: Check for -msse2avx.
72468         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
72469         also if SSE2AVX is defined.
72470         Remove libc_fegetround* and libc_fesetround*.
72471         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
72472         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
72473         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72474         of HAS_YMM_USABLE.
72475         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72476         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72477         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72478         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72479         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72481         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72483 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72485         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72486         size is not set.
72487         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72489 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72491         [BZ #13618]
72492         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72493         relocation.
72494         * Makeconfig (libm): Define.
72495         * elf/Makefile: Add rules to build and run tst-relsort1.
72496         * elf/tst-relsort1.c: New file.
72497         * elf/tst-relsort1mod1.c: New file.
72498         * elf/tst-relsort1mod2.c: New file.
72500 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72502         * math/s_ldexp.c: Remove __STDC__ conditionals.
72503         * math/s_ldexpf.c: Likewise.
72504         * math/s_ldexpl.c: Likewise.
72505         * math/s_nextafter.c: Likewise.
72506         * math/s_nexttowardf.c: Likewise.
72507         * math/s_significand.c: Likewise.
72508         * math/s_significandf.c: Likewise.
72509         * math/s_significandl.c: Likewise.
72510         * math/w_jnl.c: Likewise.
72511         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72512         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72513         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72514         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72515         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72516         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72517         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72518         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72519         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72520         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72521         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72522         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72523         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72524         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72525         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72526         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72527         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72528         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72529         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72530         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72531         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72532         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72533         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72534         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72535         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72536         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72537         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72538         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72539         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72540         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72541         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72542         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72543         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72544         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72545         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72546         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72547         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72548         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72549         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72550         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72551         * sysdeps/ieee754/k_standard.c: Likewise.
72552         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72553         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72554         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72555         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72556         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72557         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72559         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72560         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72561         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72562         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72563         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72564         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72565         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72566         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72567         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72568         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72569         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72570         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72571         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72572         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72573         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72574         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72575         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72577         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72581         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72582         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72583         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72584         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72585         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72586         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72587         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72588         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72589         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72590         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72591         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72592         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72594         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72595         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72596         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72597         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72598         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72600         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72601         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72602         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72603         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72604         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72605         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72606         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72607         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72608         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72609         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72610         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72611         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72612         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72613         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72614         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72615         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72616         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72617         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72618         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72619         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72620         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72621         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72622         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72623         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72624         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72625         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72626         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72627         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72628         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72629         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72630         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72631         * sysdeps/ieee754/s_matherr.c: Likewise.
72632         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72633         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72637 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72639         * crypt/md5.h: Remove __STDC__ conditionals.
72640         * libio/libioP.h: Likewise.
72641         * locale/programs/config.h: Likewise.
72642         * sysdeps/generic/sysdep.h: Likewise.
72643         * sysdeps/i386/asm-syntax.h: Likewise.
72644         * sysdeps/s390/asm-syntax.h: Likewise.
72645         * sysdeps/unix/sysdep.h: Likewise.
72646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72649 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72651         * libio/libio.h: Remove __STDC__ conditionals.
72652         * malloc/obstack.h: Likewise.
72653         * math/complex.h: Likewise.
72654         * math/math.h: Likewise.
72655         * sysdeps/generic/_G_config.h: Likewise.
72656         * sysdeps/gnu/_G_config.h: Likewise.
72657         * sysdeps/mach/hurd/_G_config.h: Likewise.
72658         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72659         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72660         * sysdeps/sparc/bits/mathdef.h: Likewise.
72662 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72664         [BZ #13583]
72665         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72666         Clean up HAS_* macros.
72667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72668         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72669         possible.
72670         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72671         HAS_AVX.
72672         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72673         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72674         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72675         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72676         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72678 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72680         * elf/tst-unique3.cc (gets): Remove declaration.
72681         * elf/tst-unique3lib.cc (gets): Likewise.
72682         * elf/tst-unique3lib2.cc (gets): Likewise.
72683         * elf/tst-unique4.cc (gets): Likewise.
72685 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72687         * include/stdio.h: Add C++ protection.  Add gets declarations and
72688         definitions.
72689         * debug/tst-chk1.c: Don't declare gets here.
72690         * stdio-common/tst-gets.c: Likewise.
72692 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72694         * posix/glob: Remove directory.
72696 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72698         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72700 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72702         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72703         of the non-standard EPFNOSUPPORT.
72705 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72707         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72708         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72709         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72711 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72713         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72715 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72717         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72718         transient errors.
72719         * nscd/grpcache.c (cache_addgr): Likewise.
72720         * nscd/hstcache.c (cache_addhst): Likewise.
72721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72722         * nscd/pwdcache.c (cache_addpw): Likewise.
72723         * nscd/servicescache.c (cache_addserv): Likewise.
72725 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72727         * malloc/malloc.c: Various cleanups.
72728         * malloc/hooks.c: Likewise.
72730         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72731         * stdlib/bug-fmtmsg1.c: New file.
72733         * stdlib/fmtmsg.c (init): Add missing unlock.
72734         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72736 2012-01-12  Marek Polacek  <polacek@redhat.com>
72738         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72739         and _GNU_SOURCE.
72741 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72743         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72744         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72745         macro to ensure uniqueness of label name.
72746         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72747         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72749 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72751         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72753         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72754         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72756         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72758 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72760         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72762         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72763         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72764         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72766         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72768         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72769         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72770         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72771         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72773         * math/bits/math-finite.h: Add ldexp support.
72775 2012-01-10  Marek Polacek  <polacek@redhat.com>
72777         * locale/programs/localedef.h (show_archive_content): Add noreturn
72778         attribute.
72780 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72782         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72784 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72786         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72788         * io/Makefile (headers): Add bits/poll2.h.
72790 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72793         typo #include statement.
72795 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72797         * include/sys/cdefs.h: Define __attribute_alloc_size.
72798         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72799         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72800         * elf/pldd.c: Likewise.
72801         * iconv/iconv_charmap.c: Likewise.
72802         * iconv/iconvconfig.c: Likewise.
72803         * iconv/strtab.c: Likewise.
72804         * locale/programs/locale.c: Likewise.
72805         * locale/programs/localedef.h: Likewise.
72806         * locale/programs/simple-hash.c: Likewise.
72807         * nscd/nscd.h: Likewise.
72808         * nss/makedb.c: Likewise.
72809         * sysdeps/generic/ldconfig.h: Likewise.
72810         * locale/programs/localedef.c: Remove xmalloc prototype.
72811         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72813 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72815         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72816         appropriate.
72818 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72820         * math/Makefile (tests): Add tst-CMPLX.
72821         * math/tst-CMPLX.c: New file.
72823         * math/complex.h (CMPLXL): Fix typo.
72825         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72826         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72827         GLIBC_2.16.
72828         * debug/tst-chk1.c: Add poll and ppoll tests.
72829         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72830         * include/sys/poll.h: Add hidden proto for ppoll.
72831         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72832         * sysdeps/mach/hurd/ppoll.c: Likewise.
72833         * io/ppoll.c: Likewise.
72834         * debug/poll_chk.c: New file.
72835         * debug/ppoll_chk.c: New file.
72836         * include/bits/poll2.h: New file.
72837         * io/bits/poll2.h: New file.
72839         [BZ #1350]
72840         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72842         * configure.in: static is always set to yes.  Remove.
72843         * config.make.in: Don't set build-static.
72844         * Makeconfig: Remove use of build-static.
72845         * dlfcn/Makefile: Likewise.
72846         * elf/Makefile: Likewise.
72847         * math/Makefile: Likewise.
72848         * misc/Makefile: Likewise.
72849         * nptl/Makefile: Likewise.
72850         * sysdeps/mach/hurd/Makefile: Likewise.
72852         * configure.in: PWD_P is not used anymore.
72853         * config.make.in: Remove PWD_P entry.
72855         * configure.in: Remove last remnants of RANLIB.
72856         No need to check for signed size_t anymore.
72857         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72858         and IA-64.
72859         Remove __builtin_expect test because we require at least gcc 3.4.
72860         * aclocal.m4: Likewise.
72862         * wcsmbs/mbrtoc16.c: Implement using towc function.
72863         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72864         * wcsmbs/wcsmbsload.c: Likewise.
72865         * iconv/gconv_simple.c: Likewise.
72866         * iconv/gconv_int.h: Likewise.
72867         * iconv/gconv_builtin.h: Likewise.
72868         * iconv/iconv_prog.c: Remove CHAR16 handling.
72870         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72872         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72874         * configure.in: Remove --with-elf and --enable-bounded options.
72875         Dont set base_machine for ia64.  More non-ELF conditions removed.
72876         Remove testing and setting of leading underscore information.
72877         * config.make.in (build-bounded): Set to no.
72878         * config.h.in: Remove NO_UNDERSCORES entry.
72879         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72880         them.
72881         * csu/start.c: Remove !NO_UNDERSCORE code.
72882         * locale/localeinfo.h: Likewise.
72883         * sysdeps/generic/machine-gmon.h: Likewise.
72884         * sysdeps/generic/sysdep.h: Likewise.
72885         * sysdeps/i386/sysdep.h: Likewise.
72886         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72887         * sysdeps/mach/sysdep.h: Likewise.
72888         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72889         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72890         * sysdeps/sh/sysdep.h: Likewise.
72891         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72892         * sysdeps/unix/i386/sysdep.S: Likewise.
72893         * sysdeps/unix/sparc/start.c: Likewise.
72894         * sysdeps/unix/sparc/sysdep.S: Likewise.
72895         * sysdeps/unix/sparc/sysdep.h: Likewise.
72896         * sysdeps/unix/start.c: Likewise.
72897         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72898         * sysdeps/x86_64/sysdep.h: Likewise.
72900 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72902         [BZ #13553]
72903         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72904         for non-gcc.
72905         * argp/argp-fmtstream.h: Use const instead __const.
72906         * argp/argp.h: Likewise.
72907         * assert/assert.h: Likewise.
72908         * bits/fenv.h: Likewise.
72909         * bits/sched.h: Likewise.
72910         * bits/sigset.h: Likewise.
72911         * bits/sigthread.h: Likewise.
72912         * catgets/nl_types.h: Likewise.
72913         * conform/data/pthread.h-data: Likewise.
72914         * crypt/crypt-private.h: Likewise.
72915         * crypt/crypt.h: Likewise.
72916         * crypt/crypt_util.c: Likewise.
72917         * ctype/ctype.h: Likewise.
72918         * debug/execinfo.h: Likewise.
72919         * debug/mbsnrtowcs_chk.c: Likewise.
72920         * debug/mbsrtowcs_chk.c: Likewise.
72921         * debug/wcsnrtombs_chk.c: Likewise.
72922         * debug/wcsrtombs_chk.c: Likewise.
72923         * debug/wcstombs_chk.c: Likewise.
72924         * dirent/dirent.h: Likewise.
72925         * dlfcn/dlfcn.h: Likewise.
72926         * elf/neededtest4.c: Likewise.
72927         * grp/grp.h: Likewise.
72928         * gshadow/gshadow.h: Likewise.
72929         * iconv/gconv.h: Likewise.
72930         * iconv/gconv_int.h: Likewise.
72931         * iconv/gconv_simple.c: Likewise.
72932         * iconv/iconv.h: Likewise.
72933         * iconv/loop.c: Likewise.
72934         * iconv/skeleton.c: Likewise.
72935         * include/aio.h: Likewise.
72936         * include/aliases.h: Likewise.
72937         * include/argz.h: Likewise.
72938         * include/arpa/inet.h: Likewise.
72939         * include/assert.h: Likewise.
72940         * include/dirent.h: Likewise.
72941         * include/dlfcn.h: Likewise.
72942         * include/execinfo.h: Likewise.
72943         * include/fcntl.h: Likewise.
72944         * include/fenv.h: Likewise.
72945         * include/glob.h: Likewise.
72946         * include/grp.h: Likewise.
72947         * include/libintl.h: Likewise.
72948         * include/mntent.h: Likewise.
72949         * include/netdb.h: Likewise.
72950         * include/pwd.h: Likewise.
72951         * include/rpc/netdb.h: Likewise.
72952         * include/sched.h: Likewise.
72953         * include/search.h: Likewise.
72954         * include/shadow.h: Likewise.
72955         * include/signal.h: Likewise.
72956         * include/stdio.h: Likewise.
72957         * include/stdlib.h: Likewise.
72958         * include/string.h: Likewise.
72959         * include/sys/socket.h: Likewise.
72960         * include/sys/stat.h: Likewise.
72961         * include/sys/statfs.h: Likewise.
72962         * include/sys/statvfs.h: Likewise.
72963         * include/sys/syslog.h: Likewise.
72964         * include/sys/time.h: Likewise.
72965         * include/sys/uio.h: Likewise.
72966         * include/time.h: Likewise.
72967         * include/unistd.h: Likewise.
72968         * include/utmp.h: Likewise.
72969         * include/wchar.h: Likewise.
72970         * include/wctype.h: Likewise.
72971         * inet/aliases.h: Likewise.
72972         * inet/arpa/inet.h: Likewise.
72973         * inet/netinet/ether.h: Likewise.
72974         * inet/netinet/in.h: Likewise.
72975         * intl/libintl.h: Likewise.
72976         * io/bits/fcntl2.h: Likewise.
72977         * io/fcntl.h: Likewise.
72978         * io/ftw.h: Likewise.
72979         * io/sys/poll.h: Likewise.
72980         * io/sys/stat.h: Likewise.
72981         * io/sys/statfs.h: Likewise.
72982         * io/sys/statvfs.h: Likewise.
72983         * io/utime.h: Likewise.
72984         * libio/bits/stdio.h: Likewise.
72985         * libio/bits/stdio2.h: Likewise.
72986         * libio/libio.h: Likewise.
72987         * libio/libioP.h: Likewise.
72988         * libio/stdio.h: Likewise.
72989         * locale/lc-ctype.c: Likewise.
72990         * locale/locale.h: Likewise.
72991         * login/utmp.h: Likewise.
72992         * malloc/arena.c: Likewise.
72993         * malloc/malloc.c: Likewise.
72994         * malloc/malloc.h: Likewise.
72995         * malloc/mcheck.c: Likewise.
72996         * malloc/mtrace.c: Likewise.
72997         * math/bits/mathcalls.h: Likewise.
72998         * math/fenv.h: Likewise.
72999         * math/math_private.h: Likewise.
73000         * misc/bits/error.h: Likewise.
73001         * misc/bits/syslog.h: Likewise.
73002         * misc/err.h: Likewise.
73003         * misc/error.h: Likewise.
73004         * misc/fstab.h: Likewise.
73005         * misc/mntent.h: Likewise.
73006         * misc/regexp.h: Likewise.
73007         * misc/search.h: Likewise.
73008         * misc/sgtty.h: Likewise.
73009         * misc/sys/mman.h: Likewise.
73010         * misc/sys/syslog.h: Likewise.
73011         * misc/sys/uio.h: Likewise.
73012         * misc/sys/xattr.h: Likewise.
73013         * misc/ttyent.h: Likewise.
73014         * nis/rpcsvc/ypclnt.h: Likewise.
73015         * nss/nss.h: Likewise.
73016         * posix/bits/unistd.h: Likewise.
73017         * posix/fnmatch.h: Likewise.
73018         * posix/glob.h: Likewise.
73019         * posix/sched.h: Likewise.
73020         * posix/spawn.h: Likewise.
73021         * posix/sys/wait.h: Likewise.
73022         * posix/unistd.h: Likewise.
73023         * posix/wordexp.h: Likewise.
73024         * pwd/pwd.h: Likewise.
73025         * resolv/netdb.h: Likewise.
73026         * resource/sys/resource.h: Likewise.
73027         * rt/aio.h: Likewise.
73028         * rt/bits/mqueue2.h: Likewise.
73029         * rt/mqueue.h: Likewise.
73030         * shadow/shadow.h: Likewise.
73031         * signal/signal.h: Likewise.
73032         * socket/send.c: Likewise.
73033         * socket/sendto.c: Likewise.
73034         * socket/sys/socket.h: Likewise.
73035         * stdio-common/printf.h: Likewise.
73036         * stdlib/bits/stdlib.h: Likewise.
73037         * stdlib/fmtmsg.h: Likewise.
73038         * stdlib/monetary.h: Likewise.
73039         * stdlib/stdlib.h: Likewise.
73040         * stdlib/ucontext.h: Likewise.
73041         * streams/stropts.h: Likewise.
73042         * string/argz.h: Likewise.
73043         * string/bits/string2.h: Likewise.
73044         * string/string.h: Likewise.
73045         * string/strings.h: Likewise.
73046         * sunrpc/rpc/auth.h: Likewise.
73047         * sunrpc/rpc/auth_des.h: Likewise.
73048         * sunrpc/rpc/clnt.h: Likewise.
73049         * sunrpc/rpc/netdb.h: Likewise.
73050         * sunrpc/rpc/pmap_clnt.h: Likewise.
73051         * sunrpc/rpc/xdr.h: Likewise.
73052         * sysdeps/generic/inttypes.h: Likewise.
73053         * sysdeps/generic/net/if.h: Likewise.
73054         * sysdeps/generic/sys/swap.h: Likewise.
73055         * sysdeps/gnu/net/if.h: Likewise.
73056         * sysdeps/gnu/utmpx.h: Likewise.
73057         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
73058         * sysdeps/i386/i486/bits/string.h: Likewise.
73059         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
73060         * sysdeps/s390/bits/string.h: Likewise.
73061         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
73062         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
73063         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
73064         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
73065         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
73066         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
73067         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
73068         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
73069         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
73070         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
73071         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
73072         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
73073         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
73074         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
73075         * sysdeps/unix/sysv/linux/readv.c: Likewise.
73076         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
73077         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
73078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73079         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
73080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
73081         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73082         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
73083         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
73084         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
73085         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
73086         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
73087         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
73088         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73089         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
73090         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
73091         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
73092         * sysvipc/sys/ipc.h: Likewise.
73093         * sysvipc/sys/msg.h: Likewise.
73094         * sysvipc/sys/sem.h: Likewise.
73095         * sysvipc/sys/shm.h: Likewise.
73096         * termios/termios.h: Likewise.
73097         * time/sys/time.h: Likewise.
73098         * time/time.h: Likewise.
73099         * wcsmbs/bits/wchar2.h: Likewise.
73100         * wcsmbs/uchar.h: Likewise.
73101         * wcsmbs/wchar.h: Likewise.
73102         * wctype/wctype.h: Likewise.
73104         [BZ #13551]
73105         * Makeconfig: Remove all but ELF support including AIX support.
73106         * Makerules: Likewise.
73107         * config.h.in: Likewise.
73108         * config.make.in: Likewise.
73109         * configure: Likewise.
73110         * configure.in: Likewise.
73111         * csu/Makefile: Likewise.
73112         * csu/version.c: Likewise.
73113         * debug/Makefile: Likewise.
73114         * dlfcn/Makefile: Likewise.
73115         * elf/Makefile: Likewise.
73116         * extra-lib.mk: Likewise.
73117         * iconv/Makefile: Likewise.
73118         * include/libc-symbols.h: Likewise.
73119         * include/shlib-compat.h: Likewise.
73120         * resolv/Makefile: Likewise.
73121         * resolv/res_libc.c: Likewise.
73122         * rt/Makefile: Likewise.
73123         * sysdeps/i386/asm-syntax.h: Likewise.
73124         * sysdeps/i386/sysdep.h: Likewise.
73125         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
73126         * sysdeps/mach/sysdep.h: Likewise.
73127         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
73128         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
73129         * sysdeps/s390/asm-syntax.h: Likewise.
73130         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73131         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73132         * sysdeps/sh/sysdep.h: Likewise.
73133         * sysdeps/unix/sparc/sysdep.h: Likewise.
73134         * sysdeps/wordsize-32/divdi3.c: Likewise.
73135         * sysdeps/x86_64/sysdep.h: Likewise.
73137         * argp/Versions: Remove _argp_unlock_xxx.
73139         [BZ #13559]
73140         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
73141         * abilist/libBrokenLocale.abilist: Likewise.
73142         * abilist/libanl.abilist: Likewise.
73143         * abilist/libc.abilist: Likewise.
73144         * abilist/libcrypt.abilist: Likewise.
73145         * abilist/libdl.abilist: Likewise.
73146         * abilist/libm.abilist: Likewise.
73147         * abilist/libnsl.abilist: Likewise.
73148         * abilist/libpthread.abilist: Likewise.
73149         * abilist/libresolv.abilist: Likewise.
73150         * abilist/librt.abilist: Likewise.
73151         * abilist/libthread_db.abilist: Likewise.
73152         * abilist/libutil.abilist: Likewise.
73153         * abilist/libnss_db.abilist: New file.
73155         * scripts/abilist.awk: Add support for indirect functions.
73157         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
73159         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
73161         * shlib-versions: Remove entries for ports architectures.
73163         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
73164         files in ports.
73165         * elf/stackguard-macros.h: Remove support for IA-64.
73166         * elf/tst-auditmod1.c: Likewise.
73167         * sysdeps/generic/ldsodefs.h: Likewise.
73169         * sysdeps/unix/sysv/linux/configure.in: Ports should define
73170         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
73171         configure files.
73173         [BZ #13552]
73174         * configure.in: Remove --enable-omitfp support.
73175         * FAQ.in: Adjust.
73176         * config.make.in: Likewise.
73177         * Makeconfig: Likewise.
73178         * manual/install.texi: Likewise.
73180         In case anyone cares, the IA-64 architecture could move to ports.
73181         * sysdeps/ia64/*: Removed.
73182         * sysdeps/unix/sysv/linux/ia64/*: Removed.
73183         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
73185         [BZ #13555]
73186         * configure.in: Remove entries for unsupported architectures.
73188         [BZ #13533]
73189         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
73190         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
73191         routines.
73192         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
73193         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
73194         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
73195         fall back to using wcrtomb.
73196         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
73197         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
73198         renaming.
73199         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
73200         * wcsmbs/tst-c16c32-1.c: New file.
73202         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
73203         local variable.
73205         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
73207         * elf/tst-unique3.cc: Add explicit declaration of gets.
73208         * elf/tst-unique3lib.cc: Likewise.
73209         * elf/tst-unique3lib2.cc: Likewise.
73210         * elf/tst-unique4.cc: Likewise.
73212         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
73214 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
73216         [BZ #13566]
73217         * assert/assert.h (static_assert): Don't define for C++.
73218         * libio/stdio.h (gets): Do declare for C++ <= C++11.
73219         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
73221 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
73223         * iconv/loop.c (single loop): Fix assertion in storing of
73224         remaining bytes.
73226         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
73228 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
73230         * posix/getconf.c: Update copyright year.
73231         * nss/getent.c: Likewise.
73232         * nss/makedb.c: Likewise.
73233         * iconv/iconvconfig.c: Likewise.
73234         * iconv/iconv_prog.c: Likewise.
73235         * elf/ldconfig.c: Likewise.
73236         * elf/pldd.c: Likewise.
73237         * elf/sotruss.ksh: Likewise.
73238         * catgets/gencat.c: Likewise.
73239         * csu/version.c: Likewise.
73240         * elf/ldd.bash.in: Likewise.
73241         * elf/sprof.c (print_version): Likewise.
73242         * locale/programs/locale.c: Likewise.
73243         * locale/programs/localedef.c: Likewise.
73244         * login/programs/pt_chown.c: Likewise.
73245         * nscd/nscd.c (print_version): Likewise.
73246         * debug/xtrace.sh: Likewise.
73247         * malloc/memusage.sh: Likewise.
73248         * malloc/mtrace.pl: Likewise.
73249         * debug/catchsegv.sh: Likewise.
73251 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
73253         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
73254         pure attribute.
73256 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
73258         [BZ #13533]
73259         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
73260         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
73261         transformations.
73262         * iconv/gconv_int.h: Likewise.
73263         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
73264         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
73265         from libc for GLIBC_2.16.
73266         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
73267         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
73268         * wcsmbs/uchar.h: Really define mbstate_t.
73269         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
73270         * wcsmbs/c16rtomb.c: New file.
73271         * wcsmbs/mbrtoc16.c: New file.
73272         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
73273         for C/POSIX locale.
73274         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
73275         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
73277         * wcsmbs/wchar.h: Add missing __restrict.
73279 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73281         [BZ #13532]
73282         * time/Makefile (routines): Add timespec_get.
73283         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
73284         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
73285         timespec for ISO C11.
73286         * time/timespec_get.c: New file.
73287         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
73288         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
73290         [BZ #13531]
73291         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
73292         * stdlib/stdlib.h: Declare aligned_alloc.
73293         * Versions.def: Add GLIBC_2.16 for libc.
73294         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
73296         [BZ 13527]
73297         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
73298         ISO C11.
73300         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
73301         code.
73303         [BZ #13528]
73304         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
73306         [BZ #13529]
73307         * assert/assert.h (static_assert): Define.
73309         * version.h: Update for 2.16 development version.
73311         [BZ #13526]
73312         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
73313         _ISOC11_SOURCE.
73315         * version.h (RELEASE): Bump for 2.15 release.
73316         * include/features.h (__GLIBC_MINOR__): Bump to 15.
73318         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
73319         Patch by Marek Polacek <mpolacek@redhat.com>.
73321         * bits/byteswap.h: Protect long long constants with __extension__.
73322         * sysdeps/i386/bits/byteswap.h: Likewise.
73323         * sysdeps/ia64/bits/byteswap.h: Likewise.
73324         * sysdeps/s390/bits/byteswap.h: Likewise.
73325         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73327 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73329         [BZ #13540]
73330         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
73331         destination buffer.
73332         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
73334 2011-12-23  Marek Polacek  <polacek@redhat.com>
73336         * elf/dl-addr.c (determine_info): Add inline keyword.
73337         * elf/tst-auditmod4b.c (check_avx): Likewise.
73338         * elf/tst-auditmod6b.c (check_avx): Likewise.
73339         * elf/tst-auditmod6c.c (check_avx): Likewise.
73340         * elf/tst-auditmod7b.c (check_avx): Likewise.
73342 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
73344         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
73345         !__SSE_MATH__.
73347 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73349         [BZ #13540]
73350         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
73351         processing for last bytes.
73353 2011-08-06  Bruno Haible  <bruno@clisp.org>
73355         [BZ #13061]
73356         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
73357         U+0385, not to U+1FEE.
73359         [BZ #13062]
73360         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
73361         entry for U+00A5 U+0301.
73363 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73365         [BZ #13166]
73366         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
73367         buffer for the output is too small.
73369         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
73370         optimization.
73372         [BZ #13185]
73373         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
73374         SSE flags if possible.
73376 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73378         [BZ #13540]
73379         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
73380         processing for last bytes.
73382 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
73384         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
73385         (syscall-list-default-options, syscall-list-default-condition)
73386         (syscall-list-includes): Define.
73387         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
73388         list of ABIs and options and #if conditions for each ABI.  Do not
73389         handle common syscalls between ABIs specially.
73390         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
73391         Remove.
73392         (syscall-list-variants, syscall-list-32bit-options)
73393         (syscall-list-32bit-condition, syscall-list-64bit-options)
73394         (syscall-list-64bit-condition): Define.
73395         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
73396         (syscall-list-variants, syscall-list-32bit-options)
73397         (syscall-list-32bit-condition, syscall-list-64bit-options)
73398         (syscall-list-64bit-condition): Define.
73399         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
73400         Remove.
73401         (syscall-list-variants, syscall-list-32bit-options)
73402         (syscall-list-32bit-condition, syscall-list-64bit-options)
73403         (syscall-list-64bit-condition): Define.
73404         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
73405         Remove.
73406         (syscall-list-variants, syscall-list-32bit-options)
73407         (syscall-list-32bit-condition, syscall-list-64bit-options)
73408         (syscall-list-64bit-condition): Define.
73410 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
73412         * locale/iso-639.def: Add brx entry.
73414         [BZ #13328]
73415         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
73416         Proposed by Mariusz_Cukr <marcukr@op.pl>.
73418         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
73419         __feraiseexcept_renamed.
73421 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73423         [BZ #13538]
73424         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
73425         EPOLLET with unsigned values.
73426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73427         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
73429         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
73430         to large cancellation.
73431         * math/s_cacoshf.c: Likewise.
73432         * math/s_cacoshl.c: Likewise.
73434 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
73436         [BZ #13305]
73437         [BZ #12786]
73438         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
73439         * math/s_cacoshf.c: Likewise.
73440         * math/s_cacoshl.c: Likewise.
73442 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
73444         [BZ #13439]
73445         * iconv/gconv.h: Define __GCONV_SWAP.
73446         * iconvdata/unicode.c: The swap bit must be stored in __flags.
73447         * iconvdata/utf-16.c: Likewise.
73448         * iconvdata/utf-32.c: Likewise.
73450 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
73452         [BZ #13524]
73453         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
73454         numerator after shifting it by one limb.
73456 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
73458         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
73459         under [__USE_EXTERN_INLINES].
73461 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73463         [BZ #13446]
73464         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
73466 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73468         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
73469         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
73470         optimized code.
73471         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
73472         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
73473         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73474         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73475         for strncasecmp/strncasecmp_l compilation.
73476         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73477         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73479 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73481         [BZ #13484]
73482         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73483         of __asm__.
73485 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73487         [BZ #13506]
73488         * time/tzfile.c (__tzfile_read): Check values from file header.
73490 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73492         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73493         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73494         * powerpc/powerpc32/dl-start.S: Likewise.
73495         * powerpc/powerpc32/elf/start.S: Likewise.
73496         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73497         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73498         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73499         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73500         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73501         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73502         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73503         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73504         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73505         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73506         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73507         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73508         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73509         * powerpc/powerpc32/memset.S: Likewise.
73510         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73511         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73512         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73513         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73514         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73515         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73516         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73517         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73518         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73519         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73520         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73521         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73522         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73524 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73526         * math/libm-test.inc: Added more nearbyint tests.
73527         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73528         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73529         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73530         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73532 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73534         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73535         FD_CLOEXEC.
73537 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73539         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73540         Add wcscpy-ssse3 wcscpy-c.
73541         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73542         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73543         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73544         * sysdeps/x86_64/wcschr.S: New file.
73545         * sysdeps/x86_64/wcsrchr.S: New file.
73546         * string/test-strcmp.c: Remove checking of wcscmp function for
73547         wrong alignments.
73548         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73549         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73550         wcsrchr-sse2 wcsrchr-c.
73551         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73552         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73553         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73554         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73555         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73556         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73557         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73558         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73559         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73560         * wcsmbc/wcschr.c (WCSCHR): New macro.
73562 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73564         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73565         * wcsmbs/test-wcsrchr.c: New file.
73566         * string/test-strrchr.c: Add wcsrchr support.
73567         (WIDE): New macro.
73568         * wcsmbs/test-wcscpy.c: New file.
73569         * string/test-strcpy.c: Add wcscpy support.
73570         (WIDE): New macro.
73572 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73574         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73575         the inner loop.
73577 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73579         [BZ #13472]
73580         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73582 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73584         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73585         Minor optimizations.
73587         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73588         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73589         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73591 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73593         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73594         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73595         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73596         for gcc to avoid warnings.
73597         * inet/Makefile (tests): Add tst-checks.
73598         * inet/tst-checks.c: New file.
73600         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73601         warning.
73603         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73604         __wmemcmp_sse2.
73606         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73607         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73609         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73611 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73613         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73614         problem.
73616         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73618 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73620         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73621         conditional on GCC version.
73622         (__arch_compare_and_exchange_val_8_acq)
73623         (__arch_compare_and_exchange_val_16_acq)
73624         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73625         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73626         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73628 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73630         * sysdeps/sh/backtrace.c: New file.
73632 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73634         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73635         parenthesis.
73637 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73639         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73640         falling back to utime.
73642 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73644         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73645         expectations for float.
73647 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73649         * locale/weight.h (findidx): Add parameter len.
73650         * locale/weightwc.h (findidx): Likewise.
73651         * posix/fnmatch_loop.c (FCT): Adjust caller.
73652         * posix/regcomp.c (build_equiv_class): Likewise.
73653         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73654         * posix/regexec.c (check_node_accept_bytes): Likewise.
73655         * string/strcoll_l.c (STRCOLL): Likewise.
73656         * string/strxfrm_l.c (STRXFRM): Likewise.
73658 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73660         * Makefile.in: Remove CVSOPT handling.
73661         * configure.in: Remove use of AC_REVISION.
73662         * iconvdata/Makefile (distribute): No need to filter out CVS.
73663         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73664         handling.
73666 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73668         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73669         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73670         [USE_AS_STRNCASECMP_L]: Likewise.
73671         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73672         NO_TLS_DIRECT_SEG_REFS.
73673         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73674         Fix argument offsets for non-PIC.
73675         [USE_AS_STRNCASECMP_L]: Likewise.
73676         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73677         NO_TLS_DIRECT_SEG_REFS.
73679 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73681         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73682         O_CLOEXEC.
73683         * locale/loadlocale.c (_nl_load_locale): Likewise.
73685 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73687         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73688         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73689         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73690         (SYSCALL_GETTIME): Set errno on error.
73692         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73693         count references to noai6ai_cached.
73695 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73697         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73699         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73700         FD_CLOEXEC for /proc/self/maps.
73702         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73703         FD_CLOEXEC for /proc/meminfo.
73705         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73706         gai.conf.
73708         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73709         FD_CLOEXEC for given file.
73711         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73713         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73714         FD_CLOEXEC for /etc/hosts.
73715         (_gethtent): Likewise.
73717         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73719         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73720         cancellation and set FD_CLOEXEC for /etc/netgroup.
73722         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73723         reading /etc/publickey.
73725         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73726         allow cancellation when reading /etc/group.
73728         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73729         cancellation.
73730         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73732         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73733         when using data file.
73735         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73737         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73738         (write_nis_obj): Use "c" and "e" in fopen.
73740         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73742         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73744         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73746         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73748         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73749         locale.alias.
73751         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73753         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73755         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73757         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73758         file parsing and set FD_CLOEXEC.
73760 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73762         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73764 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73766         * malloc/arena.c (arena_get2): Don't call reused_arena when
73767         _int_new_arena failed.
73769 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73771         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73772         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73773         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73774         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73775         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73776         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73777         to compile strcasecmp and strncasecmp.
73778         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73779         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73783 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73785         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73786         locale-defines.sym to gen-as-const-headers.
73787         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73788         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73789         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73790         to compile strcasecmp and strncasecmp.
73791         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73792         strcasecmp_l and strncasecmp_l.
73793         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73794         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73795         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73796         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73797         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73798         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73799         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73800         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73801         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73802         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73803         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73805 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73807         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73808         result of SYSDEP_GETTIME_CPU to retval.
73809         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73810         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73812         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73813         variable.
73815         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73816         mantissa words.
73817         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73819         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73820         from unused variable.
73822         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73823         DWARF definitions.
73824         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73825         for assembling.
73827         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73828         over namespaces.
73830         * sunrpc/rpc_prot.c (rejected): Fix case value.
73832         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73833         unsigned long long int to avoid warnings in shift.
73835         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73836         of use of trans.
73837         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73838         variable tmp.
73840         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73841         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73842         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73844         * nis/nis_table.c (nis_list): Use variable of correct type for
73845         result of __follow_path call.
73847 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73849         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73850         of math functions ceil, trunc, floor, round, and sqrt, when
73851         avaliable on the platform.
73852         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73853         name clash.
73854         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73855         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73856         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73858 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73860         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73861         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73863 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73865         * include/unistd.h: Fix __readlink return type.
73866         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73868 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73870         * stdlib/ucontext.h: Undo last change for makecontext.
73872 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73874         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73876         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73877         * setjmp/setjmp.h: Mark functions as non-leaf.
73878         * setjmp/bits/setjmp2.h: Likewise.
73879         * stdlib/ucontext.h: Likewise.
73881 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73883         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73884         (reused_arena): Don't check arena limit.
73885         (arena_get2): Atomically check arena limit.
73887 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73889         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73890         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73892         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73893         instructions.
73895 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73897         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73898         handler when locking.
73900         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73901         Fix size of allocated buffer.
73903 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73905         [BZ #10103]
73906         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73907         declarations for long double functions.
73908         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73910         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73912 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73914         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73915         installed.
73917         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73918         is disabled.
73920 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73922         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73924 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73926         * include/alloca.h (stackinfo_alloca_round): Define.
73927         (extend_alloca): Use it.
73928         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73929         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73930         here.
73932         * scripts/check-local-headers.sh: Ignore libaudit.h.
73934         * nscd/Makefile (extra-objs): Make recursively expanded.
73936 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73938         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73939         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73941         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73942         * posix/tst-rfc3484-2.c: Likewise.
73943         * posix/tst-rfc3484-3.c: Likewise.
73945         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73946         process_vm_writev.
73947         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73948         process_vm_writev.
73949         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73950         process_vm_writev from libc using GLIBC_2.15 version.
73952         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73954 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73956         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73957         stack usage.
73959 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73961         [BZ #13367]
73962         * nss/getent.c (initgroups_keys): Show error message in case no group
73963         names are given.
73965         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73966         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73967         __bump_nl_timestamp.
73968         * nscd/connections (nscd_init): When host database is served open
73969         netlink socket and request notification about configuration changes.
73970         (main_loop_poll): Track netlink file descriptor and bump timestamp
73971         in case data becomes available.
73972         (main_loop_epoll): Likewise.
73973         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73974         (database_pers_head): Add extra_data fileds.
73975         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73976         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73977         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73978         Adjust caller.
73979         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73980         in6ai data, call __free_in6ai.
73981         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73982         Add -DHAVE_NETLINK.
73983         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73984         interface information.  Reuse previous data if netlink timestamp
73985         is not changed.
73986         (__bump_nl_timestamp): New function.
73987         (__free_in6ai): New function.
73989 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73991         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73992         close_not_cancel_no_status here.
73993         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73995 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73997         [BZ #13276]
73998         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73999         return value.
74001         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
74002         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
74003         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
74005 2011-07-03  Andreas Jaeger  <aj@suse.de>
74007         [BZ #10709]
74008         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
74009         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
74010         * math/libm-test.inc (sin_test): Add test case.
74012 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
74014         [BZ #13337]
74015         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
74016         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74018         * elf/chroot_canon.c (chroot_canon): Cleanups.
74020         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
74022         [BZ #13335]
74023         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
74024         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
74026         * string/test-strchr.c: Make usable for strchrnul testing.
74027         * string/test-strchrnul.c: New file.
74028         * string/Makefile (strop-tests): Add strchrnul.
74030         * po/it.po: Update from translation team.
74031         * po/es.po: Likewise.
74033 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
74035         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
74036         the three constants needed as parameters.  Drop the others.
74037         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
74038         __m128i_strloadu_tolower.
74039         Create and initialize variable zero and use it in all the places
74040         where _mm_setzero_si128 was used.
74042         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
74043         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
74044         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
74045         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
74046         anymore.
74047         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
74048         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
74049         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
74050         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
74051         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
74052         __mpranred, __mptan.
74053         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
74054         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
74055         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
74056         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
74057         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
74058         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
74059         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
74060         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
74061         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
74063 2011-10-28  Andreas Schwab  <schwab@redhat.com>
74065         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
74066         redefine if SHARED.
74067         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
74069         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
74070         wide char related routines to wcsmbs subdir.
74072 2011-10-27  Andreas Schwab  <schwab@redhat.com>
74074         [BZ #13344]
74075         * misc/sys/cdefs.h (__THROWNL): Define.
74076         * posix/unistd.h: Use __THREADNL instead of __THREAD
74077         for memory synchronization functions.
74079 2011-10-26  Roland McGrath  <roland@hack.frob.com>
74081         [BZ #13349]
74082         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
74083         doesn't exist.
74084         * manual/stdio.texi (Obstack Streams): Node removed.
74086 2011-10-26  Andreas Schwab  <schwab@redhat.com>
74088         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
74089         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74090         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74092         * math/math_private.h (math_force_eval): Allow non-addressable
74093         arguments.
74094         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
74096 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74098         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
74099         file is not needed.
74101         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
74102         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
74103         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74104         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74105         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74106         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74107         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74108         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
74109         Add AVX variants.
74110         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
74111         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
74112         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
74113         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
74114         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
74115         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
74116         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
74117         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
74118         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
74119         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
74120         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
74121         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
74122         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
74123         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
74124         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
74125         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
74126         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
74127         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
74128         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
74130         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
74131         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
74133         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
74134         place.  Use VEX encoding when compiling for AVX.
74136 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74138         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
74139         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
74141         * string/test-strchr.c (do_test): Don't generate NUL bytes.
74143 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74145         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
74146         useless if() expression.
74147         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74148         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
74149         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
74150         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74151         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
74152         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
74153         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74154         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74155         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
74156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74158         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74159         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
74160         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74161         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
74162         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
74163         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74164         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74165         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74167         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
74169 2011-10-25  Andreas Schwab  <schwab@redhat.com>
74171         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
74172         condition.
74173         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74175 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
74177         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
74178         .text section.  Avoid duplicate constants.
74179         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
74180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74181         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74183         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74185         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
74188         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
74189         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
74190         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
74191         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
74192         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
74193         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
74194         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
74195         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
74196         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
74197         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
74198         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74199         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
74200         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
74201         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
74202         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
74203         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
74204         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
74205         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
74206         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
74207         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
74208         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
74209         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
74210         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
74211         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
74212         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
74213         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
74214         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
74215         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
74216         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
74217         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
74218         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
74219         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
74220         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
74221         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
74222         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
74223         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
74225 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
74227         * sysdeps/x86_64/dla.h: Move to ...
74228         * sysdeps/x86_64/fpu/dla.h: ...here.
74229         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
74230         situations.  Use __builtin_fma only for gcc 4.6 and up.
74232         * config.make.in: Add have-mfma4 entry.
74233         * configure.in: Substitute libc_cv_cc_fma4.
74234         * math/Makefile (dbl-only-routines): Add sincostab.
74235         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
74236         Use __sincostab not sincos.
74237         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
74238         name is a macro.
74239         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74240         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74241         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74242         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
74243         using __copysign.
74244         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
74245         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
74246         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
74247         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
74248         and __inv.
74249         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
74250         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
74251         __copysign.
74252         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
74253         define aliases when function name is a macro.
74254         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
74255         sysdeps/ieee754/dbl-64/sincos.tbl.
74256         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
74257         fma4-enabled routines.
74258         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
74259         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
74260         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
74261         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
74262         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
74263         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
74264         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
74265         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
74266         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
74267         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
74268         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
74269         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
74270         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
74271         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
74272         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
74273         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
74274         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
74275         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
74276         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
74277         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
74278         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
74279         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
74280         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
74281         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
74282         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
74283         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
74284         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
74285         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
74286         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
74287         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
74289         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
74290         rename.
74291         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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/halfulp.c: Likewise.
74297         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74300 2011-10-24  Andreas Schwab  <schwab@redhat.com>
74302         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
74304 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74306         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
74308         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
74309         prediction.
74310         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
74312         * string/strnlen.c: Don't define STRNLEN, reverse logic.
74313         Remove unused variable magic_bits.
74314         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
74316         * string/strnlen.c: Define and use STRNLEN macro.
74317         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
74318         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
74319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
74320         * wcsmbs/wcslen.c: Define and use WCSLEN.
74321         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
74322         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
74323         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
74324         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
74325         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
74326         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
74327         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74329 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74331         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74332         strnlen-sse2-no-bsf.
74333         Rename strlen-no-bsf to strlen-sse2-no-bsf.
74334         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
74335         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
74336         Add strnlen support.
74337         (USE_AS_STRNLEN): New macro.
74338         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
74339         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
74340         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
74341         * sysdeps/x86_64/wcslen.S: New file.
74343 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
74345         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74346         XMM-moves are used for copying on small sizes.
74348 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74350         * wcsmbs/Makefile (strop-tests): Add wcschr.
74351         * wcsmbs/test-wcschr.c: New file.
74352         * string/test-strchr.c: Update.
74353         Add wcschr support.
74354         (WIDE): New macro.
74356 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74358         * wcsmbs/Makefile (strop-tests): Add wcslen.
74359         * wcsmbs/test-wcslen.c: New file.
74360         * string/test-strlen.c: Update.
74361         Add wcslen support.
74362         (WIDE): New macro.
74364 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74366         * po/it.po: Update from translation team.
74368 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74370         * sysdeps/x86_64/wcscmp.S: Update.
74371         Fix wrong comparison semantics.
74372         wcscmp shall use signed comparison not unsigned.
74373         Don't use substraction to avoid overflow bug.
74374         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
74375         * wcsmbc/wcscmp.c: Likewise.
74376         * string/test-strcmp.c: Likewise.
74377         Add new tests to check cases with negative values.
74379 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
74381         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
74382         * sysdeps/x86_64/dla.h: ...here.  New file.
74383         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
74384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74388         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74390         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74391         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74393 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
74395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
74396         __ynl_finite aliases.
74398 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74402         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
74403         define DLA_FMA.
74404         [DLA_FMA] (EMULV): Use DLA_FMA.
74405         [DLA_FMA] (MUL12): Use EMULV.
74406         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
74407         that are not needed.
74408         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
74409         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74410         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74412         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74413         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
74414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
74416 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
74418         * math/s_nan.c: Undef __nan.
74419         * math/s_nanf.c: Undef __nanf.
74420         * math/s_nanl.c: Undef __nanl.
74421         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
74422         "math_private.h".
74424 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
74426         * math/s_catan.c: Add branch predictions.
74427         * math/s_catanf.c: Likewise.
74428         * math/s_catanh.c: Likewise.
74429         * math/s_catanhf.c: Likewise.
74430         * math/s_catanhl.c: Likewise.
74431         * math/s_catanl.c: Likewise.
74432         * math/s_cexp.c: Likewise.
74433         * math/s_cexpf.c: Likewise.
74434         * math/s_cexpl.c: Likewise.
74435         * math/s_clog.c: Likewise.
74436         * math/s_clog10.c: Likewise.
74437         * math/s_clog10f.c: Likewise.
74438         * math/s_clog10l.c: Likewise.
74439         * math/s_clogf.c: Likewise.
74440         * math/s_clogl.c: Likewise.
74441         * math/s_csqrt.c: Likewise.
74442         * math/s_csqrtf.c: Likewise.
74443         * math/s_csqrtl.c: Likewise.
74444         * math/s_ctanf.c: Likewise.
74445         * math/s_ctanh.c: Likewise.
74446         * math/s_ctanhf.c: Likewise.
74447         * math/s_ctanhl.c: Likewise.
74448         * math/s_ctanl.c: Likewise.
74450         * math/math_private.h: Define __nan, __nanf, __nanl.
74451         * math/s_cacosh.c: Include <math_private.h>.
74452         * math/s_cacoshl.c: Likewise.
74453         * math/s_casinh.c: Likewise.
74454         * math/s_casinhf.c: Likewise.
74455         * math/s_casinhl.c: Likewise.
74456         * math/s_ccos.c: Rely entire on ccosh.
74457         * math/s_ccosf.c: Rely entire on ccoshf.
74458         * math/s_ccosl.c: Rely entirely on ccoshl.
74459         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
74460         Remove tests for FE_INVALID.
74461         * math/s_ccoshf.c: Likewise.
74462         * math/s_ccoshl.c: Likewise.
74463         * math/s_csin.c: Likewise.
74464         * math/s_csinf.c: Likewise.
74465         * math/s_csinh.c Likewise.
74466         * math/s_csinhf.c: Likewise.
74467         * math/s_csinhl.c: Likewise.
74468         * math/s_csinl.c: Likewise.
74469         * math/s_ctan.c: Likewise.
74470         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
74471         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
74472         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74474 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74476         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74477         compilation problems.
74479         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74480         __builtin_expect.
74482 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74484         * sysdeps/i386/configure.in: Test for -mfma4 option.
74485         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74486         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74487         COMMON_CPUID_INDEX_80000001.
74488         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74489         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74490         use it if FMA3 is not supported.
74491         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74493         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74494         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74496 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74498         [BZ #12892]
74499         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74500         it would create a cycle with a link time dependency.
74502 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74504         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74505         instruction.
74506         * string/Makefile (strop-tests): Add rawmemchr.
74507         * string/test-rawmemchr.c: New file.
74509         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74510         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74511         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74512         when compiling str{,n}casecmp and when AVX is available.  Hook up
74513         new optimized code in initializers.
74515 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74517         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74518         __feraiseexcept instead of feraiseexcept.
74520 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74522         * math/math_private.h: Define defaults for libc_fetestexcept and
74523         libc_feupdateenv.
74524         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74525         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74526         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74527         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74528         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74529         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74530         libc_fetestexcept and libc_feupdateenv.
74532         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74533         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74534         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74535         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74536         libc_feholdexcept_setround.
74538         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74539         Add s_nearbyint-c and s_nearbyintf-c.
74540         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74541         nearbyintf inlines.
74542         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74543         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74544         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74545         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74547         * math/math_private.h: Define defaults for libc_fegetround,
74548         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74549         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74550         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74551         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74552         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74553         standard functions.
74554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74555         Remove comments and hacks for old compiler versions.
74556         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74557         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74558         libc_feholdexceptl.
74560 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74562         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74563         (__feraiseexcept_renamed): Add __NTH.
74564         (feraiseexcept): Add __NTH.  Rename local variables to fix
74565         namespace violations.
74567 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74569         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74571         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74573         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74574         recently added interfaces.
74575         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74577         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74578         about macro parameter expansion.
74580         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74581         __NO_MATH_INLINES is defined.  Cleanups.
74583         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74584         and __floorf is target has SSE4.1.
74585         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74586         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74587         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74588         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74590         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74591         name.
74592         (floorf): Likewise.
74594         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74596 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74598         * misc/sys/cdefs.h: Fix last change.
74600         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74601         database lookup.
74603 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74605         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74607         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74608         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74609         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74610         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74611         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74612         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74613         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74614         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74615         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74616         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74617         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74618         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74619         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74620         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74621         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74622         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74623         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74624         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74625         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74626         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74627         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74628         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74630         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74631         ceil, ceilf, floor, floorf.
74633         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74634         Perform IRELATIVE relocations last.
74636         * elf/do-rel.h: Add another parameter nrelative, replacing the
74637         local variable with the same name.  Change name of the function
74638         to end in Rel or Rela (uppercase).
74639         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74640         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74641         elf_dynamic_do_##reloc function.
74643 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74645         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74646         is sufficient, at least on modern CPUs.
74648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74650         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74651         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74653         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74654         __expl_finite.
74655         * math/bits/math-finite.h: Add entries for exp.
74656         * math/e_expl.c: Add __*_finite alias.
74657         * sysdeps/i386/fpu/e_exp.S: Likewise.
74658         * sysdeps/i386/fpu/e_expf.S: Likewise.
74659         * sysdeps/i386/fpu/e_expl.c: Likewise.
74660         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74661         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74662         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74663         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74664         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74665         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74666         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74668         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74669         is sufficient, at least on modern CPUs.
74671         * ctype/ctype-info.c (__ctype_init): Define.
74672         * include/ctype.h (__ctype_init): Declare.
74673         (__ctype_b_loc): The variable is always initialized.
74674         (__ctype_toupper_loc): Likewise.
74675         (__ctype_tolower_loc): Likewise.
74676         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74677         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74679 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74681         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74683         * configure.in: Also look in $cxxmachine/include for C++ system
74684         headers.
74686 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74688         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74689         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74690         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74691         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74693         (USE_AS_WMEMCMP): New macro.
74694         Fixing indents.
74695         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74696         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74697         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74698         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74699         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74700         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74701         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74702         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74703         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74704         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74705         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74706         (USE_AS_WMEMCMP): New macro.
74707         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74708         * sysdeps/string/test-memcmp.c: Update.
74709         Fix simple_wmemcmp.
74710         Add new tests.
74711         * wcsmbs/wmemcmp.c: Update.
74712         (WMEMCMP): New macro.
74713         Fix overflow bug.
74715 2011-10-12  Andreas Jaeger  <aj@suse.de>
74717         [BZ #13268]
74718         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74720 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74722         * libio/iofwide.c (do_length): Avoid warning.
74724         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74726 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74728         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74730         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74731         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74732         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74733         * sysdeps/i386/i686/fpu/e_log.S: New file.
74734         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74735         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74737         * ctype/ctype.h: Add support for inlined isXXX functions when
74738         compiling C++ code.
74740 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74742         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74744         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74746 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74748         [BZ #13291]
74749         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74751 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74753         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74754         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74755         feraiseexcept.
74757         * sysdeps/x86_64/memrchr.S: Check for zero size.
74759         * string/stratcliff.c: Add memrchr tests.
74761 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74764         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74765         rawmemchr-sse2 rawmemchr-sse2-bsf.
74766         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74767         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74768         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74769         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74770         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74771         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74772         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74773         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74774         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74775         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74776         * string/memrchr.c (MEMRCHR): New macro.
74778 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74780         Add integration with gcc's -ffinite-math-only and optimize wrapper
74781         functions in libm.
74782         * Versions.def: Define GLIBC_2.15 version for libm.
74783         * math/Makefile (headers): Add bits/math-finite.h.
74784         * math/bits/math-finite.h: New file.
74785         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74786         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74787         * math/e_acoshl.c: Add __*_finite alias.
74788         * math/e_acosl.c: Likewise.
74789         * math/e_asinl.c: Likewise.
74790         * math/e_atan2l.c: Likewise.
74791         * math/e_atanhl.c: Likewise.
74792         * math/e_coshl.c: Likewise.
74793         * math/e_exp10.c: Likewise.
74794         * math/e_exp10f.c: Likewise.
74795         * math/e_exp10l.c: Likewise.
74796         * math/e_exp2l.c: Likewise.
74797         * math/e_fmodl.c: Likewise.
74798         * math/e_gammal_r.c: Likewise.
74799         * math/e_hypotl.c: Likewise.
74800         * math/e_j0l.c: Likewise.
74801         * math/e_j1l.c: Likewise.
74802         * math/e_jnl.c: Likewise.
74803         * math/e_lgammal_r.c: Likewise.
74804         * math/e_log10l.c: Likewise.
74805         * math/e_log2l.c: Likewise.
74806         * math/e_logl.c: Likewise.
74807         * math/e_powl.c: Likewise.
74808         * math/e_sinhl.c: Likewise.
74809         * math/e_sqrtl.c: Likewise.
74810         * math/e_scalb.c: Completely rewritten and optimized.
74811         * math/e_scalbf.c: Likewise.
74812         * math/e_scalbl.c: Likewise.
74813         * math/w_acos.c: Likewise.
74814         * math/w_acosf.c: Likewise.
74815         * math/w_acosl.c: Likewise.
74816         * math/w_acosh.c: Likewise.
74817         * math/w_acoshf.c: Likewise.
74818         * math/w_acoshl.c: Likewise.
74819         * math/w_asin.c: Likewise.
74820         * math/w_asinf.c: Likewise.
74821         * math/w_asinl.c: Likewise.
74822         * math/w_atan2.c: Likewise.
74823         * math/w_atan2f.c: Likewise.
74824         * math/w_atan2l.c: Likewise.
74825         * math/w_atanh.c: Likewise.
74826         * math/w_atanhf.c: Likewise.
74827         * math/w_atanhl.c: Likewise.
74828         * math/w_exp10.c: Likewise.
74829         * math/w_exp10f.c: Likewise.
74830         * math/w_exp10l.c: Likewise.
74831         * math/w_fmod.c: Likewise.
74832         * math/w_fmodf.c: Likewise.
74833         * math/w_fmodl.c: Likewise.
74834         * math/w_j0.c: Likewise.
74835         * math/w_j0f.c: Likewise.
74836         * math/w_j0l.c: Likewise.
74837         * math/w_j1.c: Likewise.
74838         * math/w_j1f.c: Likewise.
74839         * math/w_j1l.c: Likewise.
74840         * math/w_jn.c: Likewise.
74841         * math/w_jnf.c: Likewise.
74842         * math/w_log.c: Likewise.
74843         * math/w_logf.c: Likewise.
74844         * math/w_logl.c: Likewise.
74845         * math/w_log10.c: Likewise.
74846         * math/w_log10f.c: Likewise.
74847         * math/w_log10l.c: Likewise.
74848         * math/w_log2.c: Likewise.
74849         * math/w_log2f.c: Likewise.
74850         * math/w_log2l.c: Likewise.
74851         * math/w_pow.c: Likewise.
74852         * math/w_powf.c: Likewise.
74853         * math/w_powl.c: Likewise.
74854         * math/w_remainder.c: Likewise.
74855         * math/w_remainderf.c: Likewise.
74856         * math/w_remainderl.c: Likewise.
74857         * math/w_scalb.c: Likewise.
74858         * math/w_scalbf.c: Likewise.
74859         * math/w_scalbl.c: Likewise.
74860         * math/w_sqrt.c: Likewise.
74861         * math/w_sqrtf.c: Likewise.
74862         * math/w_sqrtl.c: Likewise.
74863         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74864         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74865         used.
74866         * math/math_private.h: Declare __kernel_standard_f.
74867         * math/w_cosh.c: Remove cruft and optimize a bit.
74868         * math/w_coshf.c: Likewise.
74869         * math/w_coshl.c: Likewise.
74870         * math/w_exp2.c: Likewise.
74871         * math/w_exp2f.c: Likewise.
74872         * math/w_exp2l.c: Likewise.
74873         * math/w_hypot.c: Likewise.
74874         * math/w_hypotf.c: Likewise.
74875         * math/w_hypotl.c: Likewise.
74876         * math/w_lgamma.c: Likewise.
74877         * math/w_lgamma_r.c: Likewise.
74878         * math/w_lgammaf.c: Likewise.
74879         * math/w_lgammaf_r.c: Likewise.
74880         * math/w_lgammal.c: Likewise.
74881         * math/w_lgammal_r.c: Likewise.
74882         * math/w_sinh.c: Likewise.
74883         * math/w_sinhf.c: Likewise.
74884         * math/w_sinhl.c: Likewise.
74885         * math/w_tgamma.c: Likewise.
74886         * math/w_tgammaf.c: Likewise.
74887         * math/w_tgammal.c: Likewise.
74888         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74889         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74890         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74891         Minor optimizations.  Pretty printing.  Remove cruft.
74892         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74893         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74894         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74895         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74896         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74897         * sysdeps/i386/fpu/e_asin.S: Likewise.
74898         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74899         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74900         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74901         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74902         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74903         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74904         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74905         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74906         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74907         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74908         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74909         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74910         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74911         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74912         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74913         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74914         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74915         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74916         * sysdeps/i386/fpu/e_log.S: Likewise.
74917         * sysdeps/i386/fpu/e_log10.S: Likewise.
74918         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74919         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74920         * sysdeps/i386/fpu/e_log2.S: Likewise.
74921         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74922         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74923         * sysdeps/i386/fpu/e_logf.S: Likewise.
74924         * sysdeps/i386/fpu/e_logl.S: Likewise.
74925         * sysdeps/i386/fpu/e_pow.S: Likewise.
74926         * sysdeps/i386/fpu/e_powf.S: Likewise.
74927         * sysdeps/i386/fpu/e_powl.S: Likewise.
74928         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74929         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74930         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74931         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74932         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74933         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74934         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74935         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74936         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74937         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74938         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74939         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74940         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74941         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74942         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74943         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74944         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74945         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74946         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74947         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74948         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74949         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74950         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74951         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74952         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74953         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74954         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74955         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74956         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74957         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74958         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74959         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74960         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74961         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74962         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74963         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74964         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74965         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74966         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74967         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74968         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74969         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74970         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74971         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74972         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74973         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74974         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74975         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74976         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74977         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74978         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74979         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74980         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74981         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74982         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74983         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74984         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74985         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74986         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74987         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74988         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74989         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74990         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74991         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74992         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74993         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74994         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74995         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74996         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74997         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74998         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74999         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75000         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75001         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75002         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75004         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
75006         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75007         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75008         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75009         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75010         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75011         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75012         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75013         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
75014         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75015         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75016         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75017         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75018         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75019         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
75020         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75021         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75022         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75023         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75024         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75025         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75026         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75027         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75028         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75029         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75030         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
75031         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75032         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75033         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75034         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
75035         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
75036         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
75037         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
75038         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
75039         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
75040         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
75041         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75042         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75043         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75044         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75045         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
75046         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75047         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
75048         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
75049         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
75050         (__isnanf): Likewise.
75051         (__isinf_ns): Likewise.
75052         (__isinf_nsf): Likewise.
75053         (__finite): Likewise.
75054         (__finitef): Likewise.
75055         (__ieee754_sqrt): Define as macro.
75056         (__ieee754_sqrtf): Define as macro.
75057         (__ieee754_sqrtl): Define as macro.
75058         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
75059         inlined copy.
75060         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
75061         __FINITE_MATH_ONLY__ consistent.
75062         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
75064 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
75066         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
75067         of rawmemchr.
75069         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
75071 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
75073         * po/ja.po: Update from translation team.
75075 2011-10-08  Roland McGrath  <roland@hack.frob.com>
75077         * locale/programs/locarchive.c (prepare_address_space): New function.
75078         (create_archive, enlarge_archive, open_archive): Use it.
75080         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
75081         inside [SHARED], where it is used.
75083         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
75085         * nss/getent.c (netgroup_keys): Remove unused variable.
75086         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75088 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
75090         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
75091         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
75092         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
75093         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
75094         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
75095         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
75096         * math/Makefile (libm-calls): Add s_isinf_ns.
75097         * math/divtc3.c: Use __isinf_nsl instead of isinf.
75098         * math/multc3.c: Likewise.
75099         * math/s_casin.c: Likewise.
75100         * math/s_casinf.c: Likewise.
75101         * math/s_casinl.c: Likewise.
75102         * math/s_ccos.c: Likewise.
75103         * math/s_ccosf.c: Likewise.
75104         * math/s_ccosl.c: Likewise.
75105         * math/s_ctan.c: Likewise.
75106         * math/s_ctanf.c: Likewise.
75107         * math/s_ctanh.c: Likewise.
75108         * math/s_ctanhf.c: Likewise.
75109         * math/s_ctanhl.c: Likewise.
75110         * math/s_ctanl.c: Likewise.
75111         * math/w_fmod.c: Likewise.
75112         * math/w_fmodf.c: Likewise.
75113         * math/w_fmodl.c: Likewise.
75114         * math/w_remainder.c: Likewise.
75115         * math/w_remainderf.c: Likewise.
75116         * math/w_remainderl.c: Likewise.
75117         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
75118         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
75119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
75120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
75121         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
75122         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
75123         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
75124         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
75126         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
75127         of the number.
75128         * stdio-common/printf_fphex.c: Likewise.
75129         * stdio-common/printf_size.c: Likewise.
75131         * math/e_exp10.c: Include math_private.h using <...> not "...".
75132         * math/e_exp10f.c: Likewise.
75133         * math/e_exp10l.c: Likewise.
75134         * math/e_exp2l.c: Likewise.
75135         * math/e_j0l.c: Likewise.
75136         * math/e_j1l.c: Likewise.
75137         * math/e_jnl.c: Likewise.
75138         * math/e_lgammal_r.c: Likewise.
75139         * math/e_rem_pio2l.c: Likewise.
75140         * math/e_scalb.c: Likewise.
75141         * math/e_scalbf.c: Likewise.
75142         * math/e_scalbl.c: Likewise.
75143         * math/k_cosl.c: Likewise.
75144         * math/k_sinl.c: Likewise.
75145         * math/k_tanl.c: Likewise.
75146         * math/s_cacoshf.c: Likewise.
75147         * math/s_catan.c: Likewise.
75148         * math/s_catanf.c: Likewise.
75149         * math/s_catanh.c: Likewise.
75150         * math/s_catanhf.c: Likewise.
75151         * math/s_catanhl.c: Likewise.
75152         * math/s_catanl.c: Likewise.
75153         * math/s_ccosh.c: Likewise.
75154         * math/s_ccoshf.c: Likewise.
75155         * math/s_ccoshl.c: Likewise.
75156         * math/s_cexp.c: Likewise.
75157         * math/s_cexpf.c: Likewise.
75158         * math/s_cexpl.c: Likewise.
75159         * math/s_clog.c: Likewise.
75160         * math/s_clog10.c: Likewise.
75161         * math/s_clog10f.c: Likewise.
75162         * math/s_clog10l.c: Likewise.
75163         * math/s_clogf.c: Likewise.
75164         * math/s_clogl.c: Likewise.
75165         * math/s_csin.c: Likewise.
75166         * math/s_csinf.c: Likewise.
75167         * math/s_csinh.c: Likewise.
75168         * math/s_csinhf.c: Likewise.
75169         * math/s_csinhl.c: Likewise.
75170         * math/s_csinl.c: Likewise.
75171         * math/s_csqrt.c: Likewise.
75172         * math/s_csqrtf.c: Likewise.
75173         * math/s_csqrtl.c: Likewise.
75174         * math/s_ctan.c: Likewise.
75175         * math/s_ctanf.c: Likewise.
75176         * math/s_ctanh.c: Likewise.
75177         * math/s_ctanhf.c: Likewise.
75178         * math/s_ctanhl.c: Likewise.
75179         * math/s_ctanl.c: Likewise.
75180         * math/s_ldexp.c: Likewise.
75181         * math/s_ldexpf.c: Likewise.
75182         * math/s_ldexpl.c: Likewise.
75183         * math/s_significand.c: Likewise.
75184         * math/s_significandf.c: Likewise.
75185         * math/s_significandl.c: Likewise.
75186         * math/w_acos.c: Likewise.
75187         * math/w_acosf.c: Likewise.
75188         * math/w_acosh.c: Likewise.
75189         * math/w_acoshf.c: Likewise.
75190         * math/w_acoshl.c: Likewise.
75191         * math/w_acosl.c: Likewise.
75192         * math/w_asin.c: Likewise.
75193         * math/w_asinf.c: Likewise.
75194         * math/w_asinl.c: Likewise.
75195         * math/w_atan2.c: Likewise.
75196         * math/w_atan2f.c: Likewise.
75197         * math/w_atan2l.c: Likewise.
75198         * math/w_atanh.c: Likewise.
75199         * math/w_atanhf.c: Likewise.
75200         * math/w_atanhl.c: Likewise.
75201         * math/w_cosh.c: Likewise.
75202         * math/w_coshf.c: Likewise.
75203         * math/w_coshl.c: Likewise.
75204         * math/w_dremf.c: Likewise.
75205         * math/w_exp10.c: Likewise.
75206         * math/w_exp10f.c: Likewise.
75207         * math/w_exp10l.c: Likewise.
75208         * math/w_exp2.c: Likewise.
75209         * math/w_exp2f.c: Likewise.
75210         * math/w_fmod.c: Likewise.
75211         * math/w_fmodf.c: Likewise.
75212         * math/w_fmodl.c: Likewise.
75213         * math/w_hypot.c: Likewise.
75214         * math/w_hypotf.c: Likewise.
75215         * math/w_hypotl.c: Likewise.
75216         * math/w_j0.c: Likewise.
75217         * math/w_j0f.c: Likewise.
75218         * math/w_j0l.c: Likewise.
75219         * math/w_j1.c: Likewise.
75220         * math/w_j1f.c: Likewise.
75221         * math/w_j1l.c: Likewise.
75222         * math/w_jn.c: Likewise.
75223         * math/w_jnf.c: Likewise.
75224         * math/w_jnl.c: Likewise.
75225         * math/w_lgamma.c: Likewise.
75226         * math/w_lgamma_r.c: Likewise.
75227         * math/w_lgammaf.c: Likewise.
75228         * math/w_lgammaf_r.c: Likewise.
75229         * math/w_lgammal.c: Likewise.
75230         * math/w_lgammal_r.c: Likewise.
75231         * math/w_log.c: Likewise.
75232         * math/w_log10.c: Likewise.
75233         * math/w_log10f.c: Likewise.
75234         * math/w_log10l.c: Likewise.
75235         * math/w_log2.c: Likewise.
75236         * math/w_log2f.c: Likewise.
75237         * math/w_log2l.c: Likewise.
75238         * math/w_logf.c: Likewise.
75239         * math/w_logl.c: Likewise.
75240         * math/w_pow.c: Likewise.
75241         * math/w_powf.c: Likewise.
75242         * math/w_powl.c: Likewise.
75243         * math/w_remainder.c: Likewise.
75244         * math/w_remainderf.c: Likewise.
75245         * math/w_remainderl.c: Likewise.
75246         * math/w_scalb.c: Likewise.
75247         * math/w_scalbf.c: Likewise.
75248         * math/w_scalbl.c: Likewise.
75249         * math/w_sinh.c: Likewise.
75250         * math/w_sinhf.c: Likewise.
75251         * math/w_sinhl.c: Likewise.
75252         * math/w_sqrt.c: Likewise.
75253         * math/w_sqrtf.c: Likewise.
75254         * math/w_sqrtl.c: Likewise.
75255         * math/w_tgamma.c: Likewise.
75256         * math/w_tgammaf.c: Likewise.
75257         * math/w_tgammal.c: Likewise.
75259         * po/ja.po: Update from translation team.
75261 2011-09-29  Andreas Jaeger  <aj@suse.de>
75263         [BZ #13179]
75264         * sunrpc/netname.c (netname2host): Fix logic.
75266         [BZ #6779]
75267         [BZ #6783]
75268         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
75269         correctly.
75270         * math/w_remainder.c (__remainder): Likewise.
75271         * math/w_remainderf.c (__remainderf): Likewise.
75272         * math/libm-test.inc (remainder_test): Add test cases.
75274 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75276         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
75277         sdiv_qrnnd.
75279 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75281         * string/test-memcmp.c: Avoid unncessary #defines.
75282         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75284 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75286         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
75287         Use new sse2 version for core i3 - i7 as it's faster
75288         than sse42 version.
75289         (bit_Prefer_PMINUB_for_stringop): New.
75290         * sysdeps/x86_64/rawmemchr.S: Update.
75291         Replace with faster SSE2 version.
75292         * sysdeps/x86_64/memrchr.S: New file.
75293         * sysdeps/x86_64/memchr.S: Update.
75294         Replace with faster SSE2 version.
75296 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
75298         * elf/dl-load.c (lose): Add cast to avoid warning.
75300 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
75302         * po/ca.po: Update from translation team.
75304         * inet/getnetgrent_r.c: Hook up nscd.
75305         * nscd/Makefile (routines): Add nscd_netgroup.
75306         (nscd-modules): Add netgroupcache.
75307         (CFLAGS-netgroupcache.c): Define.
75308         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
75309         (cache_search): Add const to second parameter.
75310         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
75311         INNETGR.
75312         (dbs): Add netgrdb entry.
75313         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
75314         (verify_persistent_db): Handle netgrdb.
75315         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
75316         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
75317         GETFDNETGR.
75318         (netgroup_response_header): Define.
75319         (innetgroup_response_header): Define.
75320         (datahead): Add netgroup_response_header and innetgroup_response_header
75321         elements.
75322         * nscd/nscd.conf: Add entries for netgroup cache.
75323         * nscd/nscd.h (dbtype): Add netgrdb.
75324         (_PATH_NSCD_NETGROUP_DB): Define.
75325         (netgroup_iov_disabled): Declare.
75326         (xmalloc, xcalloc, xrealloc): Move declarations here.
75327         (cache_search): Adjust prototype.
75328         Add netgroup-related prototypes.
75329         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
75330         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
75331         (__nscd_innetgr): Declare.
75332         * nscd/selinux.c (perms): Use access_vector_t as element type and
75333         add netgroup-related initializers.
75334         * nscd/netgroupcache.c: New file.
75335         * nscd/nscd_netgroup.c: New file.
75336         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
75337         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
75338         For four parameters use innetgr.
75339         * nss/nss_files/files-init.c: Add definition and callback for netgr.
75340         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
75341         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
75342         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
75344         * nscd/connections.c (register_traced_file): Don't register file
75345         for disabled databases.
75347 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
75349         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
75351         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
75352         from tree and freeing node.
75354 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
75356         * nss/nsswitch.c (__nss_database_lookup): Handle
75357         nss_parse_service_list out of memory case.
75359 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
75361         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
75362         out of memory case.
75364 2011-10-04  Andreas Schwab  <schwab@redhat.com>
75366         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
75367         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
75368         pass it down.
75369         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
75370         elf_machine_rela, elf_machine_lazy_rel.
75371         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
75372         (ELF_DYNAMIC_DO_REL): Likewise.
75373         (ELF_DYNAMIC_DO_RELA): Likewise.
75374         (ELF_DYNAMIC_RELOCATE): Likewise.
75375         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
75376         to ELF_DYNAMIC_DO_REL.
75377         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
75378         (dl_main): In trace mode always set __RTLD_NOIFUNC.
75379         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
75380         elf_machine_rela.
75381         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
75382         skip_ifunc, don't call ifunc function if non-zero.
75383         (elf_machine_rela): Likewise.
75384         (elf_machine_lazy_rel): Likewise.
75385         (elf_machine_lazy_rela): Likewise.
75386         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
75387         (elf_machine_lazy_rel): Likewise.
75388         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
75389         Likewise.
75390         (elf_machine_lazy_rel): Likewise.
75391         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75392         Likewise.
75393         (elf_machine_lazy_rel): Likewise.
75394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
75395         (elf_machine_lazy_rel): Likewise.
75396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
75397         (elf_machine_lazy_rel): Likewise.
75398         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
75399         (elf_machine_lazy_rel): Likewise.
75400         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
75401         (elf_machine_lazy_rel): Likewise.
75402         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
75403         (elf_machine_lazy_rel): Likewise.
75404         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
75405         (elf_machine_lazy_rel): Likewise.
75407 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
75409         * nss/nss_files/files-init.c (_nss_files_init): Use static
75410         initialization for all the *_traced_file variables.
75412 2011-09-28  Andreas Schwab  <schwab@redhat.com>
75414         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75416 2011-09-27  Roland McGrath  <roland@hack.frob.com>
75418         [BZ #13226]
75419         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
75421 2011-09-27  Andreas Schwab  <schwab@redhat.com>
75423         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75424         Reread the line before reparsing it.
75426 2011-09-26  Andreas Schwab  <schwab@redhat.com>
75428         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
75430 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
75431             Maxim Kuvyrkov  <maxim@codesourcery.com>
75432             Joseph Myers  <joseph@codesourcery.com>
75434         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
75435         if needed for __stack_chk_guard.
75437 2011-09-19  Roland McGrath  <roland@hack.frob.com>
75439         * sysdeps/posix/spawni.c (script_execute): Always define it.
75440         It will be optimized away if unused.
75441         (maybe_script_execute): New function.
75442         (__spawni): Call it.
75444         * Makerules: Don't include tls.make.
75445         (config-tls): Always set to thread.
75446         * tls.make.c: File removed.
75448 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
75450         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
75451         * config.make.in (CPPFLAGS-config): New substituted variable.
75453 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75455         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
75457         [BZ #13192]
75458         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
75459         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
75461 2011-09-15  Roland McGrath  <roland@hack.frob.com>
75463         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
75464         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
75465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
75466         (CALL_FAIL): Likewise.
75467         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
75468         (CALL_FAIL): Macro removed.
75469         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
75471 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
75473         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75474         for __FINITE_MATH_ONLY__ == 1.
75476 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75478         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75479         __ieee754_sqrt instead of sqrt.
75480         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75481         __ieee754_sqrtf instead of sqrtf.
75482         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75483         __floorf instead of floorf.
75484         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75485         __floorf, __truncf instead of floorf, truncf.
75487 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75489         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75491         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75492         __extern_always_inline.
75493         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75494         32-bit.
75496 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75498         * elf/rtld.c (dl_main): Also relocate in dependency order when
75499         doing symbol dependency testing.
75501 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75504         Always define `refsym'.
75506 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75508         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75509         (__FD_ELT): Renamed from __FDELT.
75510         * misc/bits/select2.h (__FD_ELT): Likewise.
75511         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75512         __FD_MASK instead of __FDELT, __FDMASK.
75513         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75514         Likewise.
75515         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75516         Likewise.
75518         * elf/Makefile (gen-ldd): Fix pattern.
75520         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75521         (init_tls): Likewise.
75523 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75527 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75529         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75530         `struct cmsghdr *' instead of `void *'.
75531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75532         Likewise.
75534 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75536         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75537         if non-absolute.
75538         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75539         ldd_rewrite_script.
75541 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75543         * configure.in: Remove --with-tls option.
75544         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75545         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75546         out in case it is missing.
75547         * sysdeps/ia64/elf/configure.in: Likewise.
75548         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75549         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75550         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75551         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75552         * sysdeps/sh/elf/configure.in: Likewise.
75553         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75554         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75555         * sysdeps/x86_64/elf/configure.in: Likewise.
75556         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75557         * sysdeps/mach/hurd/tls.h: Likewise.
75559         [BZ #13067]
75560         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75562         [BZ #13090]
75563         * configure.in: Fix use of AC_INIT.
75565         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75567 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75569         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75570         __set_errno.
75571         * malloc/hooks.c: Likewise.
75573         [BZ #11929]
75574         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75575         variables statically.
75576         (narenas): Initialize.
75577         (list_lock): Initialize.
75578         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75579         initializtion of main_arena and list_lock.  Small cleanups.
75580         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75581         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75582         Add initializers to main_arena and mp_.
75583         (malloc_state): Remove pagesize member.  Change all users to use
75584         GLRO(dl_pagesize).
75586         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75587         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75588         is always initialized.
75590         * malloc/malloc.c: Removed unused configurations and dead code.
75591         * malloc/arena.c: Likewise.
75592         * malloc/hooks.c: Likewise.
75593         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75595         * include/tls.h: Removed.  USE___THREAD must always be defined.
75596         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75597         * elf/dl-libc.c: Likewise.
75598         * elf/dl-tsd.c: Likewise.
75599         * include/errno.h: Likewise.
75600         * include/netdb.h: Likewise.
75601         * include/resolv.h: Likewise.
75602         * inet/herrno-loc.c: Likewise.
75603         * inet/herrno.c: Likewise.
75604         * malloc/arena.c: Likewise.
75605         * malloc/hooks.c: Likewise.
75606         * malloc/malloc.c: Likewise.
75607         * resolv/res-state.c: Likewise.
75608         * resolv/res_libc.c: Likewise.
75609         * sysdeps/i386/dl-machine.h: Likewise.
75610         * sysdeps/ia64/dl-machine.h: Likewise.
75611         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75612         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75613         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75614         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75615         * sysdeps/sh/dl-machine.h: Likewise.
75616         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75617         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75618         * sysdeps/unix/i386/sysdep.S: Likewise.
75619         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75620         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75621         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75622         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75623         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75624         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75625         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75628         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75629         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75630         * sysdeps/x86_64/dl-machine.h: Likewise.
75631         * tls.make.c: Likewise.
75633         * configure.in: Remove --with-__thread option.  Make tests for
75634         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75635         tls_model attribute fail if no support is available.  Remove
75636         USE_IN_LIBIO.
75637         * Makeconfig: Adjust for dropped configure option.  All features are
75638         now mandatory.
75639         * Makerules: Likewise.
75640         * Versions.def: Likewise.
75641         * argp/argp-fmtstream.c: Likewise.
75642         * argp/argp-fmtstream.h: Likewise.
75643         * argp/argp-help.c: Likewise.
75644         * assert/assert.c: Likewise.
75645         * config.h.in: Likewise.
75646         * config.make.in: Likewise.
75647         * configure: Likewise.
75648         * configure.in: Likewise.
75649         * csu/Versions: Likewise.
75650         * csu/init.c: Likewise.
75651         * elf/tst-audit2.c: Likewise.
75652         * elf/tst-tls10.c: Likewise.
75653         * elf/tst-tls10.h: Likewise.
75654         * elf/tst-tls11.c: Likewise.
75655         * elf/tst-tls12.c: Likewise.
75656         * elf/tst-tls14.c: Likewise.
75657         * elf/tst-tlsmod11.c: Likewise.
75658         * elf/tst-tlsmod12.c: Likewise.
75659         * elf/tst-tlsmod13.c: Likewise.
75660         * elf/tst-tlsmod13a.c: Likewise.
75661         * elf/tst-tlsmod14a.c: Likewise.
75662         * elf/tst-tlsmod15b.c: Likewise.
75663         * elf/tst-tlsmod16a.c: Likewise.
75664         * elf/tst-tlsmod16b.c: Likewise.
75665         * elf/tst-tlsmod7.c: Likewise.
75666         * elf/tst-tlsmod8.c: Likewise.
75667         * elf/tst-tlsmod9.c: Likewise.
75668         * gmon/gmon.c: Likewise.
75669         * grp/fgetgrent_r.c: Likewise.
75670         * grp/putgrent.c: Likewise.
75671         * hurd/fopenport.c: Likewise.
75672         * include/libc-symbols.h: Likewise.
75673         * include/tls.h: Likewise.
75674         * intl/gettextP.h: Likewise.
75675         * intl/loadinfo.h: Likewise.
75676         * locale/global-locale.c: Likewise.
75677         * locale/localeinfo.h: Likewise.
75678         * mach/devstream.c: Likewise.
75679         * malloc/arena.c: Likewise.
75680         * malloc/set-freeres.c: Likewise.
75681         * misc/err.c: Likewise.
75682         * misc/getttyent.c: Likewise.
75683         * misc/mntent_r.c: Likewise.
75684         * posix/getopt.c: Likewise.
75685         * posix/wordexp.c: Likewise.
75686         * pwd/fgetpwent_r.c: Likewise.
75687         * resolv/Versions: Likewise.
75688         * resolv/res_hconf.c: Likewise.
75689         * shadow/fgetspent_r.c: Likewise.
75690         * shadow/putspent.c: Likewise.
75691         * stdio-common/printf_fphex.c: Likewise.
75692         * stdio-common/tmpfile.c: Likewise.
75693         * stdlib/abort.c: Likewise.
75694         * stdlib/fmtmsg.c: Likewise.
75695         * sunrpc/auth_unix.c: Likewise.
75696         * sunrpc/clnt_perr.c: Likewise.
75697         * sunrpc/clnt_tcp.c: Likewise.
75698         * sunrpc/clnt_udp.c: Likewise.
75699         * sunrpc/clnt_unix.c: Likewise.
75700         * sunrpc/openchild.c: Likewise.
75701         * sunrpc/svc_simple.c: Likewise.
75702         * sunrpc/svc_tcp.c: Likewise.
75703         * sunrpc/svc_udp.c: Likewise.
75704         * sunrpc/svc_unix.c: Likewise.
75705         * sunrpc/xdr.c: Likewise.
75706         * sunrpc/xdr_array.c: Likewise.
75707         * sunrpc/xdr_rec.c: Likewise.
75708         * sunrpc/xdr_ref.c: Likewise.
75709         * sunrpc/xdr_stdio.c: Likewise.
75711 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75713         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75715 2011-07-03  Andreas Jaeger  <aj@suse.de>
75717         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75718         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75719         regenerate with gen-libm-tests.pl.
75721 2010-05-12  Petr Baudis  <pasky@suse.cz>
75723         [BZ #11589]
75724         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75725         around j0() zero points by switching to j1().
75726         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75727         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75729         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75731 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75733         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75734         instead of 0.
75735         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75736         instead of 0.
75737         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75738         Patch in part by Pavel Roskin <proski@gnu.org>.
75740         [BZ #13138]
75741         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75742         realloc.
75743         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75744         Free memory block if necessary.
75746         [BZ #12847]
75747         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75748         be NULL.  Don't lock in this case.
75750 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75752         * elf/elf.h (ELFOSABI_GNU): New macro.
75753         (ELFOSABI_LINUX): Define to that.
75755 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75757         * string/strncat.c (strncat): Undef the symbol in case it has been
75758         defined in bits/string.h.
75760 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75762         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75764         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75765         link map.
75767 2011-08-17  Andreas Jaeger  <aj@suse.de>
75769         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75771 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75772             Ian Lance Taylor  <iant@google.com>
75774         * math/libm-test.inc (lround_test): New testcase.
75775         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75777 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75779         * Makefile: Remove support for automatic cvs check-ins.
75780         * Makerules: Likewise.
75781         * config.make.in: Likewise.
75782         * configure.in: Likewise.
75783         * intl/Makefile: Likewise.
75784         * locale/Makefile: Likewise.
75785         * po/Makefile: Likewise.
75786         * posix/Makefile: Likewise.
75787         * sysdeps/gnu/Makefile: Likewise.
75788         * sysdeps/mach/hurd/Makefile: Likewise.
75789         * sysdeps/sparc/sparc32/Makefile: Likewise.
75791         [BZ #13118]
75792         * posix/Makefile (bug-regex32-ENV): Define.
75793         Patch by John Stanley <jpsinthemix@verizon.net>.
75795         * misc/Makefile (headers): Add bits/select2.h.
75796         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75797         * misc/bits/select2.h: New file.
75798         * include/bits/select2.h: New file.
75799         * debug/Makefile (routines): Add fdelt_chk.
75800         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75801         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75802         FD_ISSET.
75803         * debug/fdelt_chk.c: New file.
75805         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75806         * wcsmbs/test-wmemcmp.c: Likewise.
75807         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75808         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75810 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75812         * string/Makefile (strop-tests): Add memcmp.
75813         * string/test-wmemcmp.c: New file.
75814         * string/test-memcmp.c: Add wmemcmp support.
75816 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75818         [BZ #13153]
75819         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75820         2011-07-19 change.
75822         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75823         garbage value in a __mach_port_mod_refs call in the cases of the
75824         task-self and thread-self ports.
75826 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75828         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75830 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75832         * elf/dl-load.c (lose): Check for non-null L.
75834 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75836         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75838         * elf/dl-libc.c (dlerror_run): Pass back error code from
75839         dl_catch_error.
75841         [BZ #13123]
75842         * elf/dl-load.c (lose): Free l_origin if it is valid.
75844         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75845         names.
75846         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75847         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75848         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75849         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75850         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75851         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75853 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75855         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75856         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75857         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75858         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75859         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75860         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75861         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75862         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75863         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75864         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75866 2011-08-15  Alan Modra  <amodra@gmail.com>
75868         [BZ #13092]
75869         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75870         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75871         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75872         ppc_mcount to static-only-routines.
75873         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75874         __mcount_internal.
75875         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75876         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75878 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75880         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75881         for finite and infinity parameters.
75883 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75885         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75886         and add nop instructions for throughput optimization.
75887         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75889 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75892         aligned copy for power7 with vector-scalar instructions.
75893         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75895 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75897         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75898         AVX check.
75900 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75902         [BZ #13144]
75903         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75904         last change.
75906 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75908         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75909         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75910         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75911         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75912         clock_gettime.
75914 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75916         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75917         Forgot to demangle the pointer.
75919         * sysdeps/i386/sysdep.h: Define atom_text_section.
75920         * sysdeps/x86_64/sysdep.h: Likewise.
75921         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75922         section with atom_text_section.
75923         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75924         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75925         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75926         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75927         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75929         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75930         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75931         already be defined.  Change to take two parameters and don't assign
75932         result to variable.  Adjust all users.
75933         Define INTERNAL_GETTIME if not already defined.
75934         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75935         call.
75936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75937         HAVE_CLOCK_GETTIME_VSYSCALL.
75938         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75941         gettimeofday vsyscall, just use time.
75943 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75946         <errno.h>.
75948 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75950         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75951         syscall on x86-64.
75952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75953         syscall.
75954         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75955         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75956         syscall if possible.
75958 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75960         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75961         e_ident.  Don't pass to find_mapsXX.
75962         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75964 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75967         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75968         * sysdeps/x86_64/multiarch/strchr.S: Update.
75969         Check bit_slow_BSF bit.
75970         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75971         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75972         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75974 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75976         [BZ #13134]
75977         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75978         before glibc 2.15.
75979         (tryshell): Define.
75980         (__spawni): Change last parameter to be flag.  Test
75981         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75982         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75983         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75984         * posix/spawni.c: Likewise.
75985         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75986         * posix/spawnp.c: Likewise.  Change normal version to use
75987         SPAWN_XFLAGS_USE_PATH.
75988         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75989         SPAWN_XFLAGS_TRY_SHELL.
75991         [BZ #13150]
75992         * posix/glob.h: Remove gcc 1.x support.
75994         [BZ #13068]
75995         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75997 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76000         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
76001         strrchr-sse2-bsf
76002         * sysdeps/i386/i686/multiarch/strchr.S: New file.
76003         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
76004         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
76005         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
76006         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
76007         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
76009 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76011         * sysdeps/x86_64/wcscmp.S: New file.
76013         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
76014         wcscmp-c wcscmp-sse2
76015         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
76016         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
76017         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
76018         * wcsmbs/wcscmp.c: Allow renaming.
76020 2011-09-05  David S. Miller  <davem@davemloft.net>
76022         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
76023         stack slot, rather than the struct return pointer slot.
76024         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
76025         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
76026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
76027         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
76029 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
76031         * po/ja.po: Update from translation team.
76033         [BZ #13144]
76034         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
76035         kernel in 64-bit binaries.
76037 2011-09-01  David S. Miller  <davem@davemloft.net>
76039         * elf/elf.h (HWCAP_SPARC_*): Move to..
76040         * sysdeps/sparc/sysdep.h: this new file and add new values.
76041         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
76042         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
76043         _DL_HWCAP_COUNT to 24.
76044         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76045         entries.
76046         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
76047         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
76048         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
76049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
76050         instead of magic constants.
76051         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76053 2011-08-31  David S. Miller  <davem@davemloft.net>
76055         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
76056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
76057         Reimplement to do errno handling inline.
76058         (SYSCALL_ERROR_HANDLER): New macro.
76059         (__SYSCALL_STRING): Do not do errno handling in asm.
76060         (__CLONE_SYSCALL_STRING): Delete.
76061         (__INTERNAL_SYSCALL_STRING): Delete.
76062         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
76063         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
76064         (PSEUDO): Reimplement to do errno handling inline.
76065         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
76066         (SYSCALL_ERROR_HANDLER): New macro.
76067         (__SYSCALL_STRING): Do not do errno handling in asm.
76068         (__CLONE_SYSCALL_STRING): Delete.
76069         (__INTERNAL_SYSCALL_STRING): Delete.
76070         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
76071         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
76072         i386.
76073         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
76074         (inline_syscall*): Add 'err' argument.
76075         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
76076         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
76077         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
76078         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
76080         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
76081         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76083 2011-08-30  Andreas Schwab  <schwab@redhat.com>
76085         * elf/rtld.c (dl_main): Relocate objects in dependency order.
76087 2011-08-29  Jiri Olsa <jolsa@redhat.com>
76089         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
76090         directive.
76092 2011-08-24  David S. Miller  <davem@davemloft.net>
76094         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
76096 2011-08-24  Andreas Schwab  <schwab@redhat.com>
76098         * elf/Makefile: Add rules to build and run unload8 test.
76099         * elf/unload8.c: New file.
76100         * elf/unload8mod1.c: New file.
76101         * elf/unload8mod1x.c: New file.
76102         * elf/unload8mod2.c: New file.
76103         * elf/unload8mod3.c: New file.
76105         * elf/dl-close.c (_dl_close_worker): Reset private search list if
76106         it wasn't used.
76108 2011-08-23  David S. Miller  <davem@davemloft.net>
76110         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
76111         subtract stack bias.
76112         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
76113         %sp not %fp in calculations.
76114         (_JMPBUF_UNWINDS_ADJ): Likewise.
76116         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
76117         (aio_suspend): Call it to force an exception region around the
76118         AIO_MISC_WAIT() invocation.
76120 2011-08-23  Andreas Schwab  <schwab@redhat.com>
76122         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
76123         backslash.
76125 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
76127         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
76128         protection macro.
76129         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
76130         and <dl-machine.h>.
76131         (Elf64_FuncDesc): Remove.
76133 2011-08-22  David S. Miller  <davem@davemloft.net>
76135         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
76136         sigaltstack check, add missing cfi directives.
76137         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
76138         missing cfi directives, and sigaltstack handling.
76140 2011-08-16  Andreas Schwab  <schwab@redhat.com>
76142         [BZ #11724]
76143         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
76144         object is seen twice.
76145         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76147         * elf/Makefile (distribute): Add tst-initorder2.c.
76148         (tests): Add tst-initorder2.
76149         (modules-names): Add tst-initorder2a tst-initorder2b
76150         tst-initorder2c tst-initorder2d.  Add rules to build them.
76151         ($(objpfx)tst-initorder2.out): New rule.
76152         * elf/tst-initorder2.c: New file.
76153         * elf/tst-initorder2.exp: New file.
76155 2011-08-22  Andreas Schwab  <schwab@redhat.com>
76157         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
76159         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
76160         dependencies back to end of function.
76162         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
76163         $(elfobjdir)/ld.so.
76165 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
76167         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
76168         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
76169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
76170         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
76171         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
76172         of __vdso_gettimeofday.
76173         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
76174         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
76175         attribute_hidden.
76176         (_libc_vdso_platform_setup): Remove initialization of
76177         __vdso_gettimeofday and __vdso_time.
76179 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76181         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
76182         and fgetc_unlocked.
76183         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
76184         getc_unlocked.
76186         * elf/dl-open.c (add_to_global): Report additions to the global scope
76187         for LD_DEBUG=scopes.
76188         (dl_open_worker): Also print scope of newly loaded dependencies.
76189         (_dl_show_scope): Indicate if there is no scope.
76191         [BZ #13114]
76192         * stdio-common/Makefile (tests): Add bug24.
76193         * stdio-common/bug24.c: New file.
76195 2011-08-19  Andreas Jaeger  <aj@suse.de>
76197         [BZ #13114]
76198         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
76199         non-existant file when using close-on-exec mode.
76201 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
76203         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
76204         the very first instruction.
76206         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
76207         the CFI state in the end.
76208         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
76209         inclusion of dl-trampoline.h.
76210         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
76212 2011-08-19  Andreas Schwab  <schwab@redhat.com>
76214         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
76215         expectations for long double.
76217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
76218         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
76220 2011-08-14  David S. Miller  <davem@davemloft.net>
76222         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
76223         artificual limit depends upon the system page size.
76225 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76227         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
76228         * resolv/Makefile: Define CFLAGS-libresolv.
76230 2011-08-17  Andreas Schwab  <schwab@redhat.com>
76232         * nss/makedb.c (compute_tables): Make variables used in nested
76233         function static.
76235 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
76237         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
76238         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
76239         if buffer was too small.
76241         * elf/pldd.c (main): Attach to all threads in the process.
76242         Rewrite /proc handling to use *at functions.
76244 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
76246         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
76247         specifies first scope to show.
76248         (dl_open_worker): Update callers.  Move printing scope of new
76249         object to before the relocation.
76250         * elf/rtld.c (dl_main): Update _dl_show_scope call.
76251         * sysdeps/generic/ldsodefs.h: Update declaration.
76253         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
76254         string for the scope number.
76256 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
76258         * nscd/servicescache.c (cache_addserv): Make sure written is always
76259         initialized.
76261 2011-08-14  Roland McGrath  <roland@hack.frob.com>
76263         * sysdeps/i386/i486/bits/atomic.h
76264         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
76265         statement expression, so as to suppress "set but not used" warning.
76266         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
76268         * string/strncat.c (STRNCAT): Use prototype definition.
76270         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
76271         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
76272         -Iprograms here.
76273         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
76274         (localedef-modules): Add localedef.
76275         (locale-modules): Add locale.
76277         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
76278         * elf/rtld.c (dl_main): Invert order of assignment in last change,
76279         to avoid a warning.
76281 2011-08-14  David S. Miller  <davem@davemloft.net>
76283         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
76284         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
76286 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
76288         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
76289         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
76290         * elf/rtld.c (dl_main): Set l_name of vDSO.
76291         Call _dl_show_scope when DL_DEBUG_SCOPES.
76292         (process_dl_debug): Recognize scopes flag and also set it for all.
76293         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
76294         Declare _dl_show_scope.
76296         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
76297         (do_dlopen): Pass caller_dlopen to dl_open.
76298         (__libc_dlopen_mode): Initialize caller_dlopen.
76300         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
76301         of libc.  Make tolower call locale-independent.  Optimize a bit by
76302         using isdigit instead of isalnum.
76303         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
76305 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
76307         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
76308         was a dependency or dynamically loaded.
76310 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
76312         * intl/l10nflist.c: Allow architecture-specific pop function.
76313         * sysdeps/x86_64/l10nflist.c: New file.
76315         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
76316         classification.
76318 2011-08-10  Andreas Schwab  <schwab@redhat.com>
76320         * include/dirent.h: Add libc_hidden_proto for scandirat and
76321         scandirat64.  Don't declare __scandirat64.
76322         * dirent/scandirat.c: Add libc_hidden_def.
76323         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
76324         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
76326 2011-08-10  David S. Miller  <davem@davemloft.net>
76328         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
76329         enum.
76330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76331         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76334 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
76336         * Versions.def [libc]: Add GLIBC_2.15.
76337         * dirent/Makefile (routines): Add scandirat and scandirat64.
76338         * dirent/Versions [libc]: Export scandirat and scandirat64 for
76339         GLIBC_2.15.
76340         * dirent/dirent.h: Declare scandirat and scandirat64.
76341         * dirent/scandirat.c: New file.
76342         * dirent/scandirat64.c: New file.
76343         * sysdeps/wordsize-64/scandirat.c: New file.
76344         * sysdeps/wordsize-64/scandirat64.c: New file.
76345         * dirent/opendir.c: Define opendirat.
76346         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
76347         using scandirat.
76348         * dirent/scandir64.c: Adjust for scandir.c change.
76349         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
76350         __scandirat64, and __scandir_cancel_handler.
76351         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
76352         additional parameter and use openat instead of open (outside of ld.so).
76353         Add new __opendir as wrapper around __opendirat.
76354         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
76355         here without requiring old scandirat implementation.
76357 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
76359         * dirent/scandir.c (cancel_handler): Renamed to
76360         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
76361         defined.  Adjust users.
76362         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
76363         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
76365 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
76367         * string/test-string.h (IMPL): Use __STRING to expand name and then
76368         stringify it.
76370         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
76371         of cleanups.
76373 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76375         * string/Makefile: Update.
76376         (strop-tests): Append strncat.
76377         * string/test-wcscmp.c: New file.
76378         New comprehensive test for wcscmp.
76379         * string/test-strcmp.c: Update.
76380         (WIDE): New define.
76382 2011-07-22  Andreas Schwab  <schwab@redhat.com>
76384         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
76385         line.
76387 2011-07-26  Andreas Schwab  <schwab@redhat.com>
76389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
76390         encoding to ACE if AI_IDN.
76392 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
76394         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
76395         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
76397 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
76400         Fix overflow bug in strncat.
76401         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
76403         * string/test-strncat.c: Update.
76404         Add new tests for checking overflow bugs.
76406 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76409         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
76410         * sysdeps/i386/i686/multiarch/strcat.S: New file.
76411         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
76412         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
76413         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
76414         * sysdeps/i386/i686/multiarch/strncat.S: New file.
76415         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
76416         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
76418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
76419         (USE_AS_STRCAT): Define.
76420         Add strcat and strncat support.
76421         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
76423 2011-07-25  Andreas Schwab  <schwab@redhat.com>
76425         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
76426         __n bigger than INT_MAX+1.
76427         (__strncmp_g): Likewise.
76429 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
76431         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
76432         * libio/stido.h: Likewise.
76434         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
76435         (AF_NFC): Define.
76436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
76437         (AF_NFC): Define.
76439         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
76440         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
76441         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
76442         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
76443         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
76445         [BZ #13021]
76446         * scripts/test-installation.pl: Don't expect libnss_test1 to be
76447         installed.
76449         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
76450         typo.
76451         (_dl_x86_64_save_sse): Likewise.
76453 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
76455         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
76456         OSXSAVE.
76457         (_dl_x86_64_save_sse): Likewise.
76459         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
76461         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
76463 2011-07-21  Andreas Schwab  <schwab@redhat.com>
76465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
76466         change.
76467         (_dl_x86_64_save_sse): Use correct AVX check.
76469 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76471         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
76472         bug in strncpy/strncat.
76473         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76475 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76477         * string/tester.c (test_strcat): Add tests for different alignments
76478         of source and destination.
76479         (test_strncat): Likewise.
76481 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76483         [BZ #12852]
76484         * posix/glob.c (glob): Check passed in values before using them in
76485         expressions to avoid some overflows.
76486         (glob_in_dir): Likewise.
76488         [BZ #13007]
76489         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76490         check for AVX enablement so that we don't crash with old kernels and
76491         new hardware.
76492         * elf/tst-audit4.c: Add same checks here.
76493         * elf/tst-audit6.c: Likewise.
76495         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76497 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76499         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76501 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76503         * po/cs.po: Update from translation team.
76504         * po/bg.po: Likewise.
76506 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76508         * misc/sys/cdefs.h: Add support for const attribute.
76509         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76510         to gnu_dev_{major,minor,makedev} functions.
76512 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76514         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76516 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76518         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76519         strlen results.
76521 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76523         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76524         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76525         register in order to avoid conflicts with the soft frame pointer
76526         being held in r11 when necessary.
76527         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76528         (INTERNAL_VSYSCALL_NCS): Likewise.
76530 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76532         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76533         * elf/dl-fini.c (_dl_fini): Adjust caller.
76534         * elf/dl-close.c (_dl_close_worker): Likewise.
76535         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76537 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76539         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76540         "aux_cache->nlibs < 0".
76542         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76543         in the reload-count case.
76545 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76548         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76549         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76550         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76551         * sysdeps/x86_64/multiarch/strcat.S: New file.
76552         * sysdeps/x86_64/multiarch/strncat.S: New file.
76553         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76554         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76555         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76556         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76557         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76558         (USE_AS_STRCAT): Define.
76559         Add strcat and strncat support.
76560         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76562         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76563         * string/strncat.c: Update.
76564         (USE_AS_STRNCAT): Define.
76565         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76566         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76567         and i7.
76568         * sysdeps/x86_64/multiarch/init-arch.h
76569         (bit_Prefer_PMINUB_for_stringop): New.
76570         (index_Prefer_PMINUB_for_stringop): Likewise.
76571         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76572         bit_Prefer_PMINUB_for_stringop.
76574 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76576         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76577         buffer64.
76578         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76579         of casting of buffer.
76580         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76581         buffer32 and buffer64.
76582         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76583         writes instead of casting of buffer.
76584         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76585         buffer32.
76586         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76587         casting of buffer.
76589 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76591         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76593 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76595         * nscd/nscd.c (termination_handler): Don't do anything for a database
76596         if it has not yet been initialized.
76598 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76600         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76602 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76604         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76606 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76608         * po/nl.po: Update from translation team.
76609         * po/sv.po: Likewise.
76611 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76613         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76614         now disallowed by GCC.
76616         * configure.in (use-default-link): Default to yes if a test -shared
76617         link meets our qualifications.
76618         * configure: Regenerated.
76620         * config.make.in (output-format): New variable.
76621         * configure.in: Check for ld --print-output-format support.
76622         * configure: Regenerated.
76623         * Makerules ($(common-objpfx)format.lds)
76624         [$(output-format) != unknown]: Just use $(output-format),
76625         instead of the linker-script munging.
76627 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76629         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76630         of $(common-objpfx)shlib.lds.
76631         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76633         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76634         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76636         * configure.in (-z relro check): Adjust test code to add a large
76637         writable data section after it.
76638         * configure: Regenerated.
76640 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76642         * configure.in (-z relro check): Fix test code to make the variable
76643         truly const.
76644         * configure: Regenerated.
76646 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76648         * nscd/nscd.h (struct traced_file): Define.
76649         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76650         elements.  Add traced_files.
76651         (inotify_fd): Declare.
76652         (register_traced_file): Declare.
76653         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76654         (inotify_fd): Export.
76655         (resolv_conf_descr): Remove.
76656         (nscd_init): Move inotify descriptor creation to main.
76657         Don't register files for notification here.
76658         (register_traced_file): New function.
76659         (invalidate_cache): Don't use reset_res to determine whether to call
76660         res_init, go through the list of registered files.
76661         (main_loop_poll): The inotify descriptors are now stored in the
76662         structures for the traced files.
76663         (main_loop_epoll): Likewise.
76664         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76665         to __nss_disable_nscd.
76666         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76667         for a database anymore.  Check the records for all the registered
76668         files instead.
76669         * nss/Makefile (libnss_files-routines): Add files-init.
76670         (libnss_db-routines): Add db-init.
76671         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76672         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76673         * nss/nss_db/db-init.c: New file.
76674         * nss/nss_files/files-init.c: New file.
76675         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76676         __nss_lookup_function.
76677         (__nss_lookup_function): Call nss_load_library.
76678         (nss_load_all_libraries): New function.
76679         (__nss_disable_nscd): Take parameter with callback function for files
76680         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76681         used for the cached services.
76682         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76683         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76684         options for features to all the files in nscd.
76686         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76688 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76690         * csu/elf-init.c (__libc_csu_init): Comment typo.
76692 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76694         * po/pl.po: Update from translation team.
76695         * po/ja.po: Likewise.
76696         * po/ru.po: Likewise.
76697         * po/ko.po: Likewise.
76698         * po/fr.po: Likewise.
76700 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76702         * configure.in (.ctors/.dtors header and trailer check):
76703         Use an empirical test on a built program.
76704         * configure: Regenerated.
76706         * configure.in (-z relro check): Use an empirical test on a built DSO.
76707         Detect, but do not require, on ia64.
76708         * configure: Regenerated.
76710         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76711         Update tests that use readelf to use $READELF instead.
76712         * configure: Regenerated.
76714 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76716         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76717         if the result is not used.
76719 2011-07-05  Andreas Jaeger  <aj@suse.de>
76721         [BZ#9696]
76722         * stdlib/tst-strtod.c: Add testcase.
76724 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76726         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76727         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76728         The latter has a higher limit.  Take additional parameter to pass to
76729         the new function.
76730         (__pathconf): Pass file to __statfs_link_max.
76731         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76732         __statfs_link_max.
76733         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76734         __statfs_link_max.
76736         [BZ #12868]
76737         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76738         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76739         Handle Lustre.
76740         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76741         (__statfs_filesize_max): Likewise.
76742         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76744 2011-07-05  Andreas Jaeger  <aj@suse.de>
76746         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76748 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76750         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76751         `status' variable.
76752         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76753         Likewise.
76755 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76757         * Makefile (strop-tests): Add strncat.
76758         * string/test-strncat.c: New file.
76760 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76762         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76764 2011-06-21  Andreas Jaeger  <aj@suse.de>
76766         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76767         Copy rule from iconvdata/Makefile.
76769 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76771         [BZ #12922]
76772         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76773         but no long options are defined, just return 'W'.
76775 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76777         [BZ #9696]
76778         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76780 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76782         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76783         netgroups to read.
76784         (innetgr): Likewise.
76786 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76788         * config.make.in (install_root): Default to $(DESTDIR).
76790 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76792         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76794 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76796         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76798         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76799         containing directory rather than embedding absolute directory names.
76801         * scripts/check-local-headers.sh: Rewritten using awk.
76802         Match by word, not by line.  Print error messages for matches.
76803         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76805         * Makerules [shlib-lds-flags empty]:
76806         ($(common-objpfx)libc_pic.opts): New target.
76807         ($(common-objpfx)libc_pic.os.clean): New target.
76808         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76810         * config.make.in (OBJCOPY): New variable.
76811         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76812         * configure: Regenerated.
76814         * config.make.in (use-default-link): New variable.
76815         * configure.in (use_default_link): Grok --with-default-link to set it.
76816         * configure: Regenerated.
76817         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76818         (shlib-lds, shlib-lds-flags): Define to empty.
76820         * Makerules (shlib-lds): New variable.
76821         (shlib-lds-flags): New variable.
76822         (build-shlib, build-moduile, build-module-asneeded): Use it.
76823         ($(common-objpfx)libc.so): Use $(shlib-lds).
76824         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76825         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76827         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76828         DT_FLAGS/DT_FLAGS_1 with zero flags.
76830         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76831         linker script munging.
76833 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76835         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76836         as 128-bit value.
76837         * crypt/sha512.c (sha512_process_block): Perform total addition using
76838         128-bit if possible.
76839         (__sha512_finish_ctx): Likewise.
76840         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76841         as 64-bit value.
76842         * crypt/sha256.c (SWAP64): Define.
76843         (sha256_process_block): Perform total addition using 64-bit if
76844         possible.
76845         (__sha256_finish_ctx): Likewise.
76847 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76849         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76850         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76851         * nscd/hstcache.c (cache_addhst): Likewise.
76852         * nscd/grpcache.c (cache_addgr): Likewise.
76853         * nscd/aicache.c (addhstaiX): Likewise.
76854         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76856 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76858         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76859         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76860         * nscd/hstcache.c (cache_addhst): Likewise.
76861         * nscd/grpcache.c (cache_addgr): Likewise.
76862         * nscd/aicache.c (addhstaiX): Likewise.
76864 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76866         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76867         domain only when needed.
76869 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76872         is always restored.
76874 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76876         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76877         are re-adding the entry.
76878         * nscd/servicescache.c (cache_addserv): Likewise.
76880 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76882         * sysdeps/generic/dl-irel.h: fix protection against multiple
76883         inclusions.
76884         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76886 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76888         [BZ #12935]
76889         * malloc/memusage.sh: Fix quoting in message.
76890         * debug/xtrace.sh: Likewise.
76892         * configure.in: Remove support for --experimental-malloc option, make
76893         it the default.
76894         * config.make.in: Likewise.
76895         * malloc/Makefile: Likewise.
76897 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76899         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76900         two-byte characters.
76902 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76904         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76905         AC_CACHE_CHECK invocation.
76906         * configure: Regenerated.
76908         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76910 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76912         [BZ #12350]
76913         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76914         bit from old_res_options.
76916         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76918         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76919         value type for setfct.
76921 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76923         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76924         __gettimeofday instead of gettimeofday.
76926 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76928         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76930 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76932         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76934         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76935         info.
76937 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76940         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76941         strcpy-sse2-unaligned strncpy-sse2-unaligned
76942         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76943         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76944         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76945         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76946         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76947         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76948         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76949         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76950         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76951         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76952         (STRCPY): Support SSE2 and SSSE3 versions.
76954 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76956         [BZ #12874]
76957         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76958         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76959         kernels which artificially limit size of requests.
76961 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76963         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76964         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76965         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76966         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76967         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76968         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76969         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76970         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76971         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76972         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76973         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76974         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76975         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76976         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76977         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76979         Enable unaligned load optimization for Intel Core i3, i5 and i7
76980         processors.
76981         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76982         Define.
76983         (index_Fast_Unaligned_Load): Define.
76984         (HAS_FAST_UNALIGNED_LOAD): Define.
76986 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76988         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76990 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76992         [BZ #12907]
76993         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76994         until it is clear that the information is realy needed.
76995         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76997 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
77001 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
77003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
77004         /sys/devices/system/cpu/online if it is usable.
77006         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
77007         reading the information from the /proc filesystem to once a second.
77009 2011-06-21  Andreas Jaeger  <aj@suse.de>
77011         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
77012         NULL after inclusion of kernel headers.
77014 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
77016         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
77017         calls to internal_setent.
77019         [BZ #12885]
77020         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
77021         addresses using gethostbyname4_r ignore IPv4 addresses.
77023         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
77024         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
77026         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
77028 2011-06-20  David S. Miller  <davem@davemloft.net>
77030         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
77031         inclusions.
77032         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
77034         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
77035         (elf_irel): Use it.
77036         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
77037         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
77038         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
77039         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
77040         * sysdeps/x86_64/dl-irel.h: Likewise.
77042         * elf/dl-runtime.c: Use elf_ifunc_invoke.
77043         * elf/dl-sym.c: Likewise.
77045 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77047         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
77048         need to dereference resplen2.
77050 2011-06-14  Andreas Schwab  <schwab@redhat.com>
77052         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
77054 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
77056         * Makeconfig: Define vardbdir and inst_vardbdir.
77057         * nss/Makefile: Add rules to install db-Makefile.
77059         * nss/nss_db/db-XXX.c: Cleanup.
77061         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
77062         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
77063         GLIBC_PRIVATE.
77064         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
77065         * nss/makedb.c: Implement -g option to specify that value strings
77066         are generated and should not be added to table iterated over for
77067         get*ent calls.
77068         * nss/nss_db/db-initgroups.c: New file.
77070         * nss/getent.c: Add support for initgroups lookups through getgrouplist
77071         interface.
77073         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
77074         (internal_getgrouplist): Adjust to name change.
77075         Update use_initgroups_entry if this is not the first call.
77076         * nss/databases.def: Add initgroups entry.
77078         * nss/makedb.c (compute_tables): Check result of multiple hash table
77079         sizes to minimize maximum chain length.
77081 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
77083         * Versions.def: Add entry for libnss_db.
77084         * shlib-versions: Likewise.
77085         * nss/Makefile: Add rules to build libnss_db.
77086         * nss/Versions: Add libnss_db information.  Organize libnss_files
77087         entries better.
77088         * nss/db-Makefile: Add gshadow support.  Change rules for the new
77089         makedb progra.  Some minor improvements to generate smaller files.
77090         * nss/nss_db/nss_db.h: Move NSS database header data structures to
77091         here from...
77092         * nss/makedb.c: ...here.
77093         Improve database format to be smaller and require less memory at
77094         runtime.
77095         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
77096         db anymore.
77097         * nss/nss_db/db-netgrp.c: Likewise.
77098         * nss/nss_db/db-open.c: Likewise.
77099         * nss/nss_files/flies-XXX.x: Adjust comments.
77100         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
77101         * nss/nss_files/files-grp.c: Likewise.
77102         * nss/nss_files/files-hosts.c: Likewise.
77103         * nss/nss_files/files-network.c: Likewise.
77104         * nss/nss_files/files-proto.c: Likewise.
77105         * nss/nss_files/files-pwd.c: Likewise.
77106         * nss/nss_files/files-rpc.c: Likewise.
77107         * nss/nss_files/files-service.c: Likewise.
77108         * nss/nss_files/files-sgrp.c: Likewise.
77109         * nss/nss_files/files-spwd.c: Likewise.
77110         * nss/nss_db/db-alias.c: Removed.
77111         * nss/nss_db/dummy-db.h: Removed.
77113 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
77115         * nss/makedb.c: Rewritten to not use database library.
77116         * nss/Makefile: Update to build new makedb program.
77118 2011-06-14  Andreas Jaeger  <aj@suse.de>
77120         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
77121         memset declaration.
77123 2011-06-10  Andreas Schwab  <schwab@redhat.com>
77125         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
77126         tmpbuf.
77128 2011-06-10  Roland McGrath  <roland@hack.frob.com>
77130         * Makerules (shlib.lds): Fail if the linker script comes out empty.
77131         * elf/Makefile ($(objpfx)ld.so): Likewise.
77133         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
77134         Don't list ld.so twice in dependencies.
77136         * posix/bug-regex31.c: Include <stdlib.h>.
77138         * nscd/hstcache.c (cache_addhst): Remove unused variable.
77140         * nis/nss_compat/compat-spwd.c
77141         (getspent_next_nss_netgr): Remove unused variable.
77142         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
77144         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
77145         nonmembers" output to use the right array.
77147         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
77149         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
77151         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
77152         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
77153         * catgets/gencat.c (read_input_file): Likewise.
77154         * locale/programs/locarchive.c (enlarge_archive): Likewise.
77156         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
77157         variable definition inside #if's controlling its use.
77159         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
77161         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
77163         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
77165         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
77166         unreachable code.
77168         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
77170         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
77171         * configure: Regenerated.
77173         * Makerules: Revert last change.
77174         * elf/Makefile: Likewise.
77176 2011-06-09  Roland McGrath  <roland@hack.frob.com>
77178         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
77179         * elf/Makefile ($(objpfx)librtld.os): Likewise.
77180         (reloc-link): Likewise.
77182 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
77184         * elf/Makefile: Add rules to build pldd.
77185         * elf/pldd.c: New file.
77186         * elf/pldd-xx.c: New file.
77188 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
77190         * version.h: Update for 2.15 development version.
77192 2011-06-07  David S. Miller  <davem@davemloft.net>
77194         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
77195         ifuncs.
77196         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
77197         elf_machine_lazy_rel): Likewise.
77198         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
77199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
77200         elf_machine_lazy_rel): Likewise.
77201         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
77202         dl_hwcap via passed in argument.
77203         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
77204         Likewise.
77206 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77208         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
77210 2011-06-06  Roland McGrath  <roland@hack.frob.com>
77212         [BZ #12849]
77213         * manual/fdl-1.1.texi: New file, verbatim from:
77214         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
77215         * manual/lgpl-2.1.texi: New file, verbatim from:
77216         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
77217         * manual/Makefile (licenses): New variable, list those new file names.
77218         (texis): Use it.
77219         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
77221         * manual/fdl.texi: File removed.
77222         * manual/lesser.texi: File removed.
77223         * manual/libc.texinfo (Copying, Documentation License):
77224         Use new @include file names, put @appendix directive before @include.
77226 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
77228         [BZ #12841]
77229         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
77230         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
77231         (mq_open): Add __NTH.
77233 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
77235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77236         Assume Intel Core i3/i5/i7 processor if AVX is available.
77238 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
77241         typo.
77243 2011-05-31  Andreas Schwab  <schwab@redhat.com>
77245         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
77246         memory.  Use alloca_account.  Fix memory leak when retrying.
77248 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
77250         * version.h (RELEASE): Bump for 2.14 release.
77251         * include/features.h (__GLIBC_MINOR__): Bump to 14.
77253         * config.make.in (RANLIB): Remove entry.
77255 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
77257         * po/Makefile (po-sed-cmd): Add ksh to extensions.
77258         (libc.pot): Work around missing support for .ksh extension in xgettext.
77260         [BZ #12684]
77261         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
77262         if both request failed.
77263         (send_dg): In case of server errors clear resplen or *resplen2.
77265         [BZ #12454]
77266         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
77267         when there are multiple maps.
77268         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
77269         (_dl_fini): Remove test here.
77271         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
77273 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
77275         [BZ #12350]
77276         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
77277         bit from old_res_options.
77278         (gaih_inet): Likewise.
77280         [BZ #11099]
77281         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
77282         as signed.
77284         * resolv/res_init.c (res_setoptions): Make the code more compact.
77286         [BZ #11558]
77287         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
77288         set RES_USEVC.
77290         [BZ #11634]
77291         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
77293         * malloc/malloc.h: Mark malloc hook variables as deprecated.
77295         [BZ #11781]
77296         * malloc/malloc.h: Declare malloc hook variables as volatile.
77298         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
77299         in last patch.
77301         [BZ #11799]
77302         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
77303         raise in the comment.
77304         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77305         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77306         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
77308 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
77310         [BZ #12811]
77311         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
77312         grow the buffers more if it already has to be sufficient.
77313         (build_wcs_upper_buffer): Likewise.
77314         * posix/regexec.c (check_matching): Likewise.
77315         (clean_state_log_if_needed): Likewise.
77316         (extend_buffers): Don't enlarge buffers beyond size of the input
77317         buffer.
77318         Patches mostly by Emil Wojak <emil@wojak.eu>.
77319         * posix/bug-regex32.c: New file.
77320         * posix/Makefile (tests): Add bug-regex32.
77322         * locale/findlocale.c (_nl_find_locale): Return right away if
77323         _nl_explode_name failed.
77324         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
77326         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
77328         * debug/xtrace.sh: Unify messages.
77329         * malloc/memusage.sh: Likewise.
77331         [BZ #12813]
77332         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
77333         time symbol from vDSO.  Substitute with vsyscall if not available.
77334         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
77335         __vdso_time.
77337         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
77338         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
77339         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
77340         Add sendmmsg and internal_sendmmsg.
77341         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
77342         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
77343         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
77345         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
77346         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
77347         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
77349 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
77351         [BZ #12813]
77352         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
77353         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
77354         available.
77355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
77356         __vdso_getcpu.
77358         [BZ #12814]
77359         * iconvdata/Makefile (tests): Add bug-iconv9.
77360         * iconvdata/bug-iconv9.c: New file.
77362 2011-05-27  Andreas Schwab  <schwab@redhat.com>
77364         [BZ #12814]
77365         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
77367 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
77369         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77370         (struct user_regs_struct): Change intcs field back to cs.
77372 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
77374         * po/ja.po: Update from translation team.
77376 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
77378         [BZ #12795]
77379         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
77380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
77382 2011-05-20  Andreas Schwab  <schwab@redhat.com>
77384         * stdlib/longlong.h: Update from GCC.
77386 2011-05-23  Andreas Schwab  <schwab@redhat.com>
77388         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
77389         parameter name.
77390         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
77391         Add parameter name.
77392         (__sysconf): Pass it down.
77394 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
77396         [BZ #12671]
77397         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
77398         some situations.
77399         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
77400         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
77401         add in in __libc_use_alloca calls.  Adjust callers.
77402         (glob): Use malloc in some situations.
77404         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
77405         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
77406         pltexit.
77408 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
77410         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
77411         and CLOCK_BOOTTIME_ALARM.
77413         [BZ #12782]
77414         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
77415         is returned.
77417         * string/_strerror.c (__strerror_r): Print negative errors as signed
77418         numbers.
77420         [BZ #12777]
77421         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
77422         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
77423         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
77425         * configure.in: Fix typo in redirection and correct removal of test
77426         files in two cases.
77428         [BZ #12788]
77429         * locale/setlocale.c (new_composite_name): Fix test to check for
77430         identical name of all categories.
77432         [BZ #12792]
77433         * libio/filedoalloc.c (local_isatty): New function.
77434         (_IO_file_doallocate): Use local_isatty.
77435         * stdio-common/perror.c (perror): In case a new stream is used
77436         forward the stream error.
77437         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
77438         error flag.
77440 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
77442         [BZ #11884]
77443         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
77444         alloca.
77445         * include/alloca.h (extend_alloca_account): Define.
77447         [BZ #11857]
77448         * posix/regex.h: Fix comments with documentation of user-accessible
77449         fields after compilation and describe correct free'ing of pattern
77450         after re_compile_pattern.
77451         Patch by Reuben Thomas <rrt@sc3d.org>.
77453 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
77455         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
77456         and -mno-altivec to prevent the compiler from using Altivec and/or
77457         VSX instructions when the corresponding registers are not available.
77459 2011-05-19  Andreas Schwab  <schwab@redhat.com>
77461         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
77463 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
77465         * libio/freopen.c (freopen): Use __dup2, not dup2.
77466         * libio/freopen64.c (freopen64): Likewise.
77468 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
77470         [BZ #12775]
77471         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
77472         * math/Makefile (tests): Add test-powl.
77473         (CFLAGS-test-powl.c): Define.
77474         * math/test-powl.c: New file.
77476 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77478         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77480 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77482         [BZ #11837]
77483         * iconvdata/gb18030.c: Update to GB18020-2005.
77485 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77487         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77488         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77489         Patch by Aharon Robbins <arnold@skeeve.com>.
77491         [BZ #11892]
77492         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77493         on the stack.
77495         [BZ #11895]
77496         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77497         through underflows.
77499         [BZ #12766]
77500         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77501         point to strings before performing equality test for error_one_per_line
77502         mode.
77504         [BZ #11697]
77505         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77507         [BZ #11820]
77508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77509         (struct user_fpregs_struct): Avoid __uint*_t types.
77511         [BZ #6420]
77512         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77513         symbol info.  Use it instead of calling _dl_addr locally.
77514         (lock_and_info): New function.
77515         (tr_freehook): Call lock_and_info and pass symbol info as additional
77516         parameter to tr_where.
77517         (tr_mallochook): Likewise.
77518         (tr_reallochook): Likewise.
77519         (tr_memalignhook): Likewise.
77521         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77522         used and couldn't be at all thread-safe.
77524 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77526         * libio/freopen.c (freopen): Don't close old file descriptor
77527         before the new one is opened.  Instead dup the new file descriptor
77528         to the old one after the new stream is created.
77529         * libio/freopen64.c (freopen64): Likewise.
77530         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77531         * libio/fileops.c (_IO_new_file_close_it): Handle new
77532         _IO_FLAGS2_NOCLOSE flag.
77533         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77534         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77535         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77536         _IO_FLAGS2_NOCLOSE flag.
77537         * include/unistd.h: Add hidden_proto for dup3.
77538         Define __have_dup3.
77539         * io/dup3.c: Define hidden symbol.
77540         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77542         [BZ #7101]
77543         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77544         when an incomplete long option is used.
77545         * posix/tst-getopt_long1.c: New file.
77546         * posix/Makefile (tests): Add tst-getopt_long1.
77548         [BZ #10138]
77549         * scripts/config.guess: Update from autoconf-2.68.
77550         * scripts/config.sub: Likewise.
77552         [BZ #10157]
77553         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77554         tests into ...
77555         (has_cpuclock): ...this.  New function.
77556         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77557         macro here based on has_cpuclock code.
77559         [BZ #10149]
77560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77561         First byte (not low byte) is now always NUL.
77562         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77565         Use non-cancelable interfaces.
77567         [BZ #9809]
77568         * locale/iso-639.def: Add entry for Sorani.
77570         [BZ #11901]
77571         * include/stdlib.h: Move include protection to the right place.
77572         Define abort_msg_s.  Declare __abort_msg with it.
77573         * stdlib/abort.c (__abort_msg): Adjust type.
77574         * assert/assert.c (__assert_fail_base): New function.  Majority
77575         of code from __assert_fail.  Allocate memory for __abort_msg with
77576         mmap.
77577         (__assert_fail): Now call __assert_fail_base.
77578         * assert/assert-perr.c: Remove bulk of implementation.  Use
77579         __assert_fail_base.
77580         * include/assert.hL Declare __assert_fail_base.
77581         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77582         mmap.
77583         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77585 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77587         [BZ #11952]
77588         [BZ #12453]
77589         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77590         until all modules are registered in the DTV.
77591         * elf/Makefile: Add rules to build and run tst-tls19.
77592         * elf/tst-tls19.c: New file.
77593         * elf/tst-tls19mod1.c: New file.
77594         * elf/tst-tls19mod2.c: New file.
77595         * elf/tst-tls19mod3.c: New file.
77596         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77598         [BZ #12083]
77599         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77600         correctly.
77602         [BZ #12601]
77603         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77604         two-byte sequence errors.
77605         * iconvdata/Makefile (tests): Add bug-iconv8.
77606         * iconvdata/bug-iconv8.c: New file.
77608         [BZ #12626]
77609         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77610         buf2 definition.
77612         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77614         [BZ #12432]
77615         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77616         (dummy_getcfa): New function.
77617         (init): Get _Unwind_GetCFA address, use dummy if not found.
77618         (backtrace_helper): In recursion check, also check whether CFA changes.
77619         (__backtrace): Completely initialize arg.
77621         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77622         storing incomplete byte sequence in state object.  Avoid testing for
77623         guaranteed too small input if we know there is enough data available.
77625 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77627         * Makeconfig (+link-pie): Indent.
77628         * Rules (binaries-pie): Define if $(have-fpie) and
77629         $(build-shared).
77630         (binaries-shared): Also filter out $(binaries-pie).
77631         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77632         * nscd/Makefile (others-pie): Add nscd.
77633         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77634         ($(objpfx)nscd): Remove command override.
77635         * login/Makefile (others-pie): Add pt_chown.
77636         ($(objpfx)pt_chown): Remove command override.
77637         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77638         remove command overrides.
77640 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77642         * libio/tst_putwc.c: Fix error messages.
77644         [BZ #12724]
77645         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77646         currently writing and seek to current position when not.
77647         * libio/Makefile (tests): Add bug-fclose1.
77648         * libio/bug-fclose1.c: New file.
77650 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77652         [BZ #12511]
77653         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77654         don't set DF_1_NODELETE here.
77655         (do_lookup_x): When entering new entry test for copy relocation
77656         and if necessary set DF_1_NODELETE flag.
77657         * elf/tst-unique4.cc: New file.
77658         * elf/tst-unique4.h: New file.
77659         * elf/tst-unique4lib.cc: New file.
77660         * elf/Makefile: Add rules to build and run tst-unique4.
77661         Patch by Piotr Bury <pbury@goahead.com>.
77663 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77665         [BZ #12052]
77666         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77668         [BZ #12625]
77669         * misc/mntent_r.c (addmntent): Flush the stream after the output
77671         [BZ #12393]
77672         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77673         (is_trusted_path_normalize): Skip initial colon.  Append slash
77674         to empty buffer.  Duplicate is_trusted_path code but allow
77675         constructed patch to be prefix.
77676         (is_dst): Allow $ORIGIN followed by /.
77677         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77678         Correct testing of result of is_trusted_path_normalize
77679         (decompose_rpath): Fix warning.
77681 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77683         [BZ #11257]
77684         * grp/initgroups.c (internal_getgrouplist): When we found the service
77685         list through the initgroups entry in nsswitch.conf do not always
77686         continue on a successful lookup.  Don't always use the
77687         __nss_group_database value if it is set.
77688         * nss/nsswitch.conf (initgroups): Change action for successful db
77689         lookup to continue for compatibility.
77691 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77693         [BZ #11532]
77694         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77695         and CP774 modules.
77696         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77697         and CP774 modules.
77698         * iconvdata/tst-tables.sh: Likewise.
77699         * iconvdata/cp770.c: New file.
77700         * iconvdata/cp771.c: New file.
77701         * iconvdata/cp772.c: New file.
77702         * iconvdata/cp773.c: New file.
77703         * iconvdata/cp774.c: New file.
77704         * iconvdata/testdata/CP770: New file.
77705         * iconvdata/testdata/CP770..UTF8: New file.
77706         * iconvdata/testdata/CP771: New file.
77707         * iconvdata/testdata/CP771..UTF8: New file.
77708         * iconvdata/testdata/CP772: New file.
77709         * iconvdata/testdata/CP772..UTF8: New file.
77710         * iconvdata/testdata/CP773: New file.
77711         * iconvdata/testdata/CP773..UTF8: New file.
77712         * iconvdata/testdata/CP774: New file.
77713         * iconvdata/testdata/CP774..UTF8: New file.
77715         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77716         END CHARMAP line.
77717         * iconvdata/gen-8bit-gap.sh: Likewise.
77718         * iconvdata/gen-8bit.sh: Likewise.
77720         * locale/iso-639.def: Add ary entry.
77722         [BZ #11258]
77723         * locale/C-translit.h.in: Add U20A1 transliteration.
77725         [BZ #12178]
77726         * locale/iso-639.def: Add wae entry.
77727         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77729         [BZ #12545]
77730         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77731         for n.
77733         [BZ #12711]
77734         * locale/C-translit.h.in: Add entry for U20B9.
77735         Patch by pravin.d.s@gmail.com.
77737 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77739         [BZ #12713]
77740         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77741         ENAMETOOLONG use generic getcwd.
77742         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77743         in rtld.  Use *stat64.
77744         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77745         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77746         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77747         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77748         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77749         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77750         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77751         __fstatat64 macros.
77752         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77753         * dirent/rewinddir.c: Add libc_hidden_def.
77754         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77755         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77757         * include/dirent.h (__alloc_dir): Add flags parameter.
77758         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77759         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77760         __alloc_dir.
77761         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77762         from fdopendir if O_CLOEXEC is already set.
77764 2011-03-15  Alan Modra  <amodra@gmail.com>
77766         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77767         l_tls_firstbyte_offset non-zero.  Save padding offset in
77768         l_tls_firstbyte_offset for later use.
77769         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77770         freeing static tls block.
77772 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77774         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77775         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77776         being defined by the kernel headers.
77778 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77780         [BZ #12734]
77781         * resolv/resolv.h: Define RES_NOTLDQUERY.
77782         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77783         no-tld-query and set RES_NOTLDQUERY.
77784         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77785         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77786         modern BIND to search name as TLD unless forbidden.
77788 2011-05-07  Petr Baudis  <pasky@suse.cz>
77789             Ulrich Drepper  <drepper@gmail.com>
77791         [BZ #12393]
77792         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77793         (is_trusted_path): ...to here.
77794         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77795         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77796         using is_trusted_path_normalize() in setuid scripts.
77798 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77800         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77801         __BEGIN/__END_DECLS.
77803 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77805         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77806         NSS_STATUS_NOTFOUND if no record was found.
77808 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77810         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77811         (headers-not-in-tirpc): Remove rpc/netdb.h
77812         * resolv/netdb.h: Revert last change.
77814 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77816         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77817         circular dependency between libgcc.a and libc.a.
77819 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77821         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77822         * nis/Makefile: Don't install rpcsvc/*.
77823         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77824         instead of <rpc/types.h>.
77825         (MAXHOSTNAMELEN): Define.
77827 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77829         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77831 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77833         [BZ #12714]
77834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77835         gethostbyname4_r when IPv6 results are possible.
77837 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77839         [BZ #12723]
77840         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77841         _PC_PIPE_BUF handling.
77843 2011-04-30  Bruno Haible  <bruno@clisp.org>
77845         [BZ #12717]
77846         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77847         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77848         to 'int'.
77849         * inet/getnameinfo.c (getnameinfo): Likewise.
77851 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77853         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77854         to groups setting in database lookup.
77855         * nss/nsswitch.conf: Add initgroups entry.
77857 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77859         [BZ #12685]
77860         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77861         mode string.
77862         Patch by Eric Blake <eblake@redhat.com>.
77864 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77866         * sunrpc/Makefile (need-export-routines): Add svc_run.
77867         (routines): Remove svc_run.
77868         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77869         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77870         * sunrpc/svc_run.c (svc_run): Likewise.
77871         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77873 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77876         problem in reallocation in last patch.
77878 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77880         * sunrpc/Makefile: Move inclusion of Rules.
77882 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77884         * nss/nss_files/files-initgroups.c: New file.
77885         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77886         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77887         _nss_files_initgroups_dyn.
77889 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77891         * elf/elf.h (R_ARM_IRELATIVE): Define.
77893 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77895         * po/ru.po: Update from translation team.
77897 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77899         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77900         dependencies.
77902 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77904         [BZ #12653]
77905         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77906         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77907         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77908         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77909         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77911 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77914         differing bytes.
77915         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77919 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77921         [BZ #12420]
77922         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77923         storing it.
77924         * stdlib/bug-getcontext.c: New file.
77925         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77927 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77929         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77930         instructions into .machine "z9-109".
77931         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77932         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77934 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77936         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77937         between environment variables and auxiliary vector.
77939 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77941         * Makefile: Add rules to build linkobj/libc.so.
77942         * include/libc-symbols.h: Define libc_hidden_nolink.
77943         * include/rpc/auth.h: Mark functions which are to be hidden.
77944         * include/rpc/auth_des.h: Likewise.
77945         * include/rpc/auth_unix.h: Likewise.
77946         * include/rpc/clnt.h: Likewise.
77947         * include/rpc/des_crypt.h: Likewise.
77948         * include/rpc/key_prot.h: Likewise.
77949         * include/rpc/pmap_clnt.h: Likewise.
77950         * include/rpc/pmap_prot.h: Likewise.
77951         * include/rpc/pmap_rmt.h: Likewise.
77952         * include/rpc/rpc_msg.h: Likewise.
77953         * include/rpc/svc.h: Likewise.
77954         * include/rpc/svc_auth.h: Likewise.
77955         * include/rpc/xdr.h: Likewise.
77956         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77957         * nss/Makefile: Likewise.
77958         * sunrpc/Makefile: Don't install headers.  Build library with normal
77959         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77960         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77961         for the compat linking library.  Remove use of INTDEF/INTUSE.
77962         * sunrpc/auth_none.c: Likewise.
77963         * sunrpc/auth_unix.c: Likewise.
77964         * sunrpc/authdes_prot.c: Likewise.
77965         * sunrpc/authuxprot.c: Likewise.
77966         * sunrpc/clnt_gen.c: Likewise.
77967         * sunrpc/clnt_perr.c: Likewise.
77968         * sunrpc/clnt_raw.c: Likewise.
77969         * sunrpc/clnt_simp.c: Likewise.
77970         * sunrpc/clnt_tcp.c: Likewise.
77971         * sunrpc/clnt_udp.c: Likewise.
77972         * sunrpc/clnt_unix.c: Likewise.
77973         * sunrpc/des_crypt.c: Likewise.
77974         * sunrpc/des_soft.c: Likewise.
77975         * sunrpc/get_myaddr.c: Likewise.
77976         * sunrpc/key_call.c: Likewise.
77977         * sunrpc/key_prot.c: Likewise.
77978         * sunrpc/netname.c: Likewise.
77979         * sunrpc/pm_getmaps.c: Likewise.
77980         * sunrpc/pm_getport.c: Likewise.
77981         * sunrpc/pmap_clnt.c: Likewise.
77982         * sunrpc/pmap_prot.c: Likewise.
77983         * sunrpc/pmap_prot2.c: Likewise.
77984         * sunrpc/pmap_rmt.c: Likewise.
77985         * sunrpc/publickey.c: Likewise.
77986         * sunrpc/rpc_cmsg.c: Likewise.
77987         * sunrpc/rpc_common.c: Likewise.
77988         * sunrpc/rpc_dtable.c: Likewise.
77989         * sunrpc/rpc_prot.c: Likewise.
77990         * sunrpc/rpc_thread.c: Likewise.
77991         * sunrpc/rtime.c: Likewise.
77992         * sunrpc/svc.c: Likewise.
77993         * sunrpc/svc_auth.c: Likewise.
77994         * sunrpc/svc_authux.c: Likewise.
77995         * sunrpc/svc_raw.c: Likewise.
77996         * sunrpc/svc_run.c: Likewise.
77997         * sunrpc/svc_simple.c: Likewise.
77998         * sunrpc/svc_tcp.c: Likewise.
77999         * sunrpc/svc_udp.c: Likewise.
78000         * sunrpc/svc_unix.c: Likewise.
78001         * sunrpc/svcauth_des.c: Likewise.
78002         * sunrpc/xcrypt.c: Likewise.
78003         * sunrpc/xdr.c: Likewise.
78004         * sunrpc/xdr_array.c: Likewise.
78005         * sunrpc/xdr_float.c: Likewise.
78006         * sunrpc/xdr_intXX_t.c: Likewise.
78007         * sunrpc/xdr_mem.c: Likewise.
78008         * sunrpc/xdr_rec.c: Likewise.
78009         * sunrpc/xdr_ref.c: Likewise.
78010         * sunrpc/xdr_sizeof.c: Likewise.
78011         * sunrpc/xdr_stdio.c: Likewise.
78013 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
78015         [BZ #12650]
78016         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
78017         * sysdeps/ia64/dl-tls.h: Likewise.
78018         * sysdeps/powerpc/dl-tls.h: Likewise.
78019         * sysdeps/s390/dl-tls.h: Likewise.
78020         * sysdeps/sh/dl-tls.h: Likewise.
78021         * sysdeps/sparc/dl-tls.h: Likewise.
78022         * sysdeps/x86_64/dl-tls.h: Likewise.
78023         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
78025 2011-03-14  Andreas Schwab  <schwab@redhat.com>
78027         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
78028         rpath element also skip the following colon.
78029         (expand_dynamic_string_token): Add is_path parameter and pass
78030         down to DL_DST_REQUIRED and _dl_dst_substitute.
78031         (decompose_rpath): Call expand_dynamic_string_token with
78032         non-zero is_path.  Ignore empty rpaths.
78033         (_dl_map_object_from_fd): Call expand_dynamic_string_token
78034         with zero is_path.
78036 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
78038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
78039         Make cancelable.
78041 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
78043         [BZ #12655]
78044         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
78045         Patch by Filipe David Manana <fdmanana@apache.org>.
78047 2011-04-07  Andreas Schwab  <schwab@redhat.com>
78049         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
78050         Maintain aligned stack.
78051         (CHECK_RSP): Remove unused macro.
78053 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
78055         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
78056         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
78058 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
78060         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
78062         * include/features.h: Mention __USE_XOPEN2K8 in comment.
78064 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
78066         [BZ #12518]
78067         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
78068         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
78069         * sysdeps/x86_64/memmove.c: New file.
78070         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
78071         (memcpy): Renamed to ...
78072         (__new_memcpy): This.
78073         (memcpy): Provide GLIBC_2_14 memcpy.
78074         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
78075         (memcpy): Provide GLIBC_2_2_5 memcpy.
78077 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78079         [BZ #12631]
78080         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
78082 2011-03-30  Andreas Schwab  <schwab@redhat.com>
78084         * misc/syncfs.c: New file.
78085         * misc/Makefile (routines): Add syncfs.
78086         * posix/unistd.h: Declare syncfs.
78087         * sysdeps/unix/syscalls.list: Add syncfs.
78089 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78091         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
78092         open_by_handle_at.
78093         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78094         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78095         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78096         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78098         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
78099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78101 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78103         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
78104         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78105         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
78106         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78107         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78108         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78109         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78111         * io/Makefile: Compile fallocate.c, fallocate64.c, and
78112         sync_file_range.c with -fexceptions.
78113         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
78114         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
78115         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
78116         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
78117         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
78118         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
78119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
78120         sync_file_range as cancellation point
78121         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
78122         now a wrapper around __call_sync_file_range with cancellation handling.
78123         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
78124         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
78125         function name to __call_sync_file_range.
78126         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
78127         Add call_sync_file_range.
78129 2011-04-01  Andreas Schwab  <schwab@redhat.com>
78131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78132         bits/timex.h.
78134 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
78136         * iconv/iconv.h: Fix typo in comment.
78137         * io/fcntl.h: Likewise.
78138         * libio/stdio.h: Likewise.
78139         * posix/spawn.h: Likewise.
78140         * posix/unistd.h: Likewise.
78141         * stdlib/stdlib.h: Likewise.
78142         * time/time.h: Likewise.
78143         * wcsmbs/wchar.h: Likewise.
78145         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
78146         open_by_handle): Add.
78147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
78148         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
78149         Augment a few comments.
78150         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78151         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78152         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78154         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78155         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
78156         open_by_handle.
78158         * io/fcntl.h (AT_EMPTY_PATH): Define.
78160 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
78162         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
78163         * sysdeps/unix/sysv/linux/bits/time.h: New file.
78164         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
78165         to...
78166         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
78167         * Versions.def: Add GLIBC_2.14.
78168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
78169         Export.
78171 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
78173         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
78174         round counter.
78175         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78177 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78179         [BZ #12597]
78180         * string/test-strncmp.c (do_page_test): New function.
78181         (check2): Likewise.
78182         (test_main): Call check2.
78183         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
78185 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
78187         [BZ #12587]
78188         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
78189         Handle cache information in CPU leaf 4.
78190         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
78192 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
78194         [BZ #12583]
78195         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
78196         character representation.
78197         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
78199 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
78201         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
78202         END(__isnan) to END(__isnanf) to match function entry point/label
78203         EALIGN(__isnanf,...).
78205 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
78207         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
78209 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
78211         [BZ #12510]
78212         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
78213         copy from the symbol referenced in the relocation to initialize the
78214         used variable.
78215         Patch by Piotr Bury <pbury@goahead.com>.
78216         * elf/Makefile: Add rules to build and tst-unique3.
78217         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
78218         * elf/tst-unique3.cc: New file.
78219         * elf/tst-unique3.h: New file.
78220         * elf/tst-unique3lib.cc: New file.
78221         * elf/tst-unique3lib2.cc: New file.
78223         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
78225 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
78227         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
78228         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
78229         to _start.
78231 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
78233         * elf/dl-load.c (_dl_map_object): If we are looking for the first
78234         to-be-loaded object along a path to loader is ld.so.
78236 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78237             Ulrich Drepper  <drepper@gmail.com>
78239         * sysdeps/x86_64/memset.S: After aligning destination, code
78240         branches to different locations depending on the value of
78241         misalignment, when multiarch is enabled. Fix this.
78243 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
78245         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
78246         Set _x86_64_preferred_memory_instruction for AMD processsors.
78247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78248         Set bit_Prefer_SSE_for_memop for AMD processors.
78250 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
78252         * libio/fmemopen.c (fmemopen): Optimize a bit.
78254 2011-03-03  Andreas Schwab  <schwab@redhat.com>
78256         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
78258 2011-03-03  Roland McGrath  <roland@redhat.com>
78260         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
78262 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
78264         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
78265         __bzero_ultra1 instead of __memset_ultra1.
78267 2011-02-23  Andreas Schwab  <schwab@redhat.com>
78268             Ulrich Drepper  <drepper@gmail.com>
78270         [BZ #12509]
78271         * include/link.h (struct link_map): Add l_orig_initfini.
78272         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
78273         returning unsuccessfully.
78274         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
78275         close of a file loaded at startup, restore the original l_initfini
78276         list.
78277         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
78278         list, store the pointer.
78279         * elf/Makefile ($(objpfx)noload-mem): New rule.
78280         (noload-ENV): Define.
78281         (tests): Add $(objpfx)noload-mem.
78282         * elf/noload.c: Include <memcheck.h>.
78283         (main): Call mtrace.  Close all opened handles.
78285 2011-02-17  Andreas Schwab  <schwab@redhat.com>
78287         [BZ #12454]
78288         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
78289         dependencies are missing.
78291 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78293         Fix __if_freereq crash: Unlike the generic version which uses free,
78294         Hurd needs munmap.
78295         * sysdeps/mach/hurd/ifreq.h: New file.
78297 2011-01-27  Petr Baudis  <pasky@suse.cz>
78298             Ulrich Drepper  <drepper@gmail.com>
78300         [BZ 12445]#
78301         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
78302         to extend_alloca().
78303         * stdio-common/bug23.c: New file.
78304         * stdio-common/Makefile (tests): Add bug23.
78306 2010-09-28  Andreas Schwab  <schwab@redhat.com>
78307             Ulrich Drepper  <drepper@gmail.com>
78309         [BZ #12489]
78310         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
78311         before performing relro protection.  At old place add assertion
78312         to make sure nothing changed.
78314 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
78315             Glauber de Oliveira Costa  <glommer@gmail.com>
78317         * elf/elf.h: Add new ARM TLS relocs.
78319 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
78321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78322         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
78323         cast from r3.
78324         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
78325         'tests' variable.
78326         * sysdeps/wordsize-64/tst-writev.c: New file.
78328 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
78330         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
78331         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
78332         insns in _dl_start to prevent a TOC reference before relocs are
78333         resolved.
78335 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
78337         [BZ #12469]
78338         * Makeconfig: Remove RANLIB definition.
78339         * Makerules: Don't use RANLIB.
78340         * aclocal.m4: Remove ranlib test.
78341         * configure.in: No need to check for ranlib.
78342         * elf/rtld-Rules: Don't use RANLIB.
78344 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78346         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
78347         protection macro.
78348         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
78349         inclusion protection macro.
78351         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
78352         SIGRTMIN and SIGRTMAX and print information in that case only when
78353         SIGRTMIN is defined.
78355 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
78357         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
78358         arginfo fn returning -1.
78360         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
78361         and thousands string is zero terminated.
78363 2011-02-03  Andreas Schwab  <schwab@redhat.com>
78365         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
78366         sysdeps/unix/sysv/linux/bits/socket.h.
78368 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78370         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
78371         (__CPU_COUNT): Remove old macros.
78372         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
78373         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
78374         (__CPU_ALLOC, __CPU_FREE): Add macros.
78375         (__sched_cpualloc, __sched_cpufree): Add declarations.
78377 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
78379         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
78380         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
78381         * nscd/aicache.c (addhstaiX): Return timeout of added value.
78382         (readdhstai): Return value of addhstaiX call.
78383         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
78384         (addgrbyX): Return value returned by cache_addgr.
78385         (readdgrbyname): Return value returned by addgrbyX.
78386         (readdgrbygid): Likewise.
78387         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
78388         (addpwbyX): Return value returned by cache_addpw.
78389         (readdpwbyname): Return value returned by addhstbyX.
78390         (readdpwbyuid): Likewise.
78391         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
78392         (addservbyX): Return value returned by cache_addserv.
78393         (readdservbyname): Return value returned by addservbyX:
78394         (readdservbyport): Likewise.
78395         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
78396         (addhstbyX): Return value returned by cache_addhst.
78397         (readdhstbyname): Return value returned by addhstbyX.
78398         (readdhstbyaddr): Likewise.
78399         (readdhstbynamev6): Likewise.
78400         (readdhstbyaddrv6): Likewise.
78401         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
78402         (readdinitgroups): Return value returned by addinitgroupsX.
78403         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
78404         (prune_cache): Keep track of timeout value of re-added entries.
78405         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
78406         * nscd/nscd.h: Adjust prototypes of readd* functions.
78408 2011-02-04  Roland McGrath  <roland@redhat.com>
78410         * nis/nis_server.c (nis_servstate): Use the right name for 0.
78411         (nis_stats): Likewise.
78412         * nis/nis_modify.c (nis_modify): Likewise.
78413         * nis/nis_remove.c (nis_remove): Likewise.
78414         * nis/nis_add.c (nis_add): Likewise.
78416         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
78418         * posix/fnmatch_loop.c: Add some consts.
78420         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
78422 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
78424         [BZ #12460]
78425         * config.make.in (config-cflags-novzeroupper): Define.
78426         * configure.in: Substitute libc_cv_cc_novzeroupper.
78427         * elf/Makefile (AVX-CFLAGS): Define.
78428         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
78429         (CFLAGS-tst-auditmod4a.c): Likewise.
78430         (CFLAGS-tst-auditmod4b.c): Likewise.
78431         (CFLAGS-tst-auditmod6b.c): Likewise.
78432         (CFLAGS-tst-auditmod6c.c): Likewise.
78433         (CFLAGS-tst-auditmod7b.c): Likewise.
78434         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
78436 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
78438         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
78439         function to the callback.
78440         Patch partly by Jiri Olsa <jolsa@redhat.com>.
78442 2011-02-02  Andreas Schwab  <schwab@redhat.com>
78444         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
78445         of errno.
78447 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
78449         [BZ #11724]
78450         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
78451         of constructors.
78452         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
78453         of destructors.
78454         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
78456         [BZ #11724]
78457         * elf/Makefile: Add rules to build and run new test.
78458         * elf/tst-initorder.c: New file.
78459         * elf/tst-initorder.exp: New file.
78460         * elf/tst-initordera1.c: New file.
78461         * elf/tst-initordera2.c: New file.
78462         * elf/tst-initordera3.c: New file.
78463         * elf/tst-initordera4.c: New file.
78464         * elf/tst-initorderb1.c: New file.
78465         * elf/tst-initorderb2.c: New file.
78466         * elf/tst-order-a1.c: New file.
78467         * elf/tst-order-a2.c: New file.
78468         * elf/tst-order-a3.c: New file.
78469         * elf/tst-order-a4.c: New file.
78470         * elf/tst-order-b1.c: New file.
78471         * elf/tst-order-b2.c: New file.
78472         * elf/tst-order-main.c: New file.
78473         New test case by George Gensure <werkt0@gmail.com>.
78475 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78478         decoding ACE if AI_CANONIDN.
78480 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78482         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78484 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78486         * version.h (RELEASE): Bump for 2.13 release.
78487         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78489         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78491         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78492         MADV_NOHUGEPAGE.
78493         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78494         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78495         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78496         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78497         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78498         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78500         * posix/getconf.c: Update copyright year.
78501         * catgets/gencat.c: Likewise.
78502         * csu/version.c: Likewise.
78503         * debug/catchsegv.sh: Likewise.
78504         * debug/xtrace.sh: Likewise.
78505         * elf/ldconfig.c: Likewise.
78506         * elf/ldd.bash.in: Likewise.
78507         * elf/sprof.c (print_version): Likewise.
78508         * iconv/iconv_prog.c: Likewise.
78509         * iconv/iconvconfig.c: Likewise.
78510         * locale/programs/locale.c: Likewise.
78511         * locale/programs/localedef.c: Likewise.
78512         * malloc/memusage.sh: Likewise.
78513         * malloc/mtrace.pl: Likewise.
78514         * nscd/nscd.c (print_version): Likewise.
78515         * nss/getent.c: Likewise.
78517         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78518         PF_CAIF, and PF_ALG.
78519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78521 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78523         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78524         (modules-names): Use them.
78525         (ifunc-test-modules, ifunc-pie-tests): Define.
78526         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78527         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78528         (test-extras): Likewise.
78529         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78530         $(compile-command.c).
78531         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78532         (all-built-dso): Define.
78533         (check-textrel.out, check-execstack.out): Depend on it.
78535         * configure.in: Don't override --enable-multi-arch.
78537 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78539         [BZ #6812]
78540         * nscd/hstcache.c (tryagain): Define.
78541         (cache_addhst): Return tryagain not notfound for temporary errors.
78542         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78543         failed.
78545 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78547         [BZ #10563]
78548         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78549         to make the syscall.
78550         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78552         [BZ #12378]
78553         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78554         and fall back to matching as normal character if the string ends before
78555         the matching ']' is found.  This is what POSIX requires.
78556         * posix/testfnm.c: Adjust test result.
78557         * posix/globtest.sh: Adjust test result.  Add new test.
78558         * posix/tst-fnmatch.input: Likewise.
78559         * posix/tst-fnmatch2.c: Add new test.
78561 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78563         * elf/Makefile (check-execstack): Revert last change.  Depend on
78564         check-execstack.h.
78565         (check-execstack.h): New target.
78566         (generated): Add check-execstack.h.
78567         * elf/check-execstack.c: Include "check-execstack.h".
78568         (main): Revert last change.
78569         (handle_file): Return zero if GNU_STACK is absent and
78570         DEFAULT_STACK_PERMS doesn't include PF_X.
78572 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78574         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78575         in child fails because the descriptor is already closed.
78576         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78577         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78578         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78580         [BZ #12397]
78581         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78582         syscall.
78584         [BZ #10484]
78585         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78586         temporary buffer used to handle multi lookups locally.
78587         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78589 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78591         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78592         loader is ld.so.
78594 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78596         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78597         alignment for SSE2.
78599 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78601         [BZ #12394]
78602         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78603         characters.  When rounding increased number of integer digits recompute
78604         number of groups.
78605         * stdio-common/tst-grouping.c: New file.
78606         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78608 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78610         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78611         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78613         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78614         void.
78615         * bits/select.h: Likewise.
78617 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78619         * po/ja.po: Update from translation team.
78621 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78623         [BZ #11155]
78624         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78625         implementation just like for lxstat, fxstatat, et al.
78627 2010-12-27  Jim Meyering  <meyering@redhat.com>
78629         [BZ #12348]
78630         * posix/regexec.c (build_trtable): Return failure indication upon
78631         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78633 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78635         [BZ #12201]
78636         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78637         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78638         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78639         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78641         [BZ #12207]
78642         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78644         [BZ #12204]
78645         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78646         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78648 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78650         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78651         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78652         script has SORT_BY_INIT_PRIORITY.
78653         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78654         NO_CTORS_DTORS_SECTIONS is defined.
78655         * elf/soinit.c: Likewise.
78656         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78657         NO_CTORS_DTORS_SECTIONS is defined.
78658         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78659         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78660         * sysdeps/sh/init-first.c: Likewise.
78661         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78663 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78665         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78666         always use the slow path.
78668 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78670         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78671         similar rule which adds the sysdep directories to the header search in
78672         order to pick up the correct platform stackinfo.h.
78673         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78674         perform test if it is, otherwise return successfully without testing.
78675         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78676         DEFAULT_STACK_PERMS define in stackinfo.h.
78677         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78678         defined in stackinfo.h.
78679         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78680         DEFAULT_STACK_PERMS defined in stackinfo.h.
78681         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78682         * sysdeps/ia64/stackinfo.h: Likewise.
78683         * sysdeps/s390/stackinfo.h: Likewise.
78684         * sysdeps/sh/stackinfo.h: Likewise.
78685         * sysdeps/sparc/stackinfo.h: Likewise.
78686         * sysdeps/x86_64/stackinfo.h: Likewise.
78687         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78688         PF_X for powerpc64.  Retain PF_X for powerpc32.
78690 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78692         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78693         accurately.
78694         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78695         GETDENTS_64BIT_ALIGNED.
78697 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78699         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78701 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78703         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78704         _GNU_SOURCE.
78706         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78707         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78708         Remove __restrict.
78709         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78710         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78712 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78714         [BZ #11655]
78715         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78716         are initialized.
78718 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78720         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78722 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78724         * po/it.po: Update from translation team.
78726 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78729         unused codes.
78731 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78733         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78735 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78737         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78738         specially.
78739         (gaih_getanswer_slice): Likewise.
78741 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78745 2010-05-31  Petr Baudis  <pasky@suse.cz>
78747         [BZ #11149]
78748         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78749         silently even in the chroot mode.
78751 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78753         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78754         last patch a bit.  Pretty printing
78756 2010-05-31  Petr Baudis <pasky@suse.cz>
78758         [BZ #10085]
78759         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78760         initialization of skip_initgroups_dyn.
78762 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78764         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78765         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78767 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78769         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78771 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78773         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78774         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78775         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78776         ($(objpfx)tst-fnmatch-mem): New rule.
78777         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78778         * posix/tst-fnmatch.c (main): Call mtrace.
78780 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78782         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78783         Support Intel processor model 6 and model 0x2c.
78785 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78787         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78788           signed comparison.
78790 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78792         [BZ #12205]
78793         * string/test-strncasecmp.c (check_result): New function.
78794         (do_one_test): Use it.
78795         (check1): New function.
78796         (test_main): Use it.
78797         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78798         Support strcasecmp and strncasecmp.
78800 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78802         [BZ #12194]
78803         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78804         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78806 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78808         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78809         IFUNC support.
78810         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78811         memset-x86-64.
78812         * sysdeps/x86_64/multiarch/bzero.S: New file.
78813         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78814         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78815         * sysdeps/x86_64/multiarch/memset.S: New file.
78816         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78817         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78818         Set bit_Prefer_SSE_for_memop for Intel processors.
78819         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78820         Define.
78821         (index_Prefer_SSE_for_memop): Define.
78822         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78824 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78826         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78827         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78829 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78831         [BZ #12191]
78832         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78833         (__x86_64_raw_data_cache_size_half): Likewise.
78834         (__x86_64_raw_shared_cache_size): Likewise.
78835         (__x86_64_raw_shared_cache_size_half): Likewise.
78837         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78838         (__x86_64_raw_data_cache_size_half): Likewise.
78839         (__x86_64_raw_shared_cache_size): Likewise.
78840         (__x86_64_raw_shared_cache_size_half): Likewise.
78841         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78842         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78843         and __x86_64_raw_shared_cache_size_half.  Round
78844         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78845         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78846         to multiple of 256 bytes.
78848 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78850         [BZ #12167]
78851         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78852         of inacessible symlinks.  Verify result of symlink before returning it.
78853         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78854         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78856 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78858         * math/math.h (isinf): Fix typo in comment.
78860 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78862         * po/da.po: Update from translation team.
78864 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78866         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78867         is added to the list.
78869 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78870             Ulrich Drepper  <drepper@gmail.com>
78872         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78873         the global list here.  Move code to...
78874         (_dl_add_to_namespace_list): ...here.  New function.
78875         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78876         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78877         * elf/dl-load.c (lose): Don't remove the element from the list.
78878         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78879         (_dl_map_object): Likewise.
78881 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78883         [BZ #12159]
78884         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78885         into all bytes of SSE register.
78886         Patch by Richard Li <richardpku@gmail.com>.
78888 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78890         [BZ #12140]
78891         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78892         perturbing.
78894 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78896         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78897         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78898         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78899         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78901         submachine.
78902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78904 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78906         * include/dlfcn.h (__RTLD_SECURE): Define.
78907         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78908         mode & __RTLD_SECURE instead.
78909         (open_path): Rename preloaded parameter to secure.
78910         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78911         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78912         * elf/dl-deps.c (openaux): Likewise.
78913         * elf/rtld.c (struct map_args): Remove is_preloaded.
78914         (map_doit): Don't use it.
78915         (dl_main): Likewise.
78916         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78917         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78919 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78921         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78922         (sysd-rules-targets): Remove duplicates.
78923         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78924         rtld-%.$o dependency.
78926 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78928         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78929         _dl_map_object do it.
78931 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78933         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78934         fast fma builtins, define the macros in the C99 standard.
78935         (FP_FAST_FMAF): Likewise.
78936         (FP_FAST_FMAL): Likewise.
78937         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78939         * bits/mathdef.h: Update copyright year.
78940         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78942 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78944         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78945         builtins, define the macros in the C99 standard.
78946         (FP_FAST_FMAF): Likewise.
78947         (FP_FAST_FMAL): Likewise.
78948         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78949         multiply/add.
78950         (FP_FAST_FMAF): Likewise.
78952 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78954         [BZ #3268]
78955         * math/libm-test.inc (fma_test): Some new testcases.
78956         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78957         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78958         y and infinite z.  Do multiplication by C already in long double.
78959         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78960         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78961         y and infinite z.  Do bitwise or of inexact bit into u.d.
78962         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78963         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78964         * sysdeps/i386/fpu/s_fma.S: Removed.
78965         * sysdeps/i386/fpu/s_fmal.S: Removed.
78967 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78969         [BZ #3268]
78970         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78971         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78972         computation is not scheduled after fetestexcept.  Fix value
78973         of minimum denormal long double.
78975 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78977         [BZ #3268]
78978         * math/libm-test.inc (fma_test): Add some more tests.
78979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78980         correctly.
78982 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78984         * scripts/data/localplt-s390-linux-gnu.data: New file.
78985         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78987 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78989         [BZ #3268]
78990         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78991         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78992         instead of dbl-64.
78993         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78994         inlines.
78995         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78996         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78997         if one of x and y is very large and the other is subnormal.
78998         * sysdeps/s390/fpu/s_fmaf.c: New file.
78999         * sysdeps/s390/fpu/s_fma.c: New file.
79000         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
79001         * sysdeps/powerpc/fpu/s_fma.S: New file.
79002         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
79003         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
79004         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
79006 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
79008         [BZ #3268]
79009         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
79010         fma tests.
79011         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
79012         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
79013         * sysdeps/i386/i686/multiarch/s_fma.c: Include
79014         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
79015         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
79016         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
79017         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
79019 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
79021         [BZ #12078]
79022         * posix/regcomp.c (parse_branch): One more memory leak plugged.
79023         * posix/bug-regex31.input: Add test case.
79025 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79027         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
79028         * posix/bug-regex31.input: New file.
79030         [BZ #12078]
79031         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
79032         (parse_sub_exp): Fix last change, use postorder.
79034         * posix/bug-regex31.c: New file.
79035         * posix/Makefile: Add rules to build and run bug-regex31.
79037         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
79039         [BZ #12078]
79040         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
79042         [BZ #12108]
79043         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
79044         to have entries in sys_siglist.
79046         [BZ #12093]
79047         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
79048         be NULL.
79050 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
79052         [BZ #3268]
79053         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
79054         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
79055         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
79056         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
79057         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79058         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
79059         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
79060         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
79061         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
79062         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
79063         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
79064         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
79065         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
79066         * math/ftestexcept.c (fetestexcept): Likewise.
79067         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
79068         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
79069         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
79070         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
79071         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
79072         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
79073         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79075 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
79077         [BZ #12107]
79078         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
79079         newline.
79081 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
79083         * string/bug-strstr1.c: New file.
79084         * string/Makefile: Add rules to build and run bug-strstr1.
79086 2010-10-05  Eric Blake  <eblake@redhat.com>
79088         [BZ #12092]
79089         * string/str-two-way.h (two_way_long_needle): Always clear memory
79090         when skipping input due to the shift table.
79092 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
79094         [BZ #12005]
79095         * malloc/mcheck.c: Handle large requests.
79097         [BZ #12077]
79098         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
79099         for strncmp and strncasecmp.
79100         * string/stratcliff.c: Add tests for strcmp and strncmp.
79101         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
79103 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79105         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
79106         __set_fpscr.
79108 2010-09-30  Andreas Jaeger  <aj@suse.de>
79110         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
79111         (CGROUP_SUPER_MAGIC): Define.
79112         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79113         Handle btrfs and cgroup file systems.
79114         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
79115         Likewise.
79117 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
79119         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
79120         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
79122 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79124         [BZ #12067]
79125         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
79126         trying to locate the ELF header.
79128 2010-09-27  Andreas Schwab  <schwab@redhat.com>
79130         [BZ #11611]
79131         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
79132         Mask out sign-bit copies when constructing f_fsid.
79134 2010-09-24  Petr Baudis <pasky@suse.cz>
79136         * debug/stack_chk_fail_local.c: Add missing licence exception.
79137         * debug/warning-nop.c: Likewise.
79139 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
79141         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
79142         implementing getdents64 using getdents syscall, set d_type if
79143         __ASSUME_GETDENTS32_D_TYPE.
79145 2010-09-16  Andreas Schwab  <schwab@redhat.com>
79147         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
79148         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
79150 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
79152         [BZ #12037]
79153         * posix/unistd.h: Undo change of feature selection for ftruncate from
79154         2010-01-11.
79156 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
79158         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
79159         detection.
79161 2010-09-20  Andreas Schwab  <schwab@redhat.com>
79163         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
79164         fanotify_mark.
79165         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79167 2010-09-14  Andreas Schwab  <schwab@redhat.com>
79169         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
79170         variables after CHECK_SP call.
79171         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
79173 2010-09-13  Andreas Schwab  <schwab@redhat.com>
79174             Ulrich Drepper  <drepper@redhat.com>
79176         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
79177         re-relocationg ld.so.
79178         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
79179         _dl_init_paths call.
79180         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
79181         here anymore.
79183 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
79185         * resolv/res_init.c (__res_vinit): Count the default server we added.
79187 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
79188             Ulrich Drepper  <drepper@redhat.com>
79190         [BZ #11968]
79191         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
79192         (____longjmp_chk): Use %ebx for saving value across system call.
79193         Add unwind info.
79195 2010-09-06  Andreas Schwab  <schwab@redhat.com>
79197         * manual/Makefile: Don't mix pattern rules with normal rules.
79199 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
79201         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
79202         operation.
79203         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
79204         * libio/iofopncook.c (_IO_cookie_init): Likewise.
79205         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
79206         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
79207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
79208         Likewise.
79210 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
79212         [BZ #11979]
79213         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
79214         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
79216 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
79218         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
79219         * sysdeps/x86_64/addmul_1.S: Likewise.
79220         * sysdeps/x86_64/lshift.S: Likewise.
79221         * sysdeps/x86_64/mul_1.S: Likewise.
79222         * sysdeps/x86_64/rshift.S: Likewise.
79223         * sysdeps/x86_64/sub_n.S: Likewise.
79224         * sysdeps/x86_64/submul_1.S: Likewise.
79226 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79228         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
79229         Define __sched_param instead of SCHED_* and sched_param when
79230         <bits/sched.h> is included with __need_schedparam defined.
79231         * bits/sched.h [__need_schedparam]
79232         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
79233         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
79234         (__defined_schedparam): Define to 1.
79235         (__sched_param): New structure, identical to sched_param.
79236         (__need_schedparam): Undefine.
79238 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
79240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
79241         (epoll_create1): Declare.
79243         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
79245 2010-08-31  Andreas Schwab  <schwab@redhat.com>
79247         [BZ #7066]
79248         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
79249         shifting retval into place.
79251 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
79253         * nis/rpcsvc/nis.h: Update copyright notice.
79254         * nis/rpcsvc/nis.x: Likewise.
79255         * nis/rpcsvc/nis_callback.h: Likewise.
79256         * nis/rpcsvc/nis_callback.x: Likewise.
79257         * nis/rpcsvc/nis_object.x: Likewise.
79258         * nis/rpcsvc/nis_tags.h: Likewise.
79259         * nis/rpcsvc/yp.h: Likewise.
79260         * nis/rpcsvc/yp.x: Likewise.
79261         * nis/rpcsvc/ypupd.h: Likewise.
79262         * nis/yp_xdr.c: Likewise.
79263         * nis/ypupdate_xdr.c: Likewise.
79265         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
79266         mainly the body of pmap_getport.  Add parameters to specify timeouts.
79267         (pmap_getport): Use __libc_rpc_getport.
79268         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
79269         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
79270         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
79272 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
79274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
79275         fanotify_mark.
79277 2010-08-27  Roland McGrath  <roland@redhat.com>
79279         * sysdeps/i386/i686/multiarch/Makefile
79280         (CFLAGS-varshift.c): New variable.
79282 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
79284         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
79285         * sysdeps/i386/i686/multiarch/varshift.c: New file.
79287         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
79289         * sysdeps/x86_64/strlen.S: Minimal code improvement.
79291 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
79293         * sysdeps/x86_64/strlen.S: Unroll the loop.
79294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79295         strlen-sse2 strlen-sse2-bsf.
79296         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
79297         __strlen_no_bsf if bit_Slow_BSF is set.
79298         (__strlen_sse42): Removed.
79299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
79300         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
79302 2010-08-25  Roland McGrath  <roland@redhat.com>
79304         * sysdeps/x86_64/multiarch/varshift.S: File removed.
79305         * sysdeps/x86_64/multiarch/varshift.c: New file.
79306         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
79307         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
79308         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
79309         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
79311 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
79313         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79314         strlen-sse2 strlen-sse2-bsf.
79315         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
79316         __strlen_sse2_bsf if bit_Slow_BSF is unset.
79317         (__strlen_sse2): Removed.
79318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
79319         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
79320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
79321         bit_Slow_BSF for Atom.
79322         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
79323         (index_Slow_BSF): Define.
79324         (HAS_SLOW_BSF): Define.
79326 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
79328         [BZ #10851]
79329         * resolv/res_init.c (__res_vinit): When no server address at all
79330         is given default to loopback.
79332 2010-08-24  Roland McGrath  <roland@redhat.com>
79334         * configure.in: Remove config-name.h generation.
79335         * configure: Regenerated.
79336         * config-name.in: File removed.
79337         * scripts/config-uname.sh: New file.
79338         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
79339         ($(objdir)config-name.h): New target.
79341         * sunrpc/rpc_parse.h: Avoid nested comment.
79343 2010-08-24  Richard Henderson  <rth@redhat.com>
79344             Ulrich Drepper  <drepper@redhat.com>
79345             H.J. Lu  <hongjiu.lu@intel.com>
79347         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
79348         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
79349         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
79350         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
79351         _mm_alignr_epi8 with _mm_loadu_si128.
79352         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
79353         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
79354         (__m128i_shift_right): Removed.
79355         * sysdeps/i386/i686/multiarch/varshift.h: New file.
79356         * sysdeps/i386/i686/multiarch/varshift.S: New file.
79357         * sysdeps/x86_64/multiarch/varshift.h: New file.
79358         * sysdeps/x86_64/multiarch/varshift.S: New file.
79360 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
79362         * configure.in: Move assembler checks to before sysdep dir checking.
79364 2010-08-20  Petr Baudis  <pasky@suse.cz>
79366         * LICENSES: Sync the sunrpc license.
79368 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
79370         * sunrpc/auth_des.c: Update copyright notice once again.
79371         * sunrpc/auth_none.c: Likewise.
79372         * sunrpc/auth_unix.c: Likewise.
79373         * sunrpc/authdes_prot.c: Likewise.
79374         * sunrpc/authuxprot.c: Likewise.
79375         * sunrpc/bindrsvprt.c: Likewise.
79376         * sunrpc/clnt_gen.c: Likewise.
79377         * sunrpc/clnt_perr.c: Likewise.
79378         * sunrpc/clnt_raw.c: Likewise.
79379         * sunrpc/clnt_simp.c: Likewise.
79380         * sunrpc/clnt_tcp.c: Likewise.
79381         * sunrpc/clnt_udp.c: Likewise.
79382         * sunrpc/clnt_unix.c: Likewise.
79383         * sunrpc/des_crypt.c: Likewise.
79384         * sunrpc/des_soft.c: Likewise.
79385         * sunrpc/get_myaddr.c: Likewise.
79386         * sunrpc/getrpcport.c: Likewise.
79387         * sunrpc/key_call.c: Likewise.
79388         * sunrpc/key_prot.c: Likewise.
79389         * sunrpc/openchild.c: Likewise.
79390         * sunrpc/pm_getmaps.c: Likewise.
79391         * sunrpc/pm_getport.c: Likewise.
79392         * sunrpc/pmap_clnt.c: Likewise.
79393         * sunrpc/pmap_prot.c: Likewise.
79394         * sunrpc/pmap_prot2.c: Likewise.
79395         * sunrpc/pmap_rmt.c: Likewise.
79396         * sunrpc/rpc/auth.h: Likewise.
79397         * sunrpc/rpc/auth_unix.h: Likewise.
79398         * sunrpc/rpc/clnt.h: Likewise.
79399         * sunrpc/rpc/des_crypt.h: Likewise.
79400         * sunrpc/rpc/key_prot.h: Likewise.
79401         * sunrpc/rpc/netdb.h: Likewise.
79402         * sunrpc/rpc/pmap_clnt.h: Likewise.
79403         * sunrpc/rpc/pmap_prot.h: Likewise.
79404         * sunrpc/rpc/pmap_rmt.h: Likewise.
79405         * sunrpc/rpc/rpc.h: Likewise.
79406         * sunrpc/rpc/rpc_des.h: Likewise.
79407         * sunrpc/rpc/rpc_msg.h: Likewise.
79408         * sunrpc/rpc/svc.h: Likewise.
79409         * sunrpc/rpc/svc_auth.h: Likewise.
79410         * sunrpc/rpc/types.h: Likewise.
79411         * sunrpc/rpc/xdr.h: Likewise.
79412         * sunrpc/rpc_clntout.c: Likewise.
79413         * sunrpc/rpc_cmsg.c: Likewise.
79414         * sunrpc/rpc_common.c: Likewise.
79415         * sunrpc/rpc_cout.c: Likewise.
79416         * sunrpc/rpc_dtable.c: Likewise.
79417         * sunrpc/rpc_hout.c: Likewise.
79418         * sunrpc/rpc_main.c: Likewise.
79419         * sunrpc/rpc_parse.c: Likewise.
79420         * sunrpc/rpc_parse.h: Likewise.
79421         * sunrpc/rpc_prot.c: Likewise.
79422         * sunrpc/rpc_sample.c: Likewise.
79423         * sunrpc/rpc_scan.c: Likewise.
79424         * sunrpc/rpc_scan.h: Likewise.
79425         * sunrpc/rpc_svcout.c: Likewise.
79426         * sunrpc/rpc_tblout.c: Likewise.
79427         * sunrpc/rpc_util.c: Likewise.
79428         * sunrpc/rpc_util.h: Likewise.
79429         * sunrpc/rpcinfo.c: Likewise.
79430         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
79431         * sunrpc/rpcsvc/key_prot.x: Likewise.
79432         * sunrpc/rpcsvc/klm_prot.x: Likewise.
79433         * sunrpc/rpcsvc/mount.x: Likewise.
79434         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
79435         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
79436         * sunrpc/rpcsvc/rex.x: Likewise.
79437         * sunrpc/rpcsvc/rstat.x: Likewise.
79438         * sunrpc/rpcsvc/rusers.x: Likewise.
79439         * sunrpc/rpcsvc/sm_inter.x: Likewise.
79440         * sunrpc/rpcsvc/spray.x: Likewise.
79441         * sunrpc/rpcsvc/yppasswd.x: Likewise.
79442         * sunrpc/rtime.c: Likewise.
79443         * sunrpc/svc.c: Likewise.
79444         * sunrpc/svc_auth.c: Likewise.
79445         * sunrpc/svc_authux.c: Likewise.
79446         * sunrpc/svc_raw.c: Likewise.
79447         * sunrpc/svc_run.c: Likewise.
79448         * sunrpc/svc_simple.c: Likewise.
79449         * sunrpc/svc_tcp.c: Likewise.
79450         * sunrpc/svc_udp.c: Likewise.
79451         * sunrpc/svc_unix.c: Likewise.
79452         * sunrpc/svcauth_des.c: Likewise.
79453         * sunrpc/xcrypt.c: Likewise.
79454         * sunrpc/xdr.c: Likewise.
79455         * sunrpc/xdr_array.c: Likewise.
79456         * sunrpc/xdr_float.c: Likewise.
79457         * sunrpc/xdr_mem.c: Likewise.
79458         * sunrpc/xdr_rec.c: Likewise.
79459         * sunrpc/xdr_ref.c: Likewise.
79460         * sunrpc/xdr_sizeof.c: Likewise.
79461         * sunrpc/xdr_stdio.c: Likewise.
79463         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
79464         handling.
79466 2010-08-19  Andreas Schwab  <schwab@redhat.com>
79468         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
79470 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
79472         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
79473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79474         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79475         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79476         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79477         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79478         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79479         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79481         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79482         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79483         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79484         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79485         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79487 2010-07-26  Anton Blanchard  <anton@samba.org>
79489         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79490         * malloc/arena.c (heap_trim): Likewise.
79492 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79494         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79495         here.  Not...
79496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79497         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79499 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79501         * sysdeps/i386/elf/Makefile: New file.
79503 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79505         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79506         from fanotify_init.
79507         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79510 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79512         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79513         of strncasecmp_l.
79514         * sysdeps/multiarch/strcmp.S: Likewise.
79516 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79518         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79519         strncase_l-nonascii.
79520         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79521         Add strncase_l-ssse3.
79522         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79523         * sysdeps/x86_64/strcmp.S: Likewise.
79524         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79525         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79526         * sysdeps/x86_64/strncase.S: New file.
79527         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79528         * sysdeps/x86_64/strncase_l.S: New file.
79529         * string/Makefile (strop-tests): Add strncasecmp.
79530         * string/test-strncasecmp.c: New file.
79532         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79533         warning.
79535         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79536         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79538 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79540         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79542 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79544         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79545         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79546         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79548 2010-05-01  Alan Modra  <amodra@gmail.com>
79550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79551         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79552         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79553         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79554         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79555         tidying.  Don't tail-call __sigjmp_save for static lib.
79556         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79557         save location.
79558         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79559         (CALL_MCOUNT): Add eh info, and nop after bl.
79560         (TAIL_CALL_SYSCALL_ERROR): New macro.
79561         (PSEUDO_RET): Use it.
79562         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79563         Correct save location of integer regs and cr.
79564         (_dl_profile_resolve): Correct cr save location.  Delete nops
79565         after bl when SHARED.  Reduce cfi size a little by better
79566         placement of cfi directives.
79567         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79568         make a stack frame.  Instead use parm save area as a temp.
79569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79570         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79572         Don't make a stack frame for parent, use parm save area.
79573         Increase child stack frame to 112 bytes.  Don't save unused reg,
79574         and adjust reg usage.  Set up cfi on error recovery and
79575         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79577         (__makecontext): Add dummy nop after jump to exit.
79578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79579         Use correct parm save area and cr save, reduce stack frame.
79580         Correct cfi for possible PSEUDO_RET frame setup.
79581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79582         Branch to local label emitted by PSEUDO_RET rather than
79583         __syscall_error.
79585 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79587         [BZ #11904]
79588         * locale/programs/locale.c (print_assignment): New function.
79589         (show_locale_vars): Use it.
79591 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79593         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79594         field.
79595         (struct statfs64): Likewise.
79596         (_STATFS_F_FLAGS): Define.
79597         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79598         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79599         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79600         (ST_VALID): Define locally.
79601         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79602         __statvfs_getflags, use the provided value.
79603         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79604         __ASSUME_STATFS_F_FLAGS.
79606         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79608         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79609         Add sys/fanotify.h.
79610         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79611         fanotify_mask for GLIBC_2.13.
79612         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79613         fanotify_init and fanotify_mark.
79614         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79615         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79617         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79618         Add prlimit.
79619         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79620         prlimit64 for GLIBC_2.13.
79621         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79622         prlimit64.
79623         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79624         syscall.
79625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79626         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79627         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79628         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79630         add prlimit alias.
79631         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79633         [BZ #11903]
79634         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79635         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79637         * nss/Makefile: Add rules to build and run tst-nss-test1.
79638         * shlib-versions: Add entry for libnss_test1.
79639         * nss/nss_test1.c: New file.
79640         * nss/tst-nss-test1.c: New file.
79642         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79643         (__nss_configure_lookup): Set appropriate entry in
79644         __nss_configure_lookup to true.
79645         * nss/nsswitch.h: Define enum with indeces of databases in
79646         databases and __nss_database_custom arrays.  Declare
79647         __nss_database_custom.
79648         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79649         to avoid using nscd when custom rules are installed.
79650         * nss/getXXbyYY_r.c: Likewise.
79651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79653         * nss/nss_files/files-parse.c: Whitespace fixes.
79655 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79657         [BZ #11883]
79658         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79659         * posix/fnmatch_loop.c: Likewise.
79661 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79663         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79664         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79665         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79666         * Versions.def [GLIBC_2.13]: Add.
79668 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79670         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79671         Also fail if tpwd after pwuid call is NULL.
79673 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79675         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79676         when converting to ms.
79678 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79680         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79681         EOPNOTSUPP errors with ENOTTY.
79682         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79683         EOPNOTSUPP errors with ENOTTY.
79685 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79687         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79688         Add strcasecmp_l-ssse3.
79689         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79690         strcasecmp.
79691         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79692         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79693         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79695 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79697         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79699         * string/Makefile (strop-tests): Add strcasecmp.
79700         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79701         strcasecmp_l-nonascii.
79702         (gen-as-const-headers): Add locale-defines.sym.
79703         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79704         * sysdeps/x86_64/strcasecmp.S: New file.
79705         * sysdeps/x86_64/strcasecmp_l.S: New file.
79706         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79707         * sysdeps/x86_64/locale-defines.sym: New file.
79708         * string/test-strcasecmp.c: New file.
79710         * string/test-strcasestr.c: Test both ends of the range of characters.
79711         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79713 2010-07-29  Roland McGrath  <roland@redhat.com>
79715         [BZ #11856]
79716         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79718 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79720         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79721         for ld.so.
79723 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79725         * manual/memory.texi (Malloc Tunable Parameters): Document
79726         M_PERTURB.
79728 2010-07-26  Roland McGrath  <roland@redhat.com>
79730         [BZ #11840]
79731         * configure.in (-fgnu89-inline check): Set and substitute
79732         gnu89_inline, not libc_cv_gnu89_inline.
79733         * configure: Regenerated.
79734         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79736 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79738         * string/test-strnlen.c: New file.
79739         * string/Makefile (strop-tests): Add strnlen.
79740         * string/tester.c (test_strnlen): Add a few more test cases.
79741         * string/tst-strlen.c: Better error reporting.
79743         * sysdeps/x86_64/strnlen.S: New file.
79745 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79747         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79748         lower-latency instructions.
79750 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79752         * string/test-strcasestr.c: New file.
79753         * string/test-strstr.c: New file.
79754         * string/Makefile (strop-tests): Add strstr and strcasestr.
79755         * string/str-two-way.h: Don't undefine MAX.
79756         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79758 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79760         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79761         strcasestr-nonascii.
79762         (CFLAGS-strcasestr-nonascii.c): Define.
79763         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79764         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79765         Remove unused attribute.
79767 2010-07-20  Roland McGrath  <roland@redhat.com>
79769         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79770         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79771         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79772         like LD_HWCAP_MASK can disable hwcaps.
79774 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79776         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79778 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79780         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79781         call in strcasestr.
79782         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79783         __strcasestr_sse42_nonascii.
79784         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79785         strcasestr-nonascii.c.
79786         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79788 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79790         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79791         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79792         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79793         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79795 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79797         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79798         fcntl.
79800 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79802         [BZ #11577]
79803         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79804         dl_signal_cerror.
79806 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79808         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79809         _PC_PIPE_BUF using F_GETPIPE_SZ.
79811 2010-07-05  Roland McGrath  <roland@redhat.com>
79813         * manual/arith.texi (Rounding Functions): Fix rint description
79814         implicit in round description.
79816 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79818         * elf/Makefile: Fix linking for a few tests to make recent linker
79819         happy.
79821 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79823         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79824         $(common-objpfx)libc_nonshared.a.
79826 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79828         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79829         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79830         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79831         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79832         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79833         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79834         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79835         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79850         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79851         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79852         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79853         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79854         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79855         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79856         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79857         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79858         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79859         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79860         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79861         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79877 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79879         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79880         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79881         * string/memmove.c (memmove): Renamed to ...
79882         (MEMMOVE): ...this.  Default to memmove.
79883         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79884         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79885         (END_CHK): Define.
79886         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79887         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79888         mempcpy-ssse3-back memmove-ssse3-back.
79889         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79890         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79891         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79892         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79893         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79894         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79895         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79896         * sysdeps/x86_64/multiarch/memmove.c: New file.
79897         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79898         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79899         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79900         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79901         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79902         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79903         Define.
79904         (index_Fast_Copy_Backward): Define.
79905         (HAS_ARCH_FEATURE): Define.
79906         (HAS_FAST_REP_STRING): Define.
79907         (HAS_FAST_COPY_BACKWARD): Define.
79909 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79911         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79912         Restore proper fallback handling.
79914 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79916         [BZ #11701]
79917         * posix/group_member.c (__group_member): Correct checking loop.
79919         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79920         OOM in getpwuid_r correctly.  Return error number when the caller
79921         should return, otherwise -1.
79922         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79923         call returning > 0 value.
79924         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79926 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79928         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79929         libc_nonshared.a from targets in modules-names.
79931 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79933         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79934         requires it.
79936 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79938         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79939         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79940         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79943 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79945         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79947 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79949         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79950         and F_GETPIPE_SZ.
79951         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79952         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79953         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79955         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79956         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79958 2010-06-14  Roland McGrath  <roland@redhat.com>
79960         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79962 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79964         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79965         __REDIRECT followed by __THROW.
79966         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79967         * posix/getopt.h (getopt): Likewise.
79969 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79971         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79972         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79973         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79974         in AT_FLAGS.
79975         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79976         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79978 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79980         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79982 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79984         [BZ #11640]
79985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79986         Properly check family and model.
79988 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79990         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79992 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79994         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79996 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79998         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79999         symbol reference.
80001 2010-05-19  Andreas Schwab  <schwab@redhat.com>
80003         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
80004         symbol reference.
80006 2010-05-21  Andreas Schwab  <schwab@redhat.com>
80008         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
80009         and internal_recvmmsg.
80010         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
80011         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
80012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
80013         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
80015         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
80016         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
80017         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
80019 2010-05-20  Andreas Schwab  <schwab@redhat.com>
80021         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
80023 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
80025         POWER7 optimizations.
80026         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
80027         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
80029 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
80031         * version.h: Update for 2.13 development version.
80033 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
80035         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
80036         exceptions.  Return 0.
80038 2010-05-07  Roland McGrath  <roland@redhat.com>
80040         * elf/ldconfig.c (main): Add a const.
80042 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
80044         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
80045         (args_options): Add no-idn option.
80046         (ahosts_keys_int): Add idn_flags to ai_flags.
80047         (parse_option): Handle 'i' option to clear idn_flags.
80049         * malloc/malloc.c (_int_free): Possible race in the most recently
80050         added check.  Only act on the data if no current modification
80051         happened.
80053 See ChangeLog.17 for earlier changes.